Re: [openstack-dev] [nova] Does Nova has a command line to restart an instance?

2015-05-22 Thread Lily.Sing
Hi all,

Thank you for your kindly reply. I forgot to check 'nova' command line, and
just tried 'openstack server'. It works for me.

Best regards,
Lily Xing(邢莉莉)

On Fri, May 22, 2015 at 1:22 PM, Chet Burgess c...@metacloud.com wrote:

 If you add the following option to your nova.conf file then when
 nova-compute restarts (at boot or simple on a restart) it will check the
 instances in the DB and attempt to start any instances that are marked as
 running in the DB but not running on the hypervisor.

 resume_guests_state_on_host_boot=True

  On May 21, 2015, at 21:16, Lily.Sing lily.s...@gmail.com wrote:
 
  Hi experts,
 
  I setup an OpenStack multinode environment without Horizon installed.
 After host rebooting, the instances are in 'shutoff' status. I hope to
 re-use these instances, but seems there is no command line for this. Any
 suggestion?
 
  Thanks.
 
  Best regards,
  Lily Xing(邢莉莉)
 
 __
  OpenStack Development Mailing List (not for usage questions)
  Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova] Does Nova has a command line to restart an instance?

2015-05-21 Thread Lily.Sing
Hi experts,

I setup an OpenStack multinode environment without Horizon installed. After
host rebooting, the instances are in 'shutoff' status. I hope to re-use
these instances, but seems there is no command line for this. Any
suggestion?

Thanks.

Best regards,
Lily Xing(邢莉莉)
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] Does Nova has a command line to restart an instance?

2015-05-21 Thread Fei Long Wang

Did you try 'nova start server'?

On 22/05/15 16:16, Lily.Sing wrote:

Hi experts,

I setup an OpenStack multinode environment without Horizon installed. 
After host rebooting, the instances are in 'shutoff' status. I hope to 
re-use these instances, but seems there is no command line for this. 
Any suggestion?


Thanks.

Best regards,
Lily Xing(邢莉莉)


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


--
Cheers  Best regards,
Fei Long Wang (王飞龙)
--
Senior Cloud Software Engineer
Tel: +64-48032246
Email: flw...@catalyst.net.nz
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
--

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] Does Nova has a command line to restart an instance?

2015-05-21 Thread Deepak Shetty
nova start existing instance name or uuid

On Fri, May 22, 2015 at 9:46 AM, Lily.Sing lily.s...@gmail.com wrote:

 Hi experts,

 I setup an OpenStack multinode environment without Horizon installed.
 After host rebooting, the instances are in 'shutoff' status. I hope to
 re-use these instances, but seems there is no command line for this. Any
 suggestion?

 Thanks.

 Best regards,
 Lily Xing(邢莉莉)

 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] Does Nova has a command line to restart an instance?

2015-05-21 Thread Chet Burgess
If you add the following option to your nova.conf file then when nova-compute 
restarts (at boot or simple on a restart) it will check the instances in the DB 
and attempt to start any instances that are marked as running in the DB but not 
running on the hypervisor.

resume_guests_state_on_host_boot=True

 On May 21, 2015, at 21:16, Lily.Sing lily.s...@gmail.com wrote:
 
 Hi experts,
 
 I setup an OpenStack multinode environment without Horizon installed. After 
 host rebooting, the instances are in 'shutoff' status. I hope to re-use these 
 instances, but seems there is no command line for this. Any suggestion?
 
 Thanks.
 
 Best regards,
 Lily Xing(邢莉莉)
 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev