You are here

ROAD for Oracle VM - Operations Toolkit Demonstration

Thank you for watching this ROAD for Oracle VM - Operations Toolkit Demonstration. 

The ROAD for Oracle VM Operations Toolkit provides in depth Oracle VM server and cluster diagnostics, operations utilities, and ready for business reporting. 
Here is the link to the ROAD for Oracle VM user guide: http://mokumsolutions.com/road-oracle-vm-user-guide-jedi-release
 
To start the demonstration lets ssh to an Oracle VM server, change to the ROAD for Oracle VM installation directory, /opt/mokum, and list the contents of the directory. 
  • We see a total of nine commands. 
  • Please note that we have a we have a separate demonstration for the ready for business reporting functionally. 

blank_vnc_console_fix_3.2.ONLY.sh
  • The first command is the blank_vnc_console_fix_3.2.ONLY.sh command. 
  • This command is used to fix broken Oracle VM 3.2 VNC consoles that open with a “Status: Connected to Server” message, but no VNC console opens.
  • Before running the command track down the Oracle VM server running the virtual machine with Oracle VM Manager or via the command line with the uuid_to_vm.sh command. 
  • Then run blank_vnc_console_fix_3.2.ONLY.sh command, and the VNC console will now successfully open. 
  • This is how to run the command
uuid_to_vm.sh
  • The uuid_to_vm command prints all of the running virtual machine's with the UUID to simple name mappings. 
  • Oracle VM servers only know the machine generated UUID names for virtual machines, as show with the xm list command. 
  • When things go wrong, and you need to turn to the command line to save the day, you will need the UUID to simple name mappings to get the job done.
  • For example, to edit, stop, and migrate virtual machines from the command line, its necessary to know the UUID to simple name mappings
list_vms.sh
  • This command prints the path to the vm.cfg files from all virtual machines, templates and assemblies.
  • We use list_vms to locate a virtual machine vm.cfg file to start a vms from the command line, or to edit a virtual machine's vm.cfg file. 
fcsan_details.sh
  • This command is used to troubleshoot Fibre Channel storage issues. 
  • The command generates a status report in the running directory with the hostanme and date including the nodes multipath, and HBA details.
fileandblobk_repo_bench.sh
  • This command is used to run a dd benchmark on OCFS2 and NFS storage repositories to quickly confirm read and write numbers.
  • The command will generate a status report in the selected repository with the hostanme and date
  • If the read and write numbers are bad, you have some troubleshooting to do. For example:
    • With Fibre you'll need to confirm the port configurations in the SAN and switch, HBA slots, gbics, cable length limits, and that no fiber is bent
cluster_health.sh
  • This command is used to troubleshoot Oracle VM cluster issues. 
  • The command will generate a status report in the running directory including the hostanme and date, with the status of the running virtual machines, the Berkeley database details, distributed lock management (dlm) details.
  • Review each server's report to troubleshoot cluster configuration issues and configuration inconsistencies. 
clean_cluster.sh
  • This command wipes an Oracle VM server's cluster configurations to a clean state to be able able to cleanly remove and add Oracle VM servers to a server pool. 
  • The command shuts down any running virtual machines, stops the ovs-agent, deletes the local Berkley Databases, deletes the cluster.conf and o2cb files, and with ISCSI it stops the ISCSI service, and deletes the ISCSI config file, then shows a reboot prompt.
  • The command preserves the networking set-up. 
Thank you again for watching this ROAD for Oracle VM - Operations Toolkit Demonstration.