Community
 
 
 

CloudPlatform 4.x

284 followers
 
Avatar
Administrator

SSVM says "Stopping" "Disconnected" HELP!

Avatar

SSVM says "Stopping" "Disconnected" HELP!

Hi,

 

We had to shutdown our VMs and hosts, but the process failed on several VM's that were stuck. After a reboot the hosts are up and VMs are started up but the Secondary Storage VM is stuck saying "Stopping".

 

There are no options to delete it, restart it etc, its in limbo

 

The secondary storage is hosted on the Management Server (CentOS 6.4), and the two hosts are XenServer 6.0.2

 

Can anyone help, ive found various posts but nothing exactly the same, usually they say to try commands such as ssvm-check but i cant see this.

 

Does it need a MySQL hack to change the status or manually destroy the VM?

 

I have checked the NFS path is accessible by adding it to XenCenter and can browse contents fine.

 

Thank you


Matthew Darnell MEMBERS 01 July 2014 - 20:19 PM
3 comments
0

Please sign in to leave a comment.

 
 

Previous 3 comments

Avatar
Administrator
Avatar

SSVM says "Stopping" "Disconnected" HELP!

I have also tried adding the secondary storage in again which suceeded. Pinging the ssvm local link or private IP from the Xen hosts results in destination host unreachable but im not sure of this is a good indicator


Matthew Darnell MEMBERS 01 July 2014 - 21:04 PM
Comment actions Permalink
Avatar
Administrator
Avatar

This is now resolved and needed DB hacks to fix


Matthew Darnell MEMBERS 02 July 2014 - 09:05 AM
Comment actions Permalink
Avatar
Jay Fowler

I ran into this ... my SSVM name was s-73629-VM ... the ID was 73629 ... this worked for me ... milage may very.

 

mysql> select id,instance_name,name,state,private_ip_address,host_id,last_host_id from vm_instance where id = 73629;
+-------+---------------+------------+----------+--------------------+---------+--------------+
| id    | instance_name | name       | state    | private_ip_address | host_id | last_host_id |
+-------+---------------+------------+----------+--------------------+---------+--------------+
| 73629 | s-73629-VM    | s-73629-VM | Stopping | NULL               |       4 |         NULL |
+-------+---------------+------------+----------+--------------------+---------+--------------+
1 row in set (0.00 sec)

mysql> update vm_instance set state = 'Stopped' where id = 73629;
Query OK, 1 row affected (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> select id,instance_name,name,state,private_ip_address,host_id,last_host_id from vm_instance where id = 73629;
+-------+---------------+------------+---------+--------------------+---------+--------------+
| id    | instance_name | name       | state   | private_ip_address | host_id | last_host_id |
+-------+---------------+------------+---------+--------------------+---------+--------------+
| 73629 | s-73629-VM    | s-73629-VM | Stopped | NULL               |       4 |         NULL |
+-------+---------------+------------+---------+--------------------+---------+--------------+
1 row in set (0.00 sec)

 

After this ... the system vm automagically restarted without operator intervention ...


Comment actions Permalink

Top Contributors