Difference between revisions of "RMU build Gen-1.5: IV. Best Practices - C. Dell OpenManage Enterprise"
From Internet Computer Wiki
Katie.peters (talk | contribs) |
Katie.peters (talk | contribs) (Added more sections) |
||
Line 86: | Line 86: | ||
==Share Services with Teleport== | ==Share Services with Teleport== | ||
+ | |||
+ | #Open a shell on your RMU server and edit <code>/etc/teleport.yaml</code> with your favorite text editor | ||
+ | #Add the following section under the app_service -> apps stanza | ||
+ | #*Make sure your indention follows the previous name: bo1-rmu section | ||
+ | #*Replace the instances of “bo1” and .dfinity.network with the placeholders used earlier in the runbook<syntaxhighlight lang="javascript"> | ||
+ | - name: bo1-ome | ||
+ | uri: https://10.10.100.23:443 | ||
+ | public_addr: "bo1-ome.teleport.bo1.dfinity.network" | ||
+ | insecure_skip_verify: true | ||
+ | rewrite: | ||
+ | redirect: | ||
+ | - "10.10.100.23" | ||
+ | - "bo1-ome.teleport.bo1.dfinity.network" | ||
+ | labels: | ||
+ | dc: "bo1" | ||
+ | </syntaxhighlight> | ||
+ | #Then, reload the teleport services (WARNING: if you are accessing the RMU shell via teleport, your connection will get disconnected):<syntaxhighlight lang="javascript"> | ||
+ | systemctl restart teleport | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | ==Configure OME Web GUI== | ||
+ | |||
+ | #Go to your Teleport Resources page and find the tile for OME. | ||
+ | #Select it to launch the web page, you should be brought to the following screen. | ||
+ | #Input your credentials NOTE: <code>admin</code> is the default user for this service, input the password you made during this step. | ||
+ | #*[[File:OME - VM Create - 23 - OME Initial Configuration 01.png|800px]] | ||
+ | #Select <code>Initial Settings</code> under Step 1 | ||
+ | #*[[File:OME - VM Create - 24 - OME Initial Configuration 02.png|800px]] | ||
+ | #Expand Time Configuration and enter in your timezone settings | ||
+ | #*We recommend to use UTC. That's what DFINITY as uses, and if you have more than 1 data center, it's nice to use one timezone for all. You may, however use whatever you like. | ||
+ | #*[[File:OME - VM Create - 25 - OME Initial Configuration 03.png|800px]] | ||
+ | |||
+ | |||
Revision as of 22:32, 28 February 2024
This page is part of the Gen-1.5 RMU build runbook.
Go back to the previous section: B. Install RACADM Tool on RMU
C. Dell OpenManage Enterprise (Recommended)
This is a service that allows you to talk to the Baseboard Management Controller(s) (BMC) of your IC nodes. This service will allow you to discover your Dell’s servers iDRACs (Dell’s version of a BMC.) Once configured, you will be able to apply firmware updates remotely.
Create VM
- From the main Proxmox page, select
Create VM
to launch theCreate: Virtual Machine
dialog window. - Tick the
Advanced
box and theStart at boot:
box, then enter VM ID of123
, set Name: to<dc>-ome
. Enter 10 into theStart/Shutdown Order:
. SelectNext
. - Select
Do not use any media
. Set Type: toOther
. SelectNext
. - Ensure that Graphic card: is set to
Default
, SCSI Controller: is set toVirtIO SCSI single
, Machine: is set toDefault (i440fx)
, BIOS: is set toDefault (SeaBIOS)
. SelectNext
. - Ensure that Bus/Device: is set to
IDE
&0
, Storage: is set tolocal-zfs,
Disk size (GiB): is set to8
,Backup:
box is ticked, Async IO: is set toDefault (io_uring)
. SelectNext
. - Set Sockets to
1
, set Type: toX86-64-v2-AES
, set Cores: to8
. SelectNext
. - Set Memory(MiB): to
16767
and Minimum memory (MB): to2048
. SelectNext
. - Set Bridge: to
vmbr1
, set Mode: toIntel E1000
, Disable theFirewall:
tickbox. SelectNext
. - Do NOT tick the
Start after created
because we need to map the (soon to be downloaded) OME image to a disk. SelectFinish
.
Download & Import OME
- On the RMU, download OME virtual image
- Open a shell console on the RMU
wget --user-agent="Mozilla" -O ome.zip 'https://dl.dell.com/FOLDER07474001M/1/openmanage_enterprise_kvm_format_3.6.1.zip?uid=c802e350-6536-4f28-7a66-93b4f844cd30&fn=openmanage_enterprise_kvm_format_3.6.1.zip'
- Unzip the downloaded file
apt update && apt install unzip -y unzip ome.zip
- Import the QCOW2 image into the OEM VM’s space
cd appliance/qemu-kvm/ qm importdisk 123 openmanage_enterprise.qcow2 local-zfs
- Configure the imported disk as the boot disk for the VM
- Select the
OME
VM on the left side - Select
Hardware
- Double click
Unused Disk
- Set Bus/Device: to
VirtIO Block
. SelectAdd
- Select
Options
and double ClickBoot Order
- Move the device with description
local-zfs:vm-123-disk-1…
to position 1. Tick the enable box next to it. - Untick the enable box for all other boot devices Select
OK
- When complete, your options screen should look like the following
- Select the
OME
VM and start it.
Configure OME
- Select the
OME
VM and SelectConsole
- Wait for the VM to start, please be patient as this is it’s first boot. (You can use your
tab
key to scroll through the options available and hitenter
to select) - Select
Accept
- Select your keyboard type
- Create a non trivial password and store it in your password manager.
- Once you enter in your password, hit tab to scroll over apply and then enter to select.
- Use your arrow keys to scroll down to
Set Networking Parameters
and hit enter - Hit enter on the available Network adapter
- Enter in your new non trivial password you just made.
- Hit tab to scroll over Continue and hit enter
- Set static IPv4 IP Address to
10.10.100.23
- You can use the arrow keys to get to DHCP and then hit tab to enter the editable text fields
- Set Static Gateway to
10.10.100.1
- Set Static Subnet Mask to
255.255.255.0
- Set Static Preferred DNS server to
1.1.1.1
- Select Apply
- Enter in your non trivial password and select
Continue
- Open a shell on your RMU server and edit
/etc/teleport.yaml
with your favorite text editor - Add the following section under the app_service -> apps stanza
- Make sure your indention follows the previous name: bo1-rmu section
- Replace the instances of “bo1” and .dfinity.network with the placeholders used earlier in the runbook
- name: bo1-ome uri: https://10.10.100.23:443 public_addr: "bo1-ome.teleport.bo1.dfinity.network" insecure_skip_verify: true rewrite: redirect: - "10.10.100.23" - "bo1-ome.teleport.bo1.dfinity.network" labels: dc: "bo1"
- Then, reload the teleport services (WARNING: if you are accessing the RMU shell via teleport, your connection will get disconnected):
systemctl restart teleport
Configure OME Web GUI
- Go to your Teleport Resources page and find the tile for OME.
- Select it to launch the web page, you should be brought to the following screen.
- Input your credentials NOTE:
admin
is the default user for this service, input the password you made during this step. - Select
Initial Settings
under Step 1 - Expand Time Configuration and enter in your timezone settings
Continue to next section: D. Update Firmware on SuperMicro Nodes
Or skip and jump to E. Enable Remote Access to Servers Console
Go to the index of the Gen-1.5 RMU build runbook.