-
Notifications
You must be signed in to change notification settings - Fork 1
Additional Useful Information
You can also set up the nodes of the virtual cluster using Ubuntu Server 18.04.
Before following the same steps as with the Ubuntu Desktop, you need to:
- Install unzip by entering the command
sudo apt install unzip - Configure the
Internal Networkinterface to use a static IP addresssudo nano /etc/netplan/00-installer-config.yamlby entering the following text:network: ethernets: enp0s3: addresses: [] dhcp4: true optional: true enp0s8: addresses: [192.168.1.1/24] dhcp4: no dhcp6: no nameservers: addresses: [8.8.8.8, 8.8.4.4] version: 2 -
sudo netplan applyapply the new settings. - Repeat for each virtual machine in the virtual cluster with the correct address as mentioned in the network setup section.
Provided you are using Oracle VirtualBox, to save time during installation you can clone the virtual machine. To do this, follow the steps:
- Start VirtualBox.
- Right-click the fiji-vm1 virtual machine and select the
clonemenu item. - In the new form, change the value of the
Namefield tofiji-vm2. - Change selected option of the
MAC Address Policyto theGenerate new MAC addresses for all network adaptersvalue. - Leave the selection boxes unselected.
- Press the
Nextbutton. - Select the "Full clone" radio button.
- Press the
Clonebutton.
Permanently change the hostname of the virtual machine:
-
sudo hostnamectl set-hostname fiji-vm2. -
sudo nano /etc/hostnamechange hostname tofiji-vm2. -
sudo nano /etc/hostschange hostname tofiji-vm2. -
sudo rebootrestart the virtual machine.
You can repeat this process for fiji-vm3 after you have followed all steps necessary to set up a compute node.
This section will show you how to configure Oracle VirtualBox in order to:
- use HPC Workflow Manager from the host and connect to the virtual cluster.
- connect to the virtual machine using terminal from the host. On Microsoft Windows, PuTTY can be used. This way it is easy to copy and paste while following this guide, without the need to install VirtualBox Guest Additions, or in the case a GUI is not available on the virtual cluster (Ubuntu Server).
Follow the steps:
- From the main menu of Oracle VirtualBox select
File > Preferencesto open thePreferenceswindow. - Select the
Networktab from the left side of the window. - Select the green plus button from the right side of the window.
- Double click the newly created item on the
NAT Networkslist. - Set the
Enable Networkselect box. - Set the text value of the field
Network Nameto "TheNatNetwork". - Set the text value of the field
Network CIDRto "10.0.2.0/24". - Click on the
Port Forwardingbutton, a new window will appear.- Press the green plus button from the right side.
- Double-click the fields and enter the following values.
-
Nameset to "Login Node of Virtual Ubuntu Cluster". -
Protocolset to "TPC". -
Host IPset to "127.0.0.1". -
Host Portset "4444". -
Guest IPset to "10.0.2.5", this may be different. Find out the IP by enteringip addr showin fiji-vm1. -
Guest Portset to "22".
- Click the
OKbutton on all three windows consequently.
Turn off the fiji-vm1 virtual machine, and set the new NAT Network with the following steps:
- Now you can right-click the fiji-vm1 virtual machine on the Oracle VirtualBox Manager window (the main window).
- Select the
Networktab from the left. - Set
Enable Network Adaptercheckbox. - Set the
Attached tooption to "NAT Network" option. - Set the
Nameto the "TheNatNetwork" option. - Click the OK button.
Start fiji-vm1, now you should be able to connect using the fiji username and password you set to connect though SSH.
These settings should work if you followed the worksheet's instructions step by step without any modification to the instructions.
| Settings | Value | Your Action |
|---|---|---|
| Host name | localhost | Copy-paste the value. |
| Port number | 4444 | Copy-paste the value. |
| Username | fiji | Copy-paste the value. |
| Authentication method | Password | Select the "Password" radio button. |
| Key File | - | Do nothing. |
| Key file password | - | Do nothing. |
| Password | 123pass | Replace with the password you chose during installation of ubuntu. |
| Remote directory with Fiji | /home/user/Fiji.app | Copy-paste the value. |
| Remote working directory | /mnt/shared/work | Copy-paste the value. |
| Working directory | C:\Documents\WD | Create a directory in you local machine and browse to it. |
| Advanced settings | Selected | Do nothing, selected by default. |
Short Guide Worksheets
-
Manually install cluster-side tools
- Note: The cluster-side tools are technically the Parallel Macro and OpenMPI Ops
-
Download and use your own cluster
- Note: A small homemade cluster for testing, or when you cannot access a big HPC
-
Building from scratch your own cluster and configuring it
- Note: You will learn and understand everything that's behind the scenes
- Additional Useful Information