5 Cloning Oracle Key Vault Installation

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

5.1 Cloning the Oracle Key Vault on Virtual Machine

Oracle Key Vault can be cloned on a Virtual machine (VM) to reduce the installation time on each VM. You can use the already installed Oracle Key Vault and clone the setup on the number of VM's.

Perform the installation procedure for Oracle Key Vault before proceeding for VM cloning, see Installing the Oracle Key Vault Appliance Software.
For installation you need to have the root password and network details of the system used for cloning.
  1. Install Oracle Key Vault on 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, you need to set the root password, update network details again for clone VM.
  • It is recommended not to use the system again for cloning.
  • You must configure the system with a new IP address (different from that of the base VM) in order to complete the cloning. This ensures the completion of post-install tasks.