5.12 iDIH Application and Mediation Installation

  1. Delete the existing VM.
    1. Identify the VM by its domain.
      # virsh list –all
    2. Remove the VM.
      # virsh destroy <VM Name>
      # virsh undefine <VM Name>
    3. Remove the VM qcow2 file by deleting the file from path /home/repository
    4. Refresh storage pool dedicated for DSR.
      # virsh pool - -list
      # virsh pool-refresh <pool_name>
  2. Create a VM on the host machine.
    1. Copy the iDIH Oracle ova’s zip file to path /home/repository.
    2. Convert the resulting ‘.vmdk’ file to a ‘qcow2’ for mediation and application server.
      qemu-img convert -f vmdk -O qcow2 <IMAGE_NMAE>.vmdk Med.qcow2
      qemu-img convert -f vmdk -O qcow2 <IMAGE_NMAE>.vmdk App.qcow2
  3. Refresh storage pool dedicated for DSR.
    Run the following commands:
    # virsh pool - -list
    # virsh pool-refresh <pool_name>
  4. Create a VM for App server and mediation server.
    For App server, run the following command:
    virt-install --name=< APP_VM_Name > --ram=8192 --vcpus=4 --disk path=</home/repository/App.qcow2>,format=raw,bus=<scsi/virtio> --network bridge:<br_XMI>,model=virtio --network bridge:<br_INT>,model=virtio --graphics none --autostart --watchdog i6300esb,action=reset –import
    For mediation server:
    virt-install --name=<MED-VM-NAME> --ram=8192 --vcpus=4  --disk path=</home/repsitorary/Med.qcow2>,format=raw,bus=<scsi/virtio> --network bridge:<br_XMI>,model=virtio --network bridge:<br_IMI>,model=virtio --network bridge:<br_INT>,model=virtio --graphics none --autostart --watchdog i6300esb,action=reset --import
  5. Verify if the VM has been created.
    1. Run virsh list --all on KVM to verify whether VM has been created.
    2. Follow the steps in Run Post Installation Scripts on iDIH VMs and Configure DSR Reference Data Synchronization for iDIH for Oracle VM configuration and post installation.