VMware Cloud Community
admin
Immortal
Immortal

Server restart

Hello,

can the server for example a restart in Hyperic OpenSource be controled? I only see the control menu for servers like iis.
Reply
0 Kudos
3 Replies
staceyeschneide
Hot Shot
Hot Shot

Control actions can be executed from the HQ portal in both the OSS and Enterprise version of the software. The main difference for Enterprise is that it can schedule control actions (run backup, run vacuum, run garbage collection etc) at a specific time in the future and can also run control actions in response to an alert condition (eg, helping you keep tomcat up by restarting the webapp while focusing on fixing your latest memory leak).

For a quick guide to getting control actions going, see page 30 of the Test Ride Guide: http://download.hyperic.com/pdf/Hyperic-WP-TRG-Sept07.pdf
Reply
0 Kudos
admin
Immortal
Immortal

Hello,

yes, but i mean the server, where the agent is installed. I want to restart the server for example, not an application. Can the server be controled?
Reply
0 Kudos
Matt5D
Enthusiast
Enthusiast

You can't reboot the operating system out of the box. It'd be a trivial plugin to write with JNI or if you're even lazier runtime.exec(), but I personally wouldn't do it. I wouldn't want system calls like that on my servers exposed through what is essentially a web service on the HQ Agent. All platforms have ways of doing that that require proper authentication and put the right information into the system's security logs. If you let an HQ agent do it all your OS will know is your platform's version of 'local daemon thread with system context told me to shut down.'
Reply
0 Kudos