Adding software license information

Here we describe how to add software license information from this service to virtual machines you bring on Dedicated Hypervisor. To use this function, the virtual machine need to be turn off in advance.

Bring your own virtual machine to ESXi

Here we will inform you on how to implement migration process using GUI.
Confirm beforehand that the virtual machine to be migrated is already registered on ESXi on the dedicated hypervisor and the power of the virtual machine is off.

The list of server will be displayed after selecting “Dedicated Hypervisor”, “vSphere” and “vSphere ESXi”.
Click “Add Lincense” button after selecting Hypervisor on which target virtual machines are registered.
Move to the screen where you select target virtual machines and software license.
Specify target virtual machine by “name” and “ID”.

Select one or multiple software license you use from “Lincense Type”.
Click “Add License”.

Completion of adding license window shows up after a while.

Note

In case that there are multiple virtual machines with same name as target virtual machine, you can specify license switch target machines by using ID.
Please input “uuid” as ID in case of ESXi.

How to get uuid information

You can get “uuid” by executing following command after log in to hypervisor.

1.Get target virtual machine id by using “getallvms” command

1
2
3
4
5
6
7
# input
vim-cmd vmsvc/getallvms

# output example
~ # vim-cmd  vmsvc/getallvms
Vmid  Name  File  Guest OS  Version  Annotation
1 RedHatEnterpriseLinux-7.1_64  [datastore1] RedHatEnterpriseLinux-7.1_64_include-license_hw9_vSphere-ESXi_03/RedHatEnterpriseLinux-7.1_64_include-license_hw9_vSphere-ESXi_03.vmx rhel7_64Guest vmx-09

2.Get “uuid” specified on get.summary <vm_id>

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# input
vim-cmd vmsvc/get.summary 1

