notes/IT/Deploying Hydra.md

33 lines
1.9 KiB
Markdown
Raw Normal View History

2023-07-21 23:32:53 +00:00
# OOBE
2023-07-21 23:29:52 +00:00
- iDrac prefers DHCP if available, the default IP address for IDRAC is 192.168.0.120
2023-07-21 23:33:52 +00:00
- The server shipped with raid5 configured across the 4 drives, I delete the raid configuration by going to storage -> virtual disks -> manage
2023-07-23 15:27:03 +00:00
- The disk failed to delete the first time and second time deletion was attempted
2023-07-21 23:51:53 +00:00
- Problem resolved itself by rebooting
2023-07-22 00:32:22 +00:00
## Installing XCP-NG
2023-07-22 00:34:22 +00:00
I do not have a monitor with VGA display output, and you need an iDrac enterprise to install an OS through iDrac, so I'm installing with an unattended installer via an [answer file](https://xcp-ng.org/docs/answerfile.html#answer-file-values).
2023-07-22 01:43:25 +00:00
- I had trouble mounting the .iso file in macos, so I ended up extracting it with
```
7zz x -tiso -y xcp-ng-8.2.1.iso -oxcp-ng-8.2.1
2023-07-22 01:53:25 +00:00
```
2023-07-22 01:54:25 +00:00
The `install.img` extraction instructions were a bit hard for me to understand, here's what I figured out.
- `iso/` is the directory you extracted the ISO into
2023-07-23 15:22:03 +00:00
- You make the `install` directory in the `iso` dir.
2023-07-23 15:25:03 +00:00
The ISO packing instructions are *super* dated, you'll want `xorrisofs` instead of whatever they have.
I never got the unattended install to work, I believe it's because I was creating the ISO on MacOS.
- The install was completed with a trial license of iDrac Enterprise and the virtual console.
2023-07-23 15:26:03 +00:00
Initially the installer didn't detect any drives, that's because the RAID controller was in RAID mode, but there were no virtual disks created. This was fixed by changing the controller mode to HBA.
2023-07-23 15:22:03 +00:00
# Installing Xen Orchestra
2023-07-23 15:29:04 +00:00
Xen Orchestra is a popular and extremely powerful dashboard for the Xen hypervisor.
2023-07-23 15:23:03 +00:00
- Run `bash -c "$(wget -qO- https://xoa.io/deploy)"` to spin up a VM running Xen-Orchestra, sign in to all of that, yada yada yada.
2023-07-23 15:26:03 +00:00
- Make an account on the xen-orchestra website, you can leave the company name blank
2023-07-23 15:27:03 +00:00
- Register your XO instance
I had an issue with being unable to upload ISOs to an ISO SR, this was fixed by updating my XO installation, as it was out of date.