Saturday, June 30, 2012

VMware Esxi 5 如何添加/激活注册码


connect via vShpere Client->xxx (the VM ip)-->Configuration(tab)
-->Software-->Licensed Features-->Edit(right top)-->
Assign a new license key to this host -->Enter Key....

费我好几分钟去找。不知道是不是Vmware故意迷惑你让你以为Esxi要花钱

VMware Esxi 5 adding a virtual machine to the inventory 导入旧的VM


You can register a virtual machine in vCenter Server / VirtualCenter or from a command line.
 
To register a virtual machine in vCenter Server:
  1. Open the vSphere / VMware Infrastructure (VI) Client and log in with appropriate credentials.
  2. If connecting to vCenter Server, click on the desired host.
  3. Click the Configuration tab.
  4. Click Storage.
  5. Right-click on the appropriate datastore and click Browse Datastore.
  6. Navigate to the folder named after the virtual machine, and locate the .vmx file. 
  7. Right-click the .vmx file and click Add to inventory. The Add to Inventory wizard opens. 
  8. Continue to follow the wizard to add the virtual machine.
To register a virtual machine from a command line:
  1. Log in as root to the ESX host with an SSH client.
  2. Run the command:
    # vmware-cmd -s register \.vmx
To register a virtual machine from a command line on an ESXi host:
  1. Log in as root to the ESXi host with an SSH client. For information on using Tech Support mode, see Using Tech Support Mode in ESXi 4.1 (1017910).
  2. Run the command:

    # vim-cmd solo/registervm /vmfs/volumes/datastore_name/VM_directory/VM_name.vmx