VMWare and Xen Management with BixData - Page 2
VM ReportsIn addition to getting real-time information on the VMs in the virtualization view I can also create reports that are automatically generated at some interval and published to my web page. I'll just go to the Reporting view in BixDesktop then I'll make a simple Unix Load report on the machines I tagged earlier. Just click the + button to add a line and put in the following information.
After a few minutes I can see my graphs:
VM ActionsBixServer can also make actions happen in response to the state of VM Hosts/Guests. You do this in the Notifications view of BixDesktop. Here I'll have the Agents shut themselves down if their CPU usage goes above 50%. First I'll make a service check. I'll choose Remote Agent CPU to watch a BixAgent's CPU usage.
We need to check our VMTest tagged hosts. The rest of the default values are fine.
Now we make an action that happens if this service check fails. I'll make a shutdown action so if any of these VM guests go over 50% CPU, they'll shut themselves down.
Creating a new Action Now I just make a notification to tie the service check to the desired action. A service check can be up or down. In our example if CPU goes above 50% the service check is down. When the service check goes down it will go from the “While Up” state into the “Up->Down” transition and finally into the “While Down” state. Since I just want the machines to turn themselves off when it goes above 50% I'll just put the Shut Down Computer action in the “Up->Down” transition. I could put it in the “While Down” state with some timers, this would let me set it up so I could have it only shutdown if CPU went over 50% for 10 minutes or something, but I'm keeping this example simple.
And that's it. Now I can easily check up on my VMs and I can set things up so they can take care of themselves. You can download and get more information at: www.bixdata.com NotesIn general having the date and time on all your machines set correctly is important. Especially with VMWare some VMs system clock can be out of date. On Linux the most used commands to correct date and time are rdate and ntpdate
rdate -s time.nist.gov XenOn Ubuntu and some distros you have to run the command: mkdir /var/run/xenstored before starting xend because some distros automatically delete items in /var/run. If you see an error like “Device could not be connected. Backend device not found" run the command: modprobe loop If you see an error like “Unable to open hypervisor connection”: Edit your /etc/xen/xend-config.sxp and make sure it says: (xend-http-server yes) then restart xend with: xend restart BixServerIf you have problems with libstdc++ go to http://www.bixdata.com/node/56 for details on how to update your libraries.
|










print: 
Recent comments
12 hours 10 min ago
14 hours 1 min ago
19 hours 18 min ago
19 hours 25 min ago
20 hours 55 min ago
21 hours 12 min ago
22 hours 31 min ago
1 day 26 min ago
1 day 1 hour ago
1 day 4 hours ago