Proxmox VE Installation Lab: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
You will be assigning static IPs to your systems in this lab. Please use these settings:
You will be assigning static IPs to your systems in this lab. Please use these settings:
* Subnet Mask: 255.255.255.0
* Subnet Mask: 255.255.255.0
* Default Gateway: 172.17.51.1
* Default Gateway: 192.168.1.1
* DNS Server 172.17.139.11
* DNS Server 192.168.1.1


{| class="wikitable" style="display: inline-table;"
{| class="wikitable" style="display: inline-table;"
! System !! IP
! System !! IP
|-
|-
| Pod 1 hv A || 172.17.51.30
| HV-A || 192.168.1.10
|-
|-
| Pod 1 hv B || 172.17.51.31
| HV-B || 192.168.1.11
|-
| Pod 1 PC A || 172.17.51.32
|-
| Pod 2 hv C || 172.17.51.35
|-
| Pod 2 hv D || 172.17.51.36
|-
| Pod 2 PC B || 172.17.51.37
|-
| Pod 3 hv E || 172.17.51.40
|-
| Pod 3 hv F || 172.17.51.41
|-
| Pod 3 PC C || 172.17.51.42
|}
{| class="wikitable" style="display: inline-table;"
! System !! IP
|-
| Pod 4 hv G || 172.17.51.45
|-
| Pod 4 hv H || 172.17.51.46
|-
| Pod 4 PC D || 172.17.51.47
|-
| Pod 5 hv I || 172.17.51.50
|-
| Pod 5 hv J || 172.17.51.51
|-
| Pod 5 PC E || 172.17.51.52
|-
| Pod 6 hv K || 172.17.51.55
|-
| Pod 6 hv L || 172.17.51.56
|-
| Pod 6 PC F || 172.17.51.57
|}
{| class="wikitable" style="display: inline-table;"
! System !! IP
|-
| Pod 7 hv M || 172.17.51.60
|-
| Pod 7 hv N || 172.17.51.61
|-
| Pod 7 PC G || 172.17.51.62
|}
|}


