Change CPU, Memory, Network, HDD specs after a VM is created



The following Virtual Machine specs can be updated via the VSS Portal:

  • Memory - Size of the Virtual Machine memory.

  • CPU - Number of virtual CPUs.

  • CD/DVD backend - Client device or one of our ISO images (Load an ISO image in a Virtual Machine)

  • Networking - Add/remove interface or update backend network. 

  • Hard Disk Drive - Update capacity, add new or delete disk.

  • State - Power On/Off, Reset, Restart, Delete.

  • Name - Virtual Machine Name.

  • Folder - Containing Folder.

  • Admin - VM main contact.

  • Usage - Update its usage to either Production, Development, QA or Testing.

  • Description - Application and/or service description.

  • Storage Type - Storage compute cluster backed by SSD or HDD.

  • Boot Delay* - This adds a delay to the initial POST screen, showing it for longer and giving you more time to access the BIOS setup. 

  • Informational contacts. Contacts listed wouldn't necessarily need to know deep technical details, just that something is happening (or has happened) that could affect their application or their service connected with that VM.

  • Template. Transform your virtual machine into a template to deploy multiple virtual machines and to keep the current installed software as a reference for new deployments.

*Virtual Machine needs to be Powered Off.

However, the VSS CLI provides more attributes to update and advanced features to schedule changes.

Step-by-step guide vss-portal

  1. Login to https://vss-portal.eis.utoronto.ca

  2. Look for the VM to edit and click the button.

  3. From the VM tab, click con the area you wish to change.

  4. Update the required information.

  5. Click on SAVE.

Step-by-step guide vss-cli

Using https://vss-cli.eis.utoronto.ca or a local VSS CLI install

  1. Look for the VM moref (id) with the ls command:

    vss-cli compute vm ls
  2. Use the set command to change any of the supported attributes vss-cli compute vm set <name-or-vm-id> <subcommand>:

    Usage: vss-cli compute vm set [OPTIONS] VM_ID_OR_NAME COMMAND [ARGS]... Manage virtual machine resources. Such as cpu, memory, disk, network backing, cd, etc. Options: -s, --schedule [%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M] Schedule change in a given point in time based on format YYYY-MM-DD HH:MM. -u, --user-meta TEXT User metadata in key=value format. These tags are stored in the request. --dry-run no changes --help Show this message and exit. Commands: admin Administrator alarm Acknowledge or clear alarms boot-bios Enable or disable Boot to BIOS boot-delay Boot delay in milliseconds cd CD/DVD device management client Client (Metadata) client-note Client note (Metadata) consolidate Disk consolidation controller IDE/SCSI controller management cpu Update virtual machine CPU count and settings. custom-spec Custom specification description Description (Metadata) disk Disk management domain Domain migration export Export to OVF extra-cfg GuestInfo extra config entries. firmware Update firmware floppy Floppy device management folder Logical folder guest-cmd Execute command on OS host ha-group HA Group (Metadata) inform Informational contacts (Metadata) memory Update virtual machine Memory count and settings. name Logical name nic Network adapter management os Update operating system retire VM retirement. secure-boot Enable or disable Secure Boot snapshot Snapshot management state Power state storage-type Storage type management template Mark vm as template or vice versa. tools Manage VMware Tools tpm TPM management usage Usage (Metadata) vbs VBS management version Manage virtual machine virtual hardware version and... vmrc-copy-paste Enable or disable VMRC copy-paste settings vss-option Enable or disable given vss-option vss-preference Manage VSS preferences vss-service VSS Service name or ID

     

  3. Examples are available in the VSS CLI documentation or explore the VSS CLI with the VSS CLI Shell with vss-cli shell:



University of Toronto - Since 1827