Xenserver – xe-toolstack restart – i lost connection from xencenter

citrixvirtualizationxenxenserver

After Xencenter-toolstack restart i lost connection from xencenter

I try to restart using ssh – putty following message is showing and i lost the browser access also …………

All xe command is not working and postponed on ssh ….

@xs01p04 log]# xe-toolstack-restart
Stopping xapi: [ OK ]
Stopping the v6 licensing daemon: [ OK ]
Stopping the memory ballooning daemon: [ OK ]
Stopping perfmon: [FAILED]
Stopping the xenopsd daemon: [ OK ]
Stopping the XCP RRDD daemon: [ OK ]
Stopping the XCP networking daemon: [ OK ]
Stopping the fork/exec daemon: [ OK ]
Starting the fork/exec daemon: [ OK ]
Starting the XCP networking daemon: . [ OK ]
Starting the XCP RRDD daemon: [ OK ]
Starting the xenopsd daemon: [ OK ]
Starting perfmon: [ OK ]
Starting the memory ballooning daemon: [ OK ]
Starting the v6 licensing daemon: [ OK ]
Starting xapi: OK [ OK ]

Thank Advance …

Update #1

@yagmoth555

1) i try to migrate one vm to another storage location that time some unexpected error occurred and yello state is appear Then i create new vm from snapshot

Dead vm still there

After one week 2) yesterday i try to reboot a vm and its again yellow state ( its not previous one)

Then i try to restart xentoolstack from xencenter after few minute i lost xencenter connection I cannot connect through xencenter

But https:ip is appearing

Then i login through ssh and restart toollstack through command line After that i lost http acess also

Nom XE command is hanged up but Vm are still working

Update #2 @yagmoth555 Thanks advance

tail -n 15 /var/log/messages

Oct 16 20:08:30 xs01p04 ovsdb-server: 01993|reconnect|INFO|ssl:10.101.2.52:6632: waiting 8 seconds before reconnect

Oct 16 20:08:33 xs01p04 fe: 26045 (/usr/bin/ovs-appctl bond/show bond2) exitted with code 2

Oct 16 20:08:33 xs01p04 xcp-networkd: [error|xs01p04|1|monitor_thread|network_utils] Call '/usr/bin/ovs-appctl bond/show bond2' exited with code 2 [stdout = ''; stderr = 'no such bond ovs-appctl: ovs-vswitchd: server returned reply code 501 ']

Oct 16 20:08:38 xs01p04 ovsdb-server: 01994|reconnect|INFO|ssl:10.101.2.52:6632: connecting…

Oct 16 20:08:38 xs01p04 ovsdb-server: 01995|reconnect|WARN|ssl:10.101.2.52:6632: connection attempt failed (No route to host)

Oct 16 20:08:38 xs01p04 ovsdb-server: 01996|reconnect|INFO|ssl:10.101.2.52:6632: waiting 8 seconds before reconnect

Oct 16 20:08:38 xs01p04 fe: 26054 (/usr/bin/ovs-appctl bond/show bond2) exitted with code 2
Oct 16 20:08:38 xs01p04 xcp-networkd: [error|xs01p04|1|monitor_thread|network_utils] Call '/usr/bin/ovs-appctl bond/show bond2' exited with code 2 [stdout = ''; stderr = 'no such bond ovs-appctl: ovs-vswitchd: server returned reply code 501 ']

Oct 16 20:08:43 xs01p04 fe: 26063 (/usr/bin/ovs-appctl bond/show bond2) exitted with code 2

Oct 16 20:08:43 xs01p04 xcp-networkd: [error|xs01p04|1|monitor_thread|network_utils] Call '/usr/bin/ovs-appctl bond/show bond2' exited with code 2 [stdout = ''; stderr = 'no such bond ovs-appctl: ovs-vswitchd: server returned reply code 501 ']

Oct 16 20:08:46 xs01p04 ovsdb-server: 01997|reconnect|INFO|ssl:10.101.2.52:6632: connecting…

Oct 16 20:08:46 xs01p04 ovsdb-server: 01998|reconnect|WARN|ssl:10.101.2.52:6632: connection attempt failed (No route to host)

Oct 16 20:08:46 xs01p04 ovsdb-server: 01999|reconnect|INFO|ssl:10.101.2.52:6632: waiting 8 seconds before reconnect

Oct 16 20:08:48 xs01p04 fe: 26081 (/usr/bin/ovs-appctl bond/show bond2) exitted with code 2

Oct 16 20:08:48 xs01p04 xcp-networkd: [error|xs01p04|1|monitor_thread|network_utils] Call '/usr/bin/ovs-appctl bond/show bond2' exited with code 2 [stdout = ''; stderr = 'no such bond ovs-appctl: ovs-vswitchd: server returned reply code 501 ']

Update #3 @yagmoth555 Thanks advance
xe-toolstack-restart
Stopping xapi: [ OK ]

Stopping the v6 licensing daemon: [ OK ]

Stopping the memory ballooning daemon: [ OK ]

Stopping perfmon: [FAILED]

Stopping the xenopsd daemon: [ OK ]

Stopping the XCP RRDD daemon: [ OK ]

Stopping the XCP networking daemon: [ OK ]

Stopping the fork/exec daemon: [ OK ]

Starting the fork/exec daemon: [ OK ]

Starting the XCP networking daemon: . [ OK ]

Starting the XCP RRDD daemon: [ OK ]

Starting the xenopsd daemon: [ OK ]

Starting perfmon: [ OK ]

Starting the memory ballooning daemon: [ OK ]

Starting the v6 licensing daemon: [ OK ]

Starting xapi: OK [ OK ]

service xapissl restart

which: no stunnel4 in (/sbin:/usr/sbin:/bin:/usr/bin)
Stopping xapi SSL:
Starting xapi SSL:

Best Answer

xe toolstack-restart will always cut your xencenter connection. (but the vm continue to run correctly on the host)

Please log in normal console (iDRAC, iLO, etc..), as that mean your XAPI can't restart and your server state is unknown.

I would check with dmesg or in /var/log for xensource.log for any errors.