Intelligent Desktop Virtualization (IDV) for Education
Mass Provision IDV Server
While the auto IDV Server mass provisioning mechanism currently requires some manual configuration intervention, efforts are actively underway to streamline this process and enhance it for future releases.
Follow the instructions to begin the mass provisioning process for the new IDV Servers.
Prerequisite
Enable PXE boot on IDV Server. Refer to PXE Boot Setup in BIOS.
Setup
- Connect the bare-metal IDV Server to the same network as the Provisioning Server through the ethernet.
- Press the bare-metal IDV Server power button to begin the PXE boot process. If PXE boot does not occur, bring up the boot menu during POST usually by pressing a key on the keyboard (BIOS dependent) and select ‘UEFI PXE’. PXE Boot will be initiated and iPXE boot menu will be shown.
- On the iPXE boot menu, select the idvserver-auto.iso boot image to boot from.
- The operating system installation process will begin automatically, follow the instruction of the installer to kick-start the provisioning process.
- Log in to the ‘sysadmin’ account, the password is ‘Intel@123’. Check for the presence of /opt/idv/auto-install.idvserver.stage2.done file, which indicates the provisioning process has been completed.
- Check the setup log file /opt/idv/auto-install.idvserver.log for any errors. Refer to the IDV Server Installation section for common problems users may have encountered.
- On the Build Server, update the authentication key in the Ubuntu VM created from Create ISO Image for IDV Guest (Ubuntu) with the authentication key from the newly configured IDV Server. The authentication key can be found at /home/idvuser/idvserver_veyon.key. Refer to the steps below on importing the new authentication key into Veyon on Ubuntu VM.
- On the IDV Server, follow the command below to copy the veyon key file to Build Server. <build_server_ip> is the IP address for the Build Server
- To update Veyon key file in Ubuntu VM:
- To update Veyon key file in Windows VM:
sudo scp /home/idvuser/idvserver_veyon.key sysadmin@<build_server_ip>:~/veyonkey/.On Build Server, launch Virtual Machine Manager, run the Ubuntu guest VM.
On Ubuntu VM, launch terminal, copy the veyon key file from Build Server with following command:
sudo scp sysadmin@<build_server_ip>:/home/sysadmin/veyonkey/idvserver_veyon.key idvserver_veyon.pemFor the Ubuntu VM, refer to Create ISO Image for IDV Guest (Ubuntu) to update the veyon key file at Ubuntu VM.
- Follow steps 9 to 10 to copy the host image and guest images if this is a provision server, if not, follow steps 11 onwards.
- Copy the IDV Host ISO image file created from Create ISO Image for IDV Host on the Build Server to the current IDV Server. Replace <build_server_ip> with the IP address of the Build Server and <host_iso_file_path> with the file path to the ISO image file.
- Copy the IDV Guest qcow2 file from the Build Server to the current IDV Server. On the Build Server, follow the instructions below to copy the VM disk image to the new IDV server. Replace <new_idv_server_ip> with the newly provisioned IDV server.
- On the newly configured IDV Server, launch the Terminal application, and execute the instructions below to upload the VM disk image:
- Proceed to the next section for the deployment setup.
- Follow the instructions in the Configure IDV Server as Provision Server for IDV Host section to configure the newly configured IDV Server as the Provisioning Server for IDV Hosts.
- Follow this Configure IDV Host with GUI.
ls /opt/idv/auto-install.idvserver.stage2.done
cat /opt/idv/auto-install.idvserver.log
For Windows VM, launch the terminal at Build server. Follow the command below:
# Start guest VM
$ cd /home/$USER/idvguest_windows
$ sudo -E ./start_windows.sh
On Windows VM, launch terminal, copy the veyon key file from Build Server with following command:
sudo scp sysadmin@<build_server_ip>:/home/sysadmin/veyonkey/idvserver_veyon.key idvserver_veyon.pem
Refer to Create ISO Image for IDV Guest (Windows) to update the veyon key file at Windows VM.
mkdir -p ~/iso/host
scp sysadmin@<build_server_ip>:<host_iso_file_path>/* ~/iso/host
sudo -i
# For Ubuntu VM
scp /var/lib/libvirt/images/ubuntu_22.qcow2 sysadmin@<new_idv_server_ip>:~
# For Windows VM
scp /home/sysadmin/idvguest_windows/win.qcow2 sysadmin@<new_idv_server_ip>:~
sudo chmod +x /opt/idv/scripts/update-img.idvserver.sh
# For Ubuntu OS:
sudo /opt/idv/scripts/update-img.idvserver.sh --path /home/sysadmin/ubuntu_22.qcow2 --os ubuntu
# For Windows OS:
sudo /opt/idv/scripts/update-img.idvserver.sh --path /home/sysadmin/win.qcow2 --os windows