10.7. Editing Virtual Machines
- 10.7.1. Editing Virtual Machine Properties
- 10.7.2. Network Interfaces
- 10.7.3. Virtual Disks
- 10.7.4. Extending the Available Size of a Virtual Disk
- 10.7.5. Floating Disks
- 10.7.6. Associating a Virtual Disk with a Virtual Machine
- 10.7.7. Changing the CD for a Virtual Machine
- 10.7.8. Smart card Authentication
- 10.7.9. Enabling and Disabling Smart cards
10.7.1. Editing Virtual Machine Properties
Procedure 10.10. Editing a virtual machine:
- Select the virtual machine to be edited.
- Click the button to open the Edit Virtual Machine window.
- Change the General, System, Initial Run, Console, Host, High Availability, Resource Allocation, Boot Options, Random Generator, Custom Properties, and Icon fields as required.Changes to the following fields are applied immediately:
- Name
- Description
- Comment
- Optimized for (Desktop/Server)
- Delete Protection
- Network Interfaces
- Use custom migration downtime
- Highly Available
- Priority for Run/Migration queue
- Disable strict user checking
- Virtual Sockets (On supported guest operating systems only. For more information on hot plugging CPUs, see https://access.redhat.com/articles/1339413)
To apply changes to all other settings, the virtual machine must be restarted or shut down. - If the Next Restart Configuration pop-up window appears, click .
- Click .
) appears as a reminder of the pending changes.
10.7.2. Network Interfaces
10.7.2.1. Adding and Editing Virtual Machine Network Interfaces
Procedure 10.11. Adding Network Interfaces to Virtual Machines
- Click the Virtual Machines tab and select a virtual machine.
- Select the Network Interfaces tab in the details pane to display a list of network interfaces that are currently associated with the virtual machine.
- Click to open the New Network Interface window.
- Enter the Name of the network interface.
- Use the drop-down lists to select the Profile and the Type of network interface for the new network interface.The Link State is set to Up by default when the network interface card is defined on the virtual machine and connected to the network.
Note
The Profile and Type fields are populated in accordance with the profiles and network types available to the cluster and the network interface cards available to the virtual machine. - Select the Custom MAC address check box and enter a MAC address for the network interface card as required.
- Click .
10.7.2.2. Editing a Network Interface
Procedure 10.12. Editing a Network Interface
- Click the Virtual Machines tab and select a virtual machine.
- Click the Network Interfaces tab of the details pane and select the network interface to edit.
- Click to open the Edit Network Interface window. This dialog contains the same fields as the New Network Interface dialog.
- Click to save your changes once you are finished.
10.7.2.3. Removing a Network Interface
Procedure 10.13. Removing a Network Interface
- Click the Virtual Machines tab and select a virtual machine.
- Click the Network Interfaces tab of the details pane and select the network interface to remove.
- Click and click when prompted.
10.7.2.4. Explanation of Settings in the Virtual Machine Network Interface Window
Table 10.15. Add a network interface to a virtual machine entries
|
Field Name
|
Description
|
|---|---|
|
Name
|
The name of the network interface. This text field has a 21-character limit and must be a unique name with any combination of uppercase and lowercase letters, numbers, hyphens, and underscores.
|
|
Network
|
Logical network that the network interface is placed on. By default, all network interfaces are put on the rhevm management network.
|
|
Link State
|
Whether or not the network interface is connected to the logical network.
|
|
Type
|
The virtual interface the network interface presents to virtual machines. VirtIO is faster but requires VirtIO drivers. Red Hat Enterprise Linux 5 and higher includes VirtIO drivers. Windows does not include VirtIO drivers, but they can be installed from the guest tools ISO or virtual floppy disk. rtl8139 and e1000 device drivers are included in most operating systems.
|
|
Specify custom MAC address
|
Choose this option to set a custom MAC address. The Red Hat Enterprise Virtualization Manager automatically generates a MAC address that is unique to the environment to identify the network interface. Having two devices with the same MAC address online in the same network causes networking conflicts.
|
|
Port Mirroring
|
A security feature that allows all network traffic going to or leaving from virtual machines on a given logical network and host to be copied (mirrored) to the network interface. If the host also uses the network, then traffic going to or leaving from the host is also copied.
Port mirroring only works on network interfaces with IPv4 IP addresses.
|
|
Card Status
|
Whether or not the network interface is defined on the virtual machine.
|
10.7.2.5. Hot Plugging Network Interfaces
Procedure 10.14. Hot plugging network interfaces
- Click the Virtual Machines tab and select a virtual machine.
- Select the Network Interfaces tab from the details pane of the virtual machine.
- Select the network interface you would like to hot plug and click to open the Edit Network Interface window.
- Click the Advanced Parameters arrow to access the Card Status option. Set the Card Status to Plugged to enable the network interface, or set it to Unplugged to disable the network interface.
10.7.2.6. Removing Network Interfaces From Virtual Machines
Procedure 10.15. Removing Network Interfaces From Virtual Machines
- Click the Virtual Machines tab and select a virtual machine.
- Select the Network Interfaces tab in the virtual machine details pane.
- Select the network interface to remove.
- Click the button and click when prompted.
10.7.3. Virtual Disks
10.7.3.1. Adding and Editing Virtual Machine Disks
Procedure 10.16. Adding Disks to Virtual Machines
- Click the Virtual Machines tab and select a virtual machine.
- Click the Disks tab in the details pane to display a list of virtual disks currently associated with the virtual machine.
- Click to open the Add Virtual Disk window.
- Use the appropriate radio buttons to switch between Internal and the External (Direct Lun) disks.
- Select the Attach Disk check box to choose an existing disk from the list and select the Activate check box.Alternatively, enter the Size, Alias, and Description of a new disk and use the drop-down menus and check boxes to configure the disk.
- Click to add the disk and close the window.
10.7.3.2. Hot Plugging Virtual Machine Disks
Procedure 10.17. Hot Plugging Virtual Machine Disks
- Click the Virtual Machines tab and select a virtual machine.
- Select the Disks tab from the details pane of the virtual machine.
- Select the virtual machine disk you would like to hot plug.
- Click the button, or click the button and click OK when prompted.
10.7.3.3. Removing Virtual Disks From Virtual Machines
Procedure 10.18. Removing Virtual Disks From Virtual Machines
- Click the Virtual Machines tab and select a virtual machine.
- Select the Disks tab in the virtual machine details pane.
- Select the virtual disk to remove.
- Click the button and click when prompted.
- Click the button and click when prompted. Optionally, select the Remove Permanently option to completely remove the virtual disk from the environment. If you do not select this option - for example, because the disk is a shared disk - the virtual disk will remain in the Disks resource tab.
10.7.4. Extending the Available Size of a Virtual Disk
fdisk utility to resize the partitions and file systems as required. See How to Resize a Partition using fdisk for more information.
Procedure 10.19. Extending the Available Size of a Virtual Disk
- Click the Virtual Machines tab and select a virtual machine.
- Select the Disks tab in the details pane.
- Select a target disk from the list in the details pane.
- Click in the details pane.
- Enter a value in the
Extend size by(GB)field. - Click .
locked for a short time, during which the drive is resized. When the resizing of the drive is complete, the status of the drive becomes OK.
10.7.5. Floating Disks
10.7.6. Associating a Virtual Disk with a Virtual Machine
Procedure 10.20. Associating a Virtual Disk with a Virtual Machine
- Click the Virtual Machines tab and select a virtual machine.
- In the details pane, select the Disks tab.
- Click in the menu at the top of the Details Pane.
- Type the size in GB of the disk into the Size(GB) field.
- Type the disk alias into the Alias field.
- Click in the bottom right corner of the Add Virtual Disk window.The disk you have associated with the virtual machine appears in the details pane after a short time.
Note
Note
10.7.7. Changing the CD for a Virtual Machine
Note
Procedure 10.21. Changing the CD for a Virtual Machine
- From the Virtual Machines tab, select a virtual machine that is currently running.
- Click to open the Change CD window.
- In the Change CD window do one of the following:
- Select an ISO file from the list to eject the CD currently accessible to the virtual machine and mount that ISO file as a CD.Or,
- Select from the ISO list to eject the CD currently accessible to the virtual machine.
- Click .
10.7.8. Smart card Authentication
10.7.9. Enabling and Disabling Smart cards
Procedure 10.22. Enabling Smart cards
- Ensure that the Smart card hardware is plugged into the client machine and is installed according to manufacturer's directions.
- Select the desired virtual machine.
- Click the button. The window appears.
- Select the tab, and select the check box labeled , then click .
- Run the virtual machine by clicking the icon or through the User Portal. Smart card authentication is now passed from the client hardware to the virtual machine.
Important
Procedure 10.23. Disabling Smart cards
- Select the desired virtual machine.
- Click the button. The window appears.
- Select the tab, and clear the check box labeled , then click .