Line 60: Line 16:
# You will be installing a Proxmox VE server on the two hypervisor (hv) VMs assigned to you (so do all these steps, unless otherwise indicated, on each computer). If you are unsure about how to do something try checking the [https://pve.proxmox.com/wiki/Main_Page Proxmox Wiki site] first.
# You will be installing a Proxmox VE server on the two hypervisor (hv) VMs assigned to you (so do all these steps, unless otherwise indicated, on each computer). If you are unsure about how to do something try checking the [https://pve.proxmox.com/wiki/Main_Page Proxmox Wiki site] first.
#* NOTE: Be sure to use a unique hostname on each Proxmox server, otherwise you will have issues connecting them together in a future lab.
#* NOTE: Be sure to use a unique hostname on each Proxmox server, otherwise you will have issues connecting them together in a future lab.
# Two hypervisor VMs (labeled 2300 hv X where X is the VM ID letter in the table above) have been provided for you which you will be installing ProxMox VE on, each has:
# Two hypervisor VMs (labeled HV-A and HV-B) have been provided for you which you will be installing ProxMox VE on, each has:
#* 24GB RAM
#* 24GB RAM
#* 300GB Hard Drive
#* 300GB Hard Drive
#* 2 CPUs
#* 2 CPUs
#* Enabled VTi/VTx Virtualization for the processors
#* Enabled VTi/VTx Virtualization for the processors
# VMs are located on the https://netlab-ihcc.campus.ihitc.net server system, be sure you are connected to the ITCnet VPN before attempting to access this system
# VMs are located on the https://ihcc-netlab.campus.ihitc.net Netlab system, be sure you are connected to the ITCnet VPN before attempting to access this system
#* NOTE: Make sure you are working on the VMs in the ITC-2300 resource group and not in the Remote Network Pods resource group
#* NOTE: You will need to make a reservation for the Proxmox Labs in this class before you are able to access the VMs. Changes will be saved between your reservations so you will be able to make multiple reservations over several days as needed to complete labs.
# Locate the Proxmox VE installer ISO file and ensure it is loaded from the datastore into the CD drive of each of your VMs
#* NOTE: If you need to split your work up across multiple reservations be sure to safely shutdown your Proxmox VMs before ending your Netlab reservation. Otherwise when your reservation ends Netlab will simply power off your VMs (without shutting them down first) which could cause data corruption.
#* NOTE: The CD is probably pre-loaded in your VM
#* NOTE: If you make a mistake and need to have one or both of your HV VMs erased so you can re-install Proxmox you will need to contact your instructor or the ITC lab assistant to have them reset.
# The Proxmox VE installer ISO file has been pre-loaded into the CD drive of each of your HV VMs
# Start the Proxmox VE installation (on both VMs) making note of these options:
# Start the Proxmox VE installation (on both VMs) making note of these options:
#* Set the Country to United States and Timezone to America/Chicago
#* Set the Country to United States and Timezone to America/Chicago
#* Record the administrative password for future use
#* Record the administrative password for future use, it is strongly suggested you use "itc2300" as the administrative password so that you can reference it here and your instructor can assist with issues in your lab.
#* Set the IP address for each Proxmox system using table above
#* Set the IP address for each Proxmox system using table above
#* Make sure the hostname is different on each Proxmox VE server and ends with .itc2300.campus.ihitc.net
#* Make sure the hostname is different on each Proxmox VE server and ends with .itc2300.campus.ihitc.net
#** It is recommended you set the name to "pod1proxmoxA.itc2300.ihitc.net" (change as needed for your pod number and hv VM ID letter)
#** It is recommended you set the name to "podXproxmoxA.itc2300.ihitc.net" (change as needed for your pod letter and HV VM ID letter)
# Once installation is finished use a web browser on your host system to access the Proxmox VE server's web interface as the root user (username root) and password set during the installation
# Once installation is finished use a web browser on PC-C to access the Proxmox VE server's web interface as the root user (username root) and password set during the installation
#* NOTE: The password for the "Nelab User" account on PC-C is "netlab"
# Add a second user account to Proxmox VE and set it up with administrative access. Set the second account up as a Proxmox VE Authentication Server realm account meaning it will only be available in Proxmox and not on the underlying Linux system.
# Add a second user account to Proxmox VE and set it up with administrative access. Set the second account up as a Proxmox VE Authentication Server realm account meaning it will only be available in Proxmox and not on the underlying Linux system.
#* NOTE: You may want to read up about [https://pve.proxmox.com/wiki/User_Management#pveum_permission_management objects and paths] for user accounts in Proxmox you will need to set a path for the account in order to get administrative permissions working. This is a bit trickier to get right than it may seem at first.
#* NOTE: You may want to read up about [https://pve.proxmox.com/wiki/User_Management#pveum_permission_management objects and paths] for user accounts in Proxmox you will need to set a path for the account in order to get administrative permissions working. This is a bit trickier to get right than it may seem at first.
# Log out of the root account and in using the secondary account you just created
# Log out of the root account and login to the Proxmox web administrative interface using the secondary account you just created
# One remote desktop VM (labeled 2300 PC X where X is the VM ID letter in the table above) has been provided for you which you will be installing Windows 10 on. Connect to this PC and install Windows 10. You will use this remote desktop to manage and upload content to your Proxmox servers that would be too large to upload from your home computer across the Internet.
# Use PC-C to upload Windows 10 and Linux Mint ISO files to the Proxmox VE server using the web interface
# If your have finished installing Windows 10 on the remote desktop VM Connect to your remote desktop VM and use that to upload Windows 10 and Linux Mint ISO files to the Proxmox VE server using the web interface
#* You may have problems uploading the ISO files with the Edge browser so Firefox or Chrome is suggested if you have issues uploading
#* You may have problems uploading the ISO files with the Edge browser so you may want to install Firefox or Chrome if you have issues uploading
#* The ISO files can be found on the Windows SMB fileshare "\\172.17.139.70\Student Files\ITC2300" which you can access from PC-C. Use your VPN login credentials but with @campus.ihitc.net on the end like username@campus.ihitc.net to access the files.
#* The ISO files can be found on the Windows SMB share "\\san1.campus.ihitc.net\Student Files\ITC2300" which you can access from your remote desktop VM.
#** Fileshares in Windows 10 can be accessed by clicking on the start menu and just typing the UNC path to a fileshare like \\172.17.139.70\
# Try creating both a Windows 10 and Linux Mint VM (only on your first Proxmox VE server) and complete the installation (use KVM as the VM type)
# Try creating both a Windows 10 and Linux Mint VM (only on Proxmox VE server A!) and complete the installation (use KVM as the VM type)
#* NOTE: It is recommended that you disconnect/disable the virtual network interface on the Windows 10 system before installing so that you will not need to sign in with a Microsoft account. Don't forget to re-enable the network interface after completing the installation.
#* NOTE: Choose that you don't have a product key when installing Windows, we'll just use the trial version of Windows 10 Education
#* NOTE: Choose that you don't have a product key when installing Windows, we'll just use the trial version of Windows 10 Education
# Safely shut down your Windows and Linux Mint guest systems
# Safely shut down your Windows and Linux Mint guest systems
# Safely shutdown your Proxmox VE servers
# Safely shutdown your Proxmox VE servers
# Safely shutdown your remote desktop VM
# End your Netlab Reservation

