All pages
Powered by GitBook
1 of 10

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

1. Working with VM

Overview

A Virtual Machine (VM) is a software computer that, like a physical computer, runs an operating system and applications. The virtual machine consists of a set of specification and configuration files and is backed by the physical resources of a host. Every virtual machine has devices that provide the same functionality as physical hardware but are more portable, secure, and easier to manage.

Please refer to the VM usage guide in the list below.

  • Create a New Virtual Machine from ISO

  • Create a Virtual Machine from a Template

  • Install VMware Tools in a Virtual Machine

  • P

View VM

  • You can view virtual machines that are standalone or part of a vApp.

  • You can view virtual machines in a grid view or a card view.

1

Step 1: On the Virtual Data Center

Install VMware Tools in a Virtual Machine

VMware Tools improves the management and performance of the virtual machine by replacing generic operating system drivers with VMware drivers tuned for virtual hardware such as storage, network, and display. You install VMware Tools into the guest operating system. Although the guest operating system can run without VMware Tools, you lose important features and convenience.

1

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

2
View VM
erforming Power Operations on Virtual Machines
Editing the properties of a new VM
Create VM's Template
Force change root/administrator's password
Safely remove Disk in Windows OS
dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select
Virtual Machines
.
2

Step 2: You can select grid view or card view by selecting:

  • To view the virtual machines in a grid view, click

  • To view the virtual machines in a card view, click

The list of virtual machines is displayed in a grid view or as a list of card views.

3

Step 2.1: From the grid view, click the three vertical dots on the left of a virtual machine to display the actions you can take for the selected virtual machine.

4

Step 2.2: To access the console for the guest operating system of the virtual machine, click on VM Console.

5

Step 2.3: To view and edit the details for a virtual machine, click the VM’s name.

6

Step 2.4: From the grid view, click the three vertical dots on the left of a virtual machine to display the actions you can take for the selected virtual machine.

7

Step 2.5: To access the console for the guest operating system of the virtual machine, click on VM Console.

8

Step 2.6: To view and edit the details for a virtual machine, click the VM’s name.

View VM in Card view:

9

Step 3.1 : From the card view, click the Action to display your actions for the selected virtual machine.

10

Step 3.2: To access the console for the guest operating system of the virtual machine, click on VM Console.

11

Step 3.3: To view and edit the details for a virtual machine, click Details.

Overview

Procedure

Step 2: Click Card View

3

Step 3: On the card of the virtual machine that you want to start, click ACTIONS > Install VMware Tools.

Click Install in a Pop-up prompt.

4

Step 4: Log in to the operating system and follow the wizard to install the tools with OS types: https://kb.vmware.com/s/article/1014294.

Overview

TIP: All VM templates provided by HI GIO have VMware tools updated to be the best compatible.

Procedure

Create a New Virtual Machine from ISO

Overview

As well as deploying pre-built VMs from a template, you can build your VMs from scratch, as you would do on a physical machine, using an ISO image instead of a physical CD or DVD.

Procedure

1

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

2

Step 2: Select Card View\Grid View to view the virtual machines

3

Step 3: Click New VM.

4

Step 4: In the New VM dialog box, enter a Name, Computer Name, and Description for your VM.

5

Step 5: Type: Select New

6

Step 6: Select the Power on check-box. If you want the VM to power on right after its creation

7

Step 7: Operating System: Select an OS family, Operating System, and Boot image.

8

Step 8: Compute: Enter Virtual CPUs, Core per socket, and Memory.

9

Step 9: Storage: Select Storage Policy & Size of disk.

  • Add more disk for VM if needed.

10

Step 10: Networking:

  • Network: Select the Organization VDC Networks that you want to use for VM

  • Network adapter Type: Select VMXNET3

11

Step 11: Click OK to save the virtual machine's settings and start the creation process. Once the virtual machine is created, it is a VM without OS. We must Insert Media (ISO) into the VM and install OS.

12

Step 12: Click the three vertical dots > Media > Insert Media

13

Step 13: Select the ISO image you want to mount from a catalog in the Insert CD dialog box, then click Insert.

14

Step 14: Click the three vertical dots >> Power >> Power On

15

Step 15: Open VM Console to install guest OS for VM

VM has boot from ISO file and start the installation.

Create a Virtual Machine from a Template

To simplify creating a virtual machine (VM), you can use a pre-built VM template from a catalog.

1

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

2

Step 2:

View VM in grid view:

