You are here

7. Install the Mokum Oracle VM Diagnostic Utilities

7. Install the Mokum Oracle VM Diagnostic Utilities

Applicable to all Oracle VM 3.x Releases. 
The Mokum Oracle VM Server Diagnostic Utilities are a collection of diagnostic, and operations scripts for Oracle VM Server 3.x.. To install, simply unzip the mokum_oracle_vm_server_diagnostic_utilities-7-21-2014.zip file on your Oracle VM server in /root, chmod 755 -R mokum_oracle_vm_server_diagnostic_utilities7-21-2014, and run the scripts from the mokum_oracle_vm_server_diagnostic_utilities-7-21-2014 directory.
 
For exmaple, first unzip the file as show in the example below:
# unzip mokum_oracle_vm_server_diagnostic_utilities-7-21-2014.zip
chmod 755 -R mokum_oracle_vm_server_diagnostic_utilities7-21-2014
This will create a subdirectory mokum_oracle_vm_server_diagnostic_utilities-7-21-2014 which contains 8 scripts.
# cd mokum_oracle_vm_server_diagnostic_utilities7-21-2014
# ll
blank_vnc_console_fix.sh
clean_cluster.sh
cluster_health.sh
fcsan_details.sh
list_vms.sh
local_bench.sh
ocfs2_bench.sh
uuid_to_vm.sh
READ_ME
 
To run any of the scripts, as root, type ./script_name, i.e. ./list_vms.sh would print a list to stdout of all of the virtual machines, templates and assemblies within a server pool.
 
Note: If a previous version of Mokum Oracle VM server Diagnostic Utilities already is installed, it is highly recommended to remove this rm -rf mokum_oracle_vm_server_diagnostic_utilities-DATE prior to installing the new version.
 
blank_vnc_console_fix.sh:
When opening a Virtual Machine console using Oracle VM Manager, if the VNC console opens with “Status: Connected to Server” and no VNC console, run blank_vnc_console_fix to remove the broken ovm-consoled pid and start the ovm-consoled service.
clean_cluster.sh: 
To be able to reuse an Oracle VM Server in a new or existing server pool, run clean_cluster to wipe the Oracle VM Server's berkeley DB and cluster data before discovering in Oracle VM Manager.
cluster_health.sh:
To troubleshoot berkeley DB and cluster issues run cluster_health to generate a status report named  hostname-date-cluster_health.out.
fcscan_details.sh:
To troubleshoot Fibre Channel HBA issues run fcscan_details to generate a status report on multipath and HBA details named hostname-date-san-details.out.
list_vms.sh:
list_vms will print a list to stdout of all of the virtual machines, templates and assemblies within a server pool.
uuid_to_vm.sh:
uuid_to_vm generates xm list output with uuid to simple name mappings to stdout.
local_bench.sh:
local_bench will run a simple dd test in the /tmp directory on local disk and output to hostname-date-local_bench.out.
ocfs2_bench:
ocfs2_bench will run a simple dd test for Oracle VM repositories (LUNS) and outputs to local_bench.out. Note: It is necessary to edit/change the path to dd test each desired repository.
 

Download PDF Now!