Latest revision as of 01:33, 16 September 2021

IP Addressing

You will be assigning static IPs to your systems in this lab. Please use these settings:

  • Subnet Mask: 255.255.255.0
  • Default Gateway: 192.168.1.1
  • DNS Server 192.168.1.1
System IP
HV-A 192.168.1.10
HV-B 192.168.1.11

Instructions

  1. You will be installing a Proxmox VE server on the two hypervisor (hv) VMs assigned to you (so do all these steps, unless otherwise indicated, on each computer). If you are unsure about how to do something try checking the Proxmox Wiki site first.
    • NOTE: Be sure to use a unique hostname on each Proxmox server, otherwise you will have issues connecting them together in a future lab.
  2. Two hypervisor VMs (labeled HV-A and HV-B) have been provided for you which you will be installing ProxMox VE on, each has:
    • 24GB RAM
    • 300GB Hard Drive
    • 2 CPUs
    • Enabled VTi/VTx Virtualization for the processors
  3. VMs are located on the https://ihcc-netlab.campus.ihitc.net Netlab system, be sure you are connected to the ITCnet VPN before attempting to access this system
    • NOTE: You will need to make a reservation for the Proxmox Labs in this class before you are able to access the VMs. Changes will be saved between your reservations so you will be able to make multiple reservations over several days as needed to complete labs.
    • NOTE: If you need to split your work up across multiple reservations be sure to safely shutdown your Proxmox VMs before ending your Netlab reservation. Otherwise when your reservation ends Netlab will simply power off your VMs (without shutting them down first) which could cause data corruption.
    • NOTE: If you make a mistake and need to have one or both of your HV VMs erased so you can re-install Proxmox you will need to contact your instructor or the ITC lab assistant to have them reset.
  4. The Proxmox VE installer ISO file has been pre-loaded into the CD drive of each of your HV VMs
  5. Start the Proxmox VE installation (on both VMs) making note of these options:
    • Set the Country to United States and Timezone to America/Chicago
    • Record the administrative password for future use, it is strongly suggested you use "itc2300" as the administrative password so that you can reference it here and your instructor can assist with issues in your lab.
    • Set the IP address for each Proxmox system using table above
    • Make sure the hostname is different on each Proxmox VE server and ends with .itc2300.campus.ihitc.net
      • It is recommended you set the name to "podXproxmoxA.itc2300.ihitc.net" (change as needed for your pod letter and HV VM ID letter)
  6. Once installation is finished use a web browser on PC-C to access the Proxmox VE server's web interface as the root user (username root) and password set during the installation
    • NOTE: The password for the "Nelab User" account on PC-C is "netlab"
  7. Add a second user account to Proxmox VE and set it up with administrative access. Set the second account up as a Proxmox VE Authentication Server realm account meaning it will only be available in Proxmox and not on the underlying Linux system.
    • NOTE: You may want to read up about objects and paths for user accounts in Proxmox you will need to set a path for the account in order to get administrative permissions working. This is a bit trickier to get right than it may seem at first.
  8. Log out of the root account and login to the Proxmox web administrative interface using the secondary account you just created
  9. Use PC-C to upload Windows 10 and Linux Mint ISO files to the Proxmox VE server using the web interface
    • You may have problems uploading the ISO files with the Edge browser so Firefox or Chrome is suggested if you have issues uploading
    • The ISO files can be found on the Windows SMB fileshare "\\172.17.139.70\Student Files\ITC2300" which you can access from PC-C. Use your VPN login credentials but with @campus.ihitc.net on the end like username@campus.ihitc.net to access the files.
      • Fileshares in Windows 10 can be accessed by clicking on the start menu and just typing the UNC path to a fileshare like \\172.17.139.70\
  10. Try creating both a Windows 10 and Linux Mint VM (only on Proxmox VE server A!) and complete the installation (use KVM as the VM type)
    • NOTE: It is recommended that you disconnect/disable the virtual network interface on the Windows 10 system before installing so that you will not need to sign in with a Microsoft account. Don't forget to re-enable the network interface after completing the installation.
    • NOTE: Choose that you don't have a product key when installing Windows, we'll just use the trial version of Windows 10 Education
  11. Safely shut down your Windows and Linux Mint guest systems
  12. Safely shutdown your Proxmox VE servers
  13. End your Netlab Reservation