IP mode: Select DHCP\Static – IP Pool or Static – Manual We need active DHCP (via Network\Gateway or relay DHCP server) or create 01 IP Pool in Organization VCD Networks If we use DHCP or Static-IP Pool mode.

Attention:

  • Name is a name to identify the VM, Computer Name is the host name of the VM.

  • The Computer Name is copied from the Name field but can contain only alphanumeric characters and hyphens, so you may need to edit it if your VM Name contains spaces or special characters.

Attention: We recommend using the VMXNET3 network adapter where possible. The VMXNET virtual network adapter has no physical counterpart and is optimized for VM performance. Because operating system vendors don't provide built-in drivers for this card, you must install VMware Tools to have a driver available for the VMXNET network adapter.

Select
Card View\Grid View
to view the virtual machines
3

Step 3: Click New VM.

4

Step 4: In the New VM dialog box, enter a Name, Computer Name, and Description for your VM.

Attention:

  • Name is a name to identify the VM, Computer Name is the host name of the VM.

  • The

5

Step 5: From the Type radio buttons, select From Template.

6

Step 6: Select the Power on check-box. If you want the VM to power on right after its creation,

7

Step 7: In the Templates section, select the template you want to use for your VM, depending on your requirement (OS type and VM size).

8

Step 8: Select Storage Policy

9

Step 9: Select Network, Network adapter Type, IP mode for VM

Attention: If using the Linux template, you can change the default password or SSH public key (optional)

10

Step 10: Click OK to save the virtual machine's settings and start the creation process.

Attention:

  • After the creation is completed using a Windows template, you will see this screen in the first boot.

  • Remember: DO NOT TOUCH on anything. Let it be completed by itself.

Attention:

  • Just wait for it to restart (about 3 minutes) to apply your specific configuration (IP, hostname,…).

  • When you see the Login screen, you can get control from now.

Overview

Procedure

Force change root/administrator's password

Overview

  • You can reset the root/administrator’s account password via Guest OS Customization in the vCD portal.

  • This password is used for root (Linux) or Administrator (Windows).

Procedure

1

Step 1: Log in to vCD portal > Data Centers > Virtual Machines > Guest OS Customization > EDIT.

2

Step 2: Verify guest customization is enabled and Specify password > SAVE.

3

Step 3: Power off and Power on, Force Recustomization.

Editing the properties of a new VM

You can edit the properties of a virtual machine, including the virtual machine name and description, hardware and network settings, guest OS settings, and so on.

You can review and change a virtual machine's name, description, and other general properties.

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore and from the left panel, select Virtual Machines.

Step 2: Click card view

Performing Power Operations on Virtual Machines

You can perform power operations on virtual machines, such as powering on or off a virtual machine, suspending or resetting a virtual machine, or shutting down the guest operating system of a virtual machine.

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

Step 2: Click card view

Step 3: On the card of the virtual machine that you want to start, click ACTIONS > Power > Power On.

Safely remove Disk in Windows OS

  • Bring disk to Offline in Windows OS.

  • Confirm that the disk’s status = is offline in Windows OS and provide disk information to the support team (they will support the infrastructure side).

  • Validate again on Windows OS.

1
Computer Name
is copied from the
Name
field but can contain only alphanumeric characters and hyphens, so you may need to edit it if your VM
Name
contains spaces or special characters.
Step 3: In the virtual machine card you want to edit, click Details.

Step 4: Under General expands by default > Edit to list of properties

Step 5: Click Save once you complete making your changes.

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

Step 2: Click card view

Step 3: In the card of the virtual machine that you want to edit, click Details.

Step 4: To view the available removable media, such as attached CD/DVD and floppy drives, under Hardware, select the Removable Media tab.

Step 5: To edit the hard disk settings or add hard disks, select Hard Disks and click Edit. Click Save once done

Step 6: To edit the computing settings, select Compute > Edit the relevant section.

  1. VMware has set a maximum value for hot-add memory. By default, this value is 16 times the memory assigned to the virtual machine. ()

  2. If you are running WM with Linux OS having less than 3GB RAM, you can change the memory to only 3GB RAM in total if you need more. You must power off the VM, increase memory to, for example, 4 GB RAM, and power it on again. ().

Step 7: To edit the NICs settings or add NICs, click NICs > Edit. Save once Done.

Overview

Procedure

A powered-on virtual machine displays a Powered-on status in green.
  • The Shut Down Guest OS for VM action shuts down the guest operating system and powers off the virtual machine. VMware Tools must be installed and running on the VM.

  • Powering off a virtual machine is the equivalent of powering off a physical machine.

  • Resetting a virtual machine clears the state (memory, cache, and so on), but the virtual machine continues to run. Resetting a virtual machine is the equivalent of pushing the reset button of a physical machine. It initiates a hard reset of the operating system without changing the virtual machine's power state.

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

