How to create VM using citrix xencenter

From PheonixSolutions
Jump to navigation Jump to search


Introduction:

In this section we are going to see how to create a VM using citrix xen center tool.

Prerequisites:

  1. Citrix xencenter tool.

  2. Root login credentials oh hardware node.

Procedure:

  1. Click on the hardware node connected with xencenter.


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


  3. Now select os template to be install on VM


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



Click next to continue

  1. Now select the installation media as Install from 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 goto Console.




    Now you can complete the ubuntu installation setup.

  6. After installation setup is complete goto /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:

  8. renderer: networkd

  9. ethernets:

  10. eth0:

  11. dhcp4: false

  12. addresses:

  13. - 69.30.219.16X/29

  14. routes:

  15. - to: default

  16. - via: 69.30.219.161

  17. nameservers:

  18. addresses: [8.8.8.8, 8.8.4.4]

  19. version: 2


    Note: Change the ip address with new ip replacing only x in addresses:

  20. Save the file and exit.

  21. To apply changes

sudo netplan apply

Conclusion:

Now the server is successfully configured under the hardware node.