New Question
0

Windows boot up time on KVM host

asked 2017-03-20 10:01:30 +0300

Parth Gandhi gravatar image

Hi, Is there a way to capture windows boot up time on openstack KVM host? Currently we are capturing it using the ping response from the floating IP however it does not seem to give the exact output and do fails most of the time.

thanks.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2017-03-20 11:32:05 +0300

maestropandy gravatar image

updated 2017-03-20 11:46:29 +0300

Hi Parth,

Nova doesn't take the pause/suspended state into account when returning a value for the "uptime" diagnostics value:

https://github.com/openstack/nova/blo...

If you want to calculate uptime, note down server creation time from metadata and calculate the difference after change state.

Thanks Pandiyan.

edit flag offensive delete link more
0

answered 2017-03-20 11:04:09 +0300

avladu gravatar image

Hello,

In order to check if a Windows instance is up and running, we usually rely on winrm calls. You can use the powershell's PSSession to initiate one or pywinrm from a *nix client.

Thank you, Adrian Vladu

edit flag offensive delete link more

Comments

hi avaldu, nice to see to after barcelona summit, parth is looking to calculate server uptime and your answer is done by monitoring tool.

maestropandy gravatar imagemaestropandy ( 2017-03-20 11:36:11 +0300 )edit

nice to "see" you active again @maestropandy. From my experience, there are other tools for this job, like mist.io. They have several open source projects on this, you can check them here: https://github.com/mistio

avladu gravatar imageavladu ( 2017-03-20 21:45:14 +0300 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-03-20 10:01:30 +0300

Seen: 373 times

Last updated: Mar 20 '17