# output example
Listsummary:
(vim.vm.Summary) {
   dynamicType = <unset>,
   vm = 'vim.VirtualMachine:1',
   runtime = (vim.vm.RuntimeInfo) {
      dynamicType = <unset>,
      host = 'vim.HostSystem:ha-host',
      connectionState = "connected",
      powerState = "poweredOff",

      ... (Omission)

   guest = (vim.vm.Summary.GuestSummary) {
      dynamicType = <unset>,
      guestId = "rhel7_64Guest",
      guestFullName = "Red Hat Enterprise Linux 7 (64-bit)",
      toolsStatus = "toolsOk",
      toolsVersionStatus = "guestToolsCurrent",
      toolsVersionStatus2 = "guestToolsCurrent",
      toolsRunningStatus = "guestToolsRunning",
      hostName = "localhost",
      ipAddress = <unset>,
   },
   config = (vim.vm.Summary.ConfigSummary) {
      dynamicType = <unset>,
      name = "RedHatEnterpriseLinux-7.1_64",
      template = false,
      vmPathName = "[datastore1] RedHatEnterpriseLinux-7.1_64_include-license_hw9_vSphere-ESXi_03/RedHatEnterpriseLinux-7.1_64_include-license_hw9_vSphere-ESXi_03.vmx",
      memorySizeMB = 1024,
      cpuReservation = 0,
      memoryReservation = 0,
      numCpu = 1,
      numEthernetCards = 0,
      numVirtualDisks = 1,
      uuid = "564defa2-9536-799b-a92d-95a9289ebc57",      # Please get this uuid
      instanceUuid = "52a27108-cc72-50c8-d9f4-5fdf052de500",
      guestId = "rhel7_64Guest",
      guestFullName = "Red Hat Enterprise Linux 7 (64-bit)",
      annotation = "",
      product = (vim.vApp.ProductInfo) null,
      installBootRequired = <unset>,
      ftInfo = (vim.vm.FaultToleranceConfigInfo) null,
      managedBy = (vim.ext.ManagedByInfo) null,
   },
   storage = (vim.vm.Summary.StorageSummary) {
      dynamicType = <unset>,
      committed = 3215993311,
      uncommitted = 40939553345,
      unshared = 3215993311,
      timestamp = "2017-02-27T14:14:47.624155Z",
   },
   quickStats = (vim.vm.Summary.QuickStats) {
      dynamicType = <unset>,

      ... (Omission)

      compressedMemory = 0,
      uptimeSeconds = 642947,
      ssdSwappedMemory = <unset>,
   },
   overallStatus = "green",
}

Bring your own virtual machine on Hyper-V

Here we will inform you on how to implement migration process using GUI.
Please verify beforehand that the virtual machine to be migrated is already registered on Hyper - V on the dedicated hypervisor and the power of the virtual machine is off.

The list of server will be displayed after selecting “Dedicated Hypervisor”, “Hyper-V” and “Hyper-V”.
Click “Add Lincense” button after selecting Hypervisor on which target virtual machines are registered.

Move to the screen where you select target virtual machines and software license.
Specify target virtual machine by “name” and “ID”.

Select one or multiple software license you use from “Lincense Type”.
Click “Add License”.

Note

In case that there are multiple virtual machines with same name as target virtual machine, you can specify license switch target machines by using ID.
Please input “id” as ID in case of Hyper-V.

How to get uuid information

You can get “id” by executing following command on PowerShell after log in to hypervisor.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# input
Get-VM -VMName <VM name> | Select-Object *

# output example
VMName                      : win2008
VMId                        : 81a14db5-8207-4e1c-892d-4b42d3a7e9c6
Id                          : 81a14db5-8207-4e1c-892d-4b42d3a7e9c6     # Please get this id
Name                        : win2008
State                       : Running
IntegrationServicesState    :
OperationalStatus           : {Ok}
PrimaryOperationalStatus    : Ok
SecondaryOperationalStatus  :
StatusDescriptions          : {Operating normally}
PrimaryStatusDescription    : Operating normally
SecondaryStatusDescription  :
Status                      : Operating normally
Heartbeat                   : NoContact
ReplicationState            : Disabled
ReplicationHealth           : NotApplicable
ReplicationMode             : None
CPUUsage                    : 0
MemoryAssigned              : 1073741824
MemoryDemand                : 0
MemoryStatus                :
SmartPagingFileInUse        : False
Uptime                      : 1.06:20:01
IntegrationServicesVersion  :
ResourceMeteringEnabled     : False
ConfigurationLocation       : C:\ProgramData\Microsoft\Windows\Hyper-V
SnapshotFileLocation        : C:\ProgramData\Microsoft\Windows\Hyper-V
AutomaticStartAction        : StartIfRunning
AutomaticStopAction         : Save
AutomaticStartDelay         : 0
SmartPagingFilePath         : C:\ProgramData\Microsoft\Windows\Hyper-V
NumaAligned                 : True
NumaNodesCount              : 1
NumaSocketCount             : 1
Key                         : Microsoft.HyperV.PowerShell.VirtualMachineObjectKey
IsDeleted                   : False
ComputerName                : ECL_TESTS-LAB1
Version                     : 5.0
Notes                       :
Generation                  : 2
Path                        : C:\ProgramData\Microsoft\Windows\Hyper-V
CreationTime                : 3/12/2017 10:28:29 PM
IsClustered                 : False
SizeOfSystemFiles           : 49708
ParentSnapshotId            :
ParentSnapshotName          :
MemoryStartup               : 1073741824
DynamicMemoryEnabled        : False
MemoryMinimum               : 536870912
MemoryMaximum               : 1099511627776
ProcessorCount              : 1
RemoteFxAdapter             :
NetworkAdapters             : {Network Adapter}
FibreChannelHostBusAdapters : {}
ComPort1                    : Microsoft.HyperV.PowerShell.VMComPort
ComPort2                    : Microsoft.HyperV.PowerShell.VMComPort
FloppyDrive                 :
DVDDrives                   : {DVD Drive on SCSI controller number 0 at location 1}
HardDrives                  : {Hard Drive on SCSI controller number 0 at location 0}
VMIntegrationService        : {Time Synchronization, Heartbeat, Key-Value Pair Exchange, Shutdown...}