Step 2: Click card view

Step 3: In the card of the virtual machine that you want to power off, click ACTIONS > Power > Power Off\Shut Down Guest OS\Reset

  • Suspending a virtual machine preserves its current state by writing the memory (RAM) to disk.

  • The suspend and resume feature is useful when you want to save your virtual machine's current state (RAM) and continue work later from the same state.

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

Step 2: Click card view

Step 3: In the card of the virtual machine that you want to start, click ACTIONS > Power > Suspend.

The virtual machine is suspended, but its state is preserved.

Attention: From the VM Suspended state, just power on if you need the VM to run with the current memory.

If a virtual machine is in a suspended state and you no longer need to resume the use of the machine, you can discard the suspended state. Discarding the suspended state removes the saved memory and returns the machine to a powered-off state.

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

Step 2: Click card view

Step 3: In the card of the virtual machine that you want to start, click ACTIONS > Power > Discard the suspended state.

The state is discarded, and the virtual machine is powered off.

Overview

Procedure

Step 1: Log on to Windows and open Disk Management.

Right-click on the Windows menu > Run.

2

Step 2: On Disk Management:

Right-click the disk name > Offline

3

Step 3: Validate disk status:

Disk status = Offline, and it will disappear on the volume table.

Please provide disk information:

  • Disk size:

  • Disk ID (follow as below):

*** Check Disk ID via Disk Management:

Right-click the disk name > Properties

  • Once the support team has completed the infrastructure side.

  • Please log on to Windows OS and confirm that the disk has been removed. No disk offline status is shown on Disk Management.

Overview

Procedure

Create VM's Template

  • HI GIO provides virtual machine (VM) template sizes and operating systems.

  • The HI GIO template is a good place to start when you first deploy VMs into the HI GIO. However, you may want to create a template containing specific applications that you can use to deploy VMs quickly.

  • Assume your VM has already installed OS and VMware tools and is preconfigured.

Attention: You can increase the size of an existing hard disk if the virtual machine is not a linked clone and has no snapshots.

Attention: vSphere restriction

https://kb.vmware.com/s/article/2020846
https://kb.vmware.com/s/article/2008405

Validate again in Windows OS:

Confirm that the disk’s status = offline in Windows OS and provide disk information to the support team (they will support on the infrastructure side).

Prerequisites: VMware Tools must be installed & VM is powered off.

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

Step 2: Click card view

Step 3: On the card of the virtual machine that you want to start, click DETAILS.

Step 4: To enable\disable Hot-add for CPU\Memory, Click Compute > Edit (CPU section or Memory section)

Step 5: Enable toggle and click Save

  1. VMware has set a maximum value for hot-add memory. By default, this value is 16 times the memory assigned to the virtual machine. (https://kb.vmware.com/s/article/2020846)

  2. If you are running WM with Linux OS having less than 3GB RAM, you can change the memory to only 3GB RAM in total if you need more. You must power off the VM, increase memory to, for example, 4 GB RAM, and power it on again. (https://kb.vmware.com/s/article/2008405).

Step 6: To customize Guest OS, Click Guest OS Customization > EDIT

TIP: Guest OS Customization will help you prepare the logon, change the password, \ Join the Domain (just for Windows) in the first boot after deploying.

Step 7: On Edit Guest Properties

Depends on the guest OS – Linux or Windows. The view of this page has some differences:

  • The Enable guest customization check box is selected.

  • Change the SID option (for Windows OS)

  • Select Allow local administrator password

  • Select Require administrator to change the password on the first login to require all administrators to change the password upon initial login (Administrators must know the old password)

  • Select Auto Generate password or Specify password (if you want to define it yourself).

  • Join Domain (this session is for Windows OS)

Step 8: Click Save

Step 1: On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Virtual Machines.

Step 2: Click card view

Step 3: On the card of the virtual machine that you want to start, click ACTIONS.

Step 4: Click Create Template

On the Add to Catalog page

Step 5: Select the catalog that will store this template

Step 6: Enter the Name of the template

Step 7: Select Customize VM setting and click OK to process

Overview

Procedure

Attention: VM’s state must be powered off.

Attention: vSphere restriction attention: vSphere restriction

The other way to create the template by upload your template to HI GIO

The maximum import size is 50 GB. Large image files or templates might take a long time to upload. For assistance with files larger than 50 GB, request the support team.