From 8b17d010af9ab6dc2939e21ec7c0e152ab8a5918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Sandstr=C3=B6m?= Date: Fri, 13 Sep 2024 15:11:44 +0200 Subject: [PATCH] Add tentative workflow --- README.md | 2 ++ WORKFLOW.md | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 WORKFLOW.md diff --git a/README.md b/README.md index 34d37f8..05ca020 100644 --- a/README.md +++ b/README.md @@ -25,5 +25,7 @@ The default setup is that igb-driver will be used if possible and fallback to ge The "S10-eth-irq-prio" script will only have effect if generic driver is used. In the default case when igb-drivber is used the script might give some error messages but should not affect anything in a negative way. +# Workflow for new server +See [WORKFLOW](WORKFLOW.md) diff --git a/WORKFLOW.md b/WORKFLOW.md new file mode 100644 index 0000000..5b88847 --- /dev/null +++ b/WORKFLOW.md @@ -0,0 +1,54 @@ +# workflow for a new ecmc server + +## hardware group (Kurt) +* Order servers (keeps stock) +* Add server to packet-fence (default to office network) +* Add users to ecmc server +* Add hostname (need info from controls) +* Keeps inventory up to date +* Sometimes equips with **empty** usb stick +* Install (power and network) + +## integrators +* Setup ILO, with help of 8213 (maybe) +* Update boot parameters to boot from usb +* [Prepare usb stick](#prepare-usb-stick) +* [Add host to warewulf config nodes.conf](#Add-warewulf-conf) +* [Add host startup cfg](#Add-ecmc-server-cfg) +* Configure IOC:s + + +# prepare usb stick + +Prepare a boot usb stick: +```bash +# copy to usb stick +cp -r /afs/psi.ch/group/8211/anicic/iPXE/warewulf-ipxe/USBstick/EFI /path/to/your/usbstick +``` + +# Add warewulf conf + +Add server to warewulf config (easiest to edit directlly in gitlab page): +https://git.psi.ch/controls-ci/warewulf-node-config/-/blob/master/nodes.conf + +**NOTE**: The simplest is to copy another host and update the needed data. + +**WARNING**: No tabs are allowed, make sure the indention is made with spaces. + +After the file has been updated, make sure that the pipelaines passes: +https://git.psi.ch/controls-ci/warewulf-node-config/-/pipelines + + +# Add ecmc server cfg + +See [README](README.md), basically: + +Clone this repository to the host dir: +``` +cd /ioc/hosts/ +git clone git@git.psi.ch:motion/ecmc_server_cfg.git cfg + +# Then check the settings are valid + +# A reboot is needed for the settings to take effect. +```