[one-users] Issue With Virtual Machine Life-cycle

rajendra kumar rajendra at kqinfotech.com
Mon Apr 26 23:19:14 PDT 2010


Hi All,

I am using OpenNebula from last couple of days.I have installed OpenNebula
in system wide mode. and using non-shared SSH method for image transfer to
worker node. Worker node is having KVM .

i am still in confusion about stop, cancel, suspend, resume, shutdown
command in CLI(command line interface).



oneadmin at rajendra:~$ onevm list

  ID     NAME     STAT  CPU     MEM        HOSTNAME        TIME
   *7      vm-test    runn    0      1048576    worker-node01  03 00:57:33*
   8      vm-test    boot    0          0           worker-node01  00
09:44:08
  *10     vm-test    runn    0     1048576      worker-node01  00 00:35:40*
  11     vm-test     fail     0          0            worker-node01  00
00:06:03

oneadmin at rajendra:~$ onevm stop 7


oneadmin at rajendra:~$ onevm list

  ID     NAME     STAT  CPU     MEM        HOSTNAME        TIME
  * 7      vm-test    save    0      1048576    worker-node01  03 00:57:33*
   8      vm-test    boot    0          0           worker-node01  00
09:44:08
  *10     vm-test    runn    0     1048576      worker-node01  00 00:35:40*
  11     vm-test     fail     0          0            worker-node01  00
00:06:03


oneadmin at rajendra:~$ onevm suspend 10

oneadmin at rajendra:~$ onevm list

  ID     NAME     STAT  CPU     MEM        HOSTNAME        TIME
   *7      vm-test    save    0      1048576    worker-node01  03 00:57:33*
   8      vm-test    boot    0          0           worker-node01  00
09:44:08
  *10     vm-test    save    0     1048576      worker-node01  00 00:35:40*
  11     vm-test     fail     0          0            worker-node01  00
00:06:03


oneadmin at rajendra:~$ onevm resume 10
*Error: Wrong state to perform action*


i was stoping VM {ID: 7} and suspending VM {ID: 10 } after that both are in
saving mode.
and Now i have used all command on both VM {ID:7 and ID:10} it is giving
error "Error: Wrong state to perform action"

So my query is that

1>> What is main difference between stoping, suspending , canceling VM's.

2>> How can i get back all these VM's in *running state* after Stop,
Suspend, Shutdown, and Cancel operation.


-- 

Regards
Rajendra Kumar
KQ infotech
Mobile No: +91-9823565282
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100427/fb8d1fea/attachment-0001.htm>


More information about the Users mailing list