...
- A VM host is a physical computer running a VMware hypervisor
- A VCL computer entry must be added for each VM host (Manage Computers > Edit Computer Information)
- After the computer has been added to VCL, it is designated as a VM host by changing the computer state to vmhostinuse (Manage Computers > Computer Utilities)
VM
- A VM is a virtual machine managed by VCL
- A computer entry must be added to VCL for each VM (Manage Computers > Edit Computer Information)
- Each VM must be assigned to a VM host (Virtual Hosts > VM Hosts tab > Configure Host)
- VMs do not need to be created manually in VMware, VCL automatically creates and deletes VMs
...
- Create an SSH key pair on the management node (or use a key you previously created):
Tip |
---|
ssh-keygen -t rsa -f /etc/vcl/vcl.key -N '' -b 1024 -C 'VCL root account' |
- Log into the ESX host via SSH (password authentication should work) and create the directory:
Tip |
---|
ssh <ESXi host> 'mkdir /.ssh' |
- Copy the public key to the ESXi host:
ESXi 4.x: Tip |
---|
scp /etc/vcl/vcl.key.pub <ESXi host>:/.ssh/authorized_keys |
ESXi 5.x: Tip |
---|
scp /etc/vcl/vcl.key.pub <ESXi host>:/etc/ssh/keys-root/authorized_keys |
- Test making an SSH connection using the key:
Tip |
---|
ssh -i /etc/vcl/vcl.key <ESXi host> |
IMPORTANT: Under ESXi 4.x, the authorized_keys file is erased when the ESXi VM host is rebooted. Complete the following steps to make the authorized_keys file persistent:
...