9286a8e48be142462f7dd1396ec048b2554cc47c
windesheim-iac
Setup ESXi Hypervisor
- In Skylab request a new ESXi hypervisor with 4 cores and 16 gb of RAM.
- Add a new dish with 50 gb of storage.
Note
The hypervisor does not accept SSH connections yet, or incoming connections from the VPN Network.
- Connect to the remote console of the ESXi hypervisor.
- Press F2 to login.
- Navigate to
Troubleshooting Options
→Enable SSH
. - Restart Management Agents (under "Restart Management Network").
- From within a reachable VM on the VPN Network, SSH into the ESXi Hypervisor. (e.g. first SSH into
192.168.1.10
, then from that session SSH into192.168.1.5
)- Enable incoming trafic from the VPN subnet:
esxcli network ip route ipv4 add --gateway=192.168.1.1 --network=10.0.0.0/24
- Enable this on startup:
vi /etc/rc.local.d/local.sh
- Add just before the final
exit 0
line:esxcli network ip route ipv4 add --gateway=192.168.1.1 --network=10.0.0.0/24
- Enable incoming trafic from the VPN subnet:
Now you can access the ESXi dashboard on 192.168.1.5
(or whatever the ip of the hypervisor is).
Description
Lab week 2
Latest
Languages
HCL
100%