... | ... | @@ -4,7 +4,7 @@ |
|
|
|
|
|
**Note:** Before proceeding, ensure that the machine you will use as your boss server is properly connected to your network and that all of the required software is available either through the network or some other media.
|
|
|
|
|
|
Boot the FreeBSD installation CD (either 11.3 or 12.2) on the machine you will use as your `boss` server. You will want to do an "Install" and then select your keymap and hostname. When it asks about optional components, only select "lib32" and "src", you do not want "ports" since you will be loading pre-built packages from Emulab.
|
|
|
Boot the FreeBSD 12.3 installation CD or memory stick on the machine you will use as your `boss` server. You will want to do an "Install" and then select your keymap and hostname. When it asks about optional components, only select "lib32" and "src", you do not want "ports" since you will be loading pre-built packages from Emulab.
|
|
|
|
|
|
Next it will ask you about disks and disk partitioning. Similar to the `ops` node setup, there are two basic ways to partition the disk space--put everything on a single disk or use one disk for the OS only and other disks for Emulab bits. As with `ops`, we just choose the first disk, probably /dev/ada0, and create a single partition in which to install the base system, and worry about space for Emulab later.
|
|
|
|
... | ... | @@ -19,13 +19,11 @@ Do **not** create any user accounts yet, and just log in as root for the time be |
|
|
|
|
|
Installation will complete and it will ask if you want to reboot the machine. Do so, and after rebooting, login as root.
|
|
|
|
|
|
If you are installing FreeBSD 12.2, you should run `freebsd-update` to pick up security patches:
|
|
|
Run `freebsd-update` to pick up security patches:
|
|
|
```
|
|
|
env PAGER=cat freebsd-update fetch
|
|
|
freebsd-update install
|
|
|
```
|
|
|
**Note:** If you are installing FreeBSD 11.3, it has reached end-of-life and there are no updates, so you will skip this step.
|
|
|
|
|
|
## Create Emulab Partitions
|
|
|
|
|
|
On the `boss` node there is only one Emulab-related file hierarchy to worry about. Note that the example size in square brackets is for the case of a 1TB single disk, you can adjust accordingly based on your available space.
|
... | ... | @@ -37,7 +35,7 @@ On the `boss` node there is only one Emulab-related file hierarchy to worry abou |
|
|
#### Using UFS
|
|
|
|
|
|
The traditional UFS filesystem is best used with a single redundant underlying volume, either
|
|
|
a hardware RAID provided volume, or a virtual disk provided by the VM host. Otherwise you are taking your chances with a disk failure. While you can use FreeBSD's `gvinum` or `graid` to implement RAID or interact with a software RAID controller, it is recommended that you [use ZFS instead](#using-zfs) if you need to build a multi-disk redundant configuration.
|
|
|
a hardware RAID provided volume, or a virtual disk provided by the VM host. Otherwise you are taking your chances with a disk failure. While you can use FreeBSD's `gmirror` or `graid` to implement RAID or interact with a software RAID controller, it is recommended that you [use ZFS instead](#using-zfs) if you need to build a multi-disk redundant configuration.
|
|
|
|
|
|
Here are two examples of configuring space on a single disk, either for a system with a large single disk shared by both the OS and Emulab, or with a second disk dedicated to Emulab bits.
|
|
|
|
... | ... | @@ -59,7 +57,7 @@ mount /usr/testbed |
|
|
|
|
|
##### Second Dedicated Disk
|
|
|
|
|
|
If you have a second disk (/dev/ada1) available for just Emulab, then the process is similar, but the disk first has to be prepared. We use GPT partitioning in this case to be consistant with the `ops` node configuration.
|
|
|
If you have a second disk (/dev/ada1) available for just Emulab, then the process is similar, but the disk first has to be prepared. We use GPT partitioning in this case to be consistent with the `ops` node configuration.
|
|
|
```
|
|
|
gpart create -s GPT /dev/ada1
|
|
|
```
|
... | ... | |