Sign in to follow this  
denisl

xpenology vmware vm lost IP

Recommended Posts

Hi

I'm running xpenology with nanoboot under ESXi 5.5.

For some reason my VM lost its IP address which caused all the other VM's using xpenology as a NFS mount hung.

I had to reboot all my VM's to get the NFS mounts working again.

 

Has anyone run into this before where the IP was lost on the xpenology vm?

 

Thanks

Share this post


Link to post
Share on other sites

Hi,

 

It happened to me this night. Same config, xpenology running on ESXi v5.5. Version of DSM 5.0-4493 Update 2.

I found this entry in /var/log/messages :

Feb 24 03:26:50 Syno_ESXi dhcpcd[11023]: terminating on signal 11

 

Regards

Share this post


Link to post
Share on other sites

so i have XPEnoboot 5.1-5022 update 2

its installed directly on the hardware.. so its not in a vmware..

 

I just lost my ip and i couldn't get into DSM..

 

the system was powered on but i didn't have anyway to check it..

 

I didn't know what to do so i did a power supply hard power off and power on to reset the system..

 

its my first system and and well its been on just 33hrs ..

Share this post


Link to post
Share on other sites

I've had this happen before. I wrote a little script to restart the network interface via DSM shell. I don't recall the exact script offhand, but you can basically check the network status, and if it fails, run the following:

 

/etc/rc.network restart

 

if passes, do nothing.

 

You can setup a DSM task to run every X minutes, hours, ect.

Share this post


Link to post
Share on other sites

I make a script file; ex; check_link.sh

chmod 755 check_link.sh

 

an then schedule a task to run every few hours in DSM.

 

#!/bin/sh

STATUS=$(ping -q -c 4 192.168.1.1 | grep -o '4 packets transmitted, 4 packets received' )

if test "$STATUS" = "4 packets transmitted, 4 packets received"
then
echo "$STATUS"
else
/etc/rc.network restart
fi

Replace the IP address with your routers IP. You could just try running the code from DSM task, and bypass making the script file, but I haven't tested it that way.

 

I forget what the message says when you lose the network connection and try to ping your router, but it would probably be better to do the 'if else' on that message.

Share this post


Link to post
Share on other sites

similar issue but with real H/W. Left new 5022.3 DSM up for 24hrs to test exactly this scenario. Sure enough DSM assist could not see system in the morning. The system still has a monitor and keyboard attached as part of testing process. I tapped a couple of keys and DSM assist found the IP. Will try test again after setting config to manual IP.

 

**Update** Set DHCP to manual. Left DSM 5033-3 on for 24hrs, When I tried to connect via DSM Assist server was not seen. issued ping to IP and re scanned with DSM. Server was found and logged on ok. I have set a task to run when I boot PC to ping the DSM 5022-3.

Share this post


Link to post
Share on other sites
Sign in to follow this