Introduction:

In this section, we are going to see how to create a VM using the Citrix Xen center tool. In the xen center tool we can able to create the VM manually with our custom specifications.

Prerequisites:

  1. Citrix xencenter tool.
  2. Root login credentials of hardware node which has IP with CIDR (Classless Inter-Domain Routing)

Procedure:

  1.  Open xencenter tool and click on the hardware node connected with xencenter.


  2.  Now go to the VM menu and click on New VM…



  3. Now select the os template to be installed on VM





  4. Select the other install media option by scrolling down.




Click next to continue

  1. Now select the installation media as Install from the ISO library



    Now select the ubuntu-20.04 under ISO_IMAGES_LOCAL and click next
  2. Now select the home server to place the VM.



Click next to continue.

  1. Now select the number of CPUs and Memory for VM

    Click next to continue.
  2. Click on Add to add storage for the VM



    After clicking the add enter the name for storage and select the size for the storage and click Add.


    Click next to continue.
  3. Select the networking as Network 0 and click next.


  4. Click Create now to create VM.


    The VM will be created now.
  5. After the VM gets started select the VM and go to console.


    Now you can complete the ubuntu installation setup.

  6. After the installation setup is complete go to /etc/netplan/

        backup the existing .yaml file as .yaml_bk


  7. Create a new network.yaml file using vi command
        Enter the network details,
    network:
    renderer: networkd
    ethernets:
    eth0:
    dhcp4: false
    addresses:
    – <new ip/CIDR>
    routes:
    – to: default
    via: <gateway ip>
    nameserveres:
    addresses: [ 8.8.8.8, 8.8.4.4]
    version: 2

    Note: Change the IP address with new IP replacing only x in addresses:
  8. Save the file and exit.

15. To apply changes run this command in terminal
#sudo netplan apply

Conclusion:

Now the server is successfully configured under the hardware node.

Leave a Reply