5 Cloning Oracle Key Vault Installation

Perform the installation procedure for Oracle Key Vault before proceeding for VM cloning.

5.1 Cloning Oracle Key Vault Virtual Machines

Oracle Key Vault Vitual Machines (VM) can be cloned to reduce the installation time on each VM. You create a base VM to clone it to any number of VM's.

Create a base VM by performing the installation procedure for Oracle Key Vault following Installing the Oracle Key Vault Appliance Software, but do not go through the post-install steps.

  1. Install Oracle Key Vault as a base VM. The base VM refers to the VM that is used for cloning other VMs.

    Note:

    This process takes about 30 minutes or longer to get completed.
  2. Log into terminal console of the base VM as a root user.
  3. Run the script to set up the configuration to make sure that all system-specific configuration is regenerated on the next boot.
    # /usr/local/okv/bin/okv_enable_vm_clone

    The script marks the base VM as the clonable and shuts down the system.

    Note: This script sets up the configuration to make sure that all system-specific configuration is regenerated on the next boot. The system will be made clonable, and once the configuration completes the system automatically shuts down.
  4. Start cloning the VM after the base VM shuts down.
  5. Access the terminal console of the cloned VM after the cloned VM is booted for the first time.
    1. Set the password for the root user.
    2. Configure the network (IP Address, gateway, network mask and host name).
  6. Oracle Key Vault begins the process of generating system-specific application configuration.
  7. Once completed the system gets rebooted automatically to complete the process.
    The cloning is now marked as complete.

    Note:

    If you access the Oracle Key Vault management console of the clone while the cloning process is in progress, the post-install tasks cannot be completed. Oracle Key Vault displays a message to log into the terminal console and follow directions to complete the post-clone configuration.
  8. Complete the post-installation steps on the clone VM, see Performing Post-Installation Tasks.

5.2 Guidelines for Cloning on Virtual Machines

Consider these Oracle Key Vault guidelines for managing Cloning on Virtual Machines.

  • You can clone an Oracle Key Vault VM only if you have NOT completed the post-install tasks.
  • The base VM serves as a template for cloning further VMs.
  • Do not boot the base VM once you have marked the base VM as clonable and shut it down.
  • In case, you do boot the base VM, it can no longer be used for cloning.
  • It is recommended not to use the system again for cloning.
  • When the cloned VM starts, you can change its IP address and root password (both are inherited from the base VM), and complete the post-install steps.