Friday May 13, 2016

Friday Spotlight: Oracle VM 3.4 Solutions with Command Line Interface

In today's spotlight, I want to share some useful tools that are built on top of Oracle VM Manager Command Line Interface (CLI). You can take advantage of the tools to automate some common tasks, thus bring more flexibility to help you deploy and manage an Oracle VM environment.

As you already know, main components building the Oracle VM Server for x86 architecture are:

  • Oracle VM Server incorporates an open source Xen hypervisor component, which has been customized and optimized to integrate into the larger, Oracle-developed virtualization server.
  • Oracle VM Manager, the Browser user interface (BUI) to manage Oracle VM environment.

But there are further options to manage an Oracle VM deployment!

Between them we can find Oracle VM API (application programming interface) and Oracle VM CLI (command line interface).

Both options really resides on Oracle VM Manager host and are already part of your Oracle VM ecosystem; this kind of features opens further integration opportunity:

So while the Oracle VM Web-Services API options allows to integrate 3rd parties products to manage Oracle VM ecosystem, Oracle VM CLI allows to automate and schedule different operations that usually are manually executed by the BUI.

Between them we can find different operations that maybe need many clicks or human interaction to be completed or, for example, need to be scheduled at a certain time/date; different examples can be:

  • create a huge list of objects (like networks, virtual-disks, vms...etc)
  • execute, sequentially, more operations of the same type (clone, move, start, stop...etc) 
  • execute the same operation for N times (like execute the same operation on tens/hundreds of vms)
  • schedule the execution of a particular operation at a given date/time without user interaction
  • ....and even much more

All these types of operations can be accomplished and executed in a faster manner using Oracle VM CLI where, thanks to the scripting option available, you can estimate which is the best logic to apply before executing the command requested; so you can really design your flowchart and decide which kind of checks needs to be executed before introduce any change or perform any operation; an example:

A very interesting example, with all the details, of this approach can be found at this link where I created a simple Oracle VM CLI script able to move an entire VM (vm configuration file and all virtual-disks) from one repository to an other one.

Even if the VM moving is an easy operation that can be accomplished also using the Oracle VM Manager BUI interface, it could happen that you are in one of these cases:

  • You need to move a huge list of VMs from one repository to a new one
  • You need to move a list of VMs with many virtual-disks
  • You need to schedule the vm-moving at a specific date/time

and this is only one example of the very cool things that you can automate thanks to Oracle VM Manager Web-Services API or Oracle VM Manager CLI.

If you are interested on further solutions like this one you can evaluate them also here where further articles describe other cases.

Feel free to comment and ask for details on this blog entry!

Friday Nov 16, 2012

Friday tips #2

Welcome to our second Friday tips blog! You can ask us questions using the hash tag #AskOracleVirtualization on Twitter and we'll do our best to answer them.

Today we've got a VDI related question on linked clones:

Question: I want to use linked clones with Oracle Virtual Desktop Infrastructure. What are my options?

Answer by John Renko, Consulting Developer, Oracle:

First, linked clones are available with the Oracle VirtualBox hypervisor only.

Second, your choice of storage will affect the rest of your architecture.

If you are using a SAN presenting ISCSI LUNS, you can have linked clones with a Oracle Enterprise Linux based hypervisor running VirtualBox. OEL will use OCFS2 to allow VirtualBox to create the linked clones. Because of the OCFS2 requirement, a Solaris based VirtualBox hypervisor will not be able to support linked clones on remote ISCSI storage.

If you using the local storage option on your hypervisors, you will have linked clones with Solaris or Linux based hypervisors running VirtualBox.

In all cases, Oracle Virtual Desktop Infrastructure makes the right selection for creating clones - sparse or linked - behind the scenes. Plan your architecture accordingly if you want to ensure you have the higher performing linked clones.


Get the latest scoop on products, strategy, events, news, and more, from Oracle's virtualization experts




« May 2016