You are here

8. Install OVMProf

8. Install OVMProf

Applicable to all Oracle VM 3.x Releases. 
Oracle VM Profiler (OVMProf) is a system-wide profiler for Oracle VM Server Release 3 and above used to collect, display and compare system and cluster configurations. OVMProf is non-intrusive, it simply gathers information using native linux commands. OVMProf can output to one large text file and/or a menu driven web page. With OVMProf, you can easily validate server and cluster configurations, best practices, and operational correctness for new and existing Oracle VM deployments.
OVMProf gathers the following information:
Dom0 Summary
Storage & Disk Summary
Networking Summary
OCFS2 Summary
Oracle VM Agent Summary
Virtual Machine (domU) Configuration Summary
Sysctl Summary
RPM Packages & Patch Summary
Kernel Mods & ulimits Summary
Socket Ports
Chkconfig Summary
Hardware Summary
Cron Job Summary
dmesg & /var/log/messages errors
 
OVMProf Installation, Set-up and Usage:
1- Download OVMProf (ovmprof-v1.0.tar).
2- Copy and extract ovmprof-v1.0.tar onto each Oracle VM Server in the /usr/local/sbin directory.
3- Make the ovmprof.sh script executable by typing: chmod 755 ovmprof.sh.
 
To view an Oracle VM Server's system and cluster configurations, copy and extract the OVMProf tar file, i.e. /tmp/ovmprof/ovmprof_your-server-name.tar on a workstation and open the index.html file with a Web browser.
 
Create a menu driven web page to display and compare system and cluster configurations:
1- For a menu driven web page, copy each Oracle VM Server's OVMProf/tmp/ovmprof/ovmprof_your-server-name.tar file to directory on a web server, i.e. /var/www/html/ovmprof/
2- Extract the tar file(s) into the directory, i.e. /var/www/html/ovmprof/. The next example shows a directory on an apache web server with three OVMProf tar files as well as the extracted tar file directories, and an index.html file.
.
├── index.html
├── ovmprof_ovs-archer.tar
├── ovmprof_ovs-janeway.tar
├── ovmprof_ovs-kirk.tar
├── ovs-archer
├── ovs-janeway
└── ovs-kirk
3- Create an index.html text file in the /var/www/html/ovmprof directory with the following content:
Note: Change the bold sections below with the names of the extracted tar files from step 2 above (see the above directory tree example, i.e. ovs-archer, ovs-janeway and ovs-kirk are the extracted files).
 
<title>System Information for Oracle VM Servers</title>
Mokum Oracle VM Server Profiler (OVMProf)<br>
<a href=ovs-archer>ovs-archer></a><br>
<a href=ovs-janeway>ovs-janeway></a><br>
<a href=ovs-kirk>ovs-kirk></a><br>
 
OVMProf Syntax & Usage:
ovmprof.sh [OPTION]
Only one option is allowed at a time:
-a : Display to stdout, generate web pages and tar file.
-d : Display to stdout ONLY.
-h : Display this message.
-t : Create just a tar file of the web pages.
-w : Create web pages and master info file ONLY.
Default (no options) is the same as -d.
 

Download PDF Now!