Sergey
2013-Jan-02 11:13 UTC
Reboot remote XCP instance via KVM-switch without root access
Hi all! I''ve forgot (it''s all New Year stress) root password for XCP server and try to re-install it with attached KVM-switch. The problem is server not responds to Ctrl-Alt-Delete, and "Reboot" action in XCP menu requires root password. KVM-switch has no "reboot" option. Any thoughts? :) Thanks.
Rudi Ahlers
2013-Jan-02 11:35 UTC
Re: Reboot remote XCP instance via KVM-switch without root access
On Wed, Jan 2, 2013 at 1:13 PM, Sergey <power.real@gmail.com> wrote:> Hi all! > I''ve forgot (it''s all New Year stress) root password for XCP server > and try to re-install it with attached KVM-switch. The problem is > server not responds to Ctrl-Alt-Delete, and "Reboot" action in XCP > menu requires root password. KVM-switch has no "reboot" option. Any > thoughts? :) > Thanks. >Does the KVM offer a power-cycle option? Shutdown the VM, and power it up again then boot into "linux single user mode". -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Cell: 082 554 7532 Fax: 086 268 8492
Sergey
2013-Jan-02 11:58 UTC
Re: Reboot remote XCP instance via KVM-switch without root access
Hi Rudi.> Does the KVM offer a power-cycle option? Shutdown the VM, and power it > up again then boot into "linux single user mode".Nice try. But KVM does not have that option. On Wed, Jan 2, 2013 at 3:35 PM, Rudi Ahlers <Rudi@softdux.com> wrote:> On Wed, Jan 2, 2013 at 1:13 PM, Sergey <power.real@gmail.com> wrote: >> Hi all! >> I''ve forgot (it''s all New Year stress) root password for XCP server >> and try to re-install it with attached KVM-switch. The problem is >> server not responds to Ctrl-Alt-Delete, and "Reboot" action in XCP >> menu requires root password. KVM-switch has no "reboot" option. Any >> thoughts? :) >> Thanks. >> > > > Does the KVM offer a power-cycle option? Shutdown the VM, and power it > up again then boot into "linux single user mode". > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Cell: 082 554 7532 > Fax: 086 268 8492
Nick Couchman
2013-Jan-02 13:44 UTC
Re: Reboot remote XCP instance via KVM-switch without root access
>>> On 2013/01/02 at 04:13, Sergey <power.real@gmail.com> wrote: > Hi all! > I''ve forgot (it''s all New Year stress) root password for XCP server > and try to re-install it with attached KVM-switch. The problem is > server not responds to Ctrl-Alt-Delete, and "Reboot" action in XCP > menu requires root password. KVM-switch has no "reboot" option. Any > thoughts? :) > Thanks.I think you''re out of luck - you either need the root password or physical access. The one thing you can try is the Magic SysRq key - SysRq + o = reboot, so if the KVM has the capability of sending keyboard macros, you could try this key combo for a hard reboot and see if that works. I don''t know off the top of my head if XCP supports SysRq out of the box - some systems support limited features, like halt/reboot, others have it completely disabled, and then some have all of the SysRq keys enabled. http://en.wikipedia.org/wiki/Magic_sysrq -Nick -------- This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.