Environment Provisioning - absentee-neptune/SYS-350 GitHub Wiki
IPMI and ESXi Configuration
Accessing the SuperMicro server over IPMI
- Navigate to the login screen by inputting
https://super-ipmi5.cyber.local
in the browser- Proceed even though the connection is not private
- Input credentials and login
Installing ESXi HyperVisor
- When logged in, under the tab Virtual Media select CD-ROM Image
- Pull up File Explorer to navigate to the
\\foster-synology.cyber.local
share- Input the foster-synology credentials to continue
- Proceed through the SYS350-SHARE and select the VMware-VMvisor-Installer iso file and copy the path
- Back in the CD-ROM Image menu input the appropriate information into the text boxes
- Don't forget to add .iso at the end of the path file
- Save and then mount the image
- Under the tab Remote Control select iKVM/HTML5
- Select the link to launch it
- When launched this screen should pop up:
- Under the Power Control tab select Set Power Reset to restart the server
- When prompted press
F11
on the virtual keyboard to invoke the Boot Menu
- When prompted press
- Under the boot device menu select the Virtual CDROM option to launch the ESXi installer on the server
- When loaded press
enter
then pressF11
on the virtual keyboard to continue through the installer - A prompt will pop up to select a disk to install ESXi on, select the Micron disk then continue
- When prompted, then select to Install ESXi and overwrite the VMFS datastore, and continue
- When prompted create a root password, then continue
- Finally press
F11
on the virtual keyboard to install
- When loaded press
Configuring ESXi Hypervisor Network Settings
- When the server has fully restarted select
F2
on the virtual keyboard and enter the root password - Select the Configure Management Network option
- Select the IPv4 Configuration option
- Switch the setting to Static IP and set the appropriate IPv4 Address, then press
Enter
- Switch the setting to Static IP and set the appropriate IPv4 Address, then press
- Then select the DNS Configuration option
- The DNS servers are automatically picked up
- Change the hostname to
super5
, then pressEnter
- Select the IPv4 Configuration option
- Press
Esc
to exit the Configure Management Network menu and pressY
to apply the changes and restart the network
Logging in and Setting up VMware ESXi
-
On a new tab in the browser navigate to
https://super5.cyber.local
- Proceed even though the connection is not private
- Input ESXi root credentials and login
-
Select the Storage tab on the side
- Rename
datastore1
todatastore1-super5
- Select New Datastore
- Leave the default selection then press Next
- Name the new datastore
datastore2-super5
, then press Next - Leave the default selection then press Next
- Review the configurations then press Finish
- Rename
Setting up datastore2-super5
- Open
datastore2-super5
and select Datastore Browser - Create a Directory and name it isos
- Making sure you are in the isos directory, select Upload to upload files
- Navigate to
\\foster-synology.cyber.local\SYS350-SHARE\isos
- Upload the .iso files for vyOS, Windows Server, and Xubuntu
- Navigate to
- Close the Datastore Browser when finished
Creating vSwitches
- Select the Network tab on the side, then select Virtual Switches
- Select Add standard virtual switch
- Name it
Nested-LAN
- Delete the Uplink, then press Add
- Name it
Creating Port Groups
- Switch to the Port groups tab
- Select Add port group
- Name it
Nested-LAN
- Tie it to the
Nested-LAN
vSwitch, then press Add
- Name it
Creating a Virtual Machine
- Select the Virtual Machine tab on the side
- Select Create/Register VM
- Leave the default selection then press Next
- Select a name and guest OS
- Name the new VM
fw01
- Switch the Compatability to ESXi 6.5
- Select Linux for the Guest OS family
- Select Debian GNU/Linux 10 (64-bit) for the Guest OS version
- Press Next
- Name the new VM
- Select
datastore2-super5
as the Storage, then press Next - Customize the Settings to match this:
Make sure to change the Disk Provisioning for the Hard Disk to Thin Provisioning
and Select vyOS for the Datastore ISO file - Review the configurations then press Finish
Initial vyOS Configuration
- Power on the VM and open it
- Pick the first option when the main screen pops up to install vyOS
- After it is completed the login option should appear
- Both default username and password is
vyos
- The password will be changed
- Both default username and password is
- When logged in type:
install image
- Pick the defaults throughout
- Choose a strong password
- After the installation is completed type:
reboot
to restart the machine
Configure vyOS Network
- Set eth0 to a Static IP Address, use the following commands:
configure
delete interfaces ethernet eth0 address
set interfaces ethernet eth0 address 192.168.3.45/24
commit
save
- Set eth1 to a Static IP Address, use the following commands:
set interfaces ethernet eth1 address 10.0.17.2/24
commit
save
- Set system gateway address, use the following commands:
set protocols static route 0.0.0.0/0 next-hop 192.168.3.250
commit
save
- Set DNS Servers, use the following commands:
set system name-server 192.168.4.4
set system name-server 192.168.4.5
commit
save
- Set NAT Source address, use the following commands:
set nat source rule 1 outbound-interface eth0
set nat source rule 1 source address 10.0.17.0/24
set nat source rule 1 translation address masquerade
commit
save
- Set DNS listener, use the following commands:
set service dns forwarding allow-from 10.0.17.0/24
set service dns forwarding listen-address 10.0.17.2
set service dns forwarding system
commit
save
- Restart the VM
MGMT01 Set-up and Configuration
- While installing use the default settings
- Log in when the installation has finally completed and the VM has restarted
- Change the network adapter setting from VM Network to Nested-LAN
- Change the network settings to the appropriate network assignment
- Restart the network
AD Set-up and Configuration
Creating the VM
- Select the Virtual Machine tab on the side
- Select Create/Register VM
- Leave the default selection then press Next
- Select a name and guest OS
- Name the new VM
AD
- Switch the Compatability to ESXi 6.5
- Select Windows for the Guest OS family
- Select Windows Server 2016 or later (64-bit) for the Guest OS version
- Press Next
- Name the new VM
- Select
datastore2-super5
as the Storage, then press Next - Customize the Settings to match this:
Make sure to change the Disk Provisioning for the Hard Disks to Thin Provisioning
and Select Windows Server for the Datastore ISO file - Review the configurations then press Finish
- Before starting the machine, change the network adapter to Nested-LAN
- When powered on and gone through the initial user set-up, go to server manager and do the following:
- Change the hostname to
ad
- Change the network settings to the appropriate network assignment
- Change the hostname to
- Then reboot the system
NestedESXi Set-up and Configuration
- Use this template to deploy 3 instances of the Nested ESXI 6.7U3 using the OVA file
- Default Root Password:
VMware1!