X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2FREADME.md;h=ad9b40012619a58bf12de910d0dd9e32838d85ad;hb=249c08a3a7b3a2117cca1b1b09cbae015a844021;hp=7c4678320f7e4dd1de4d9ebaf6a11b1ebb20a666;hpb=0eeaf6eeeac256a8dfba297c57247b261912d2ca;p=csit.git diff --git a/resources/tools/testbed-setup/README.md b/resources/tools/testbed-setup/README.md index 7c4678320f..ad9b400126 100644 --- a/resources/tools/testbed-setup/README.md +++ b/resources/tools/testbed-setup/README.md @@ -86,7 +86,17 @@ Optional: If RAID is not created on Haswells. Execute while Ubuntu install is ru - Set the next boot from HDD (without restart) - `./cimc.py -u admin -p Cisco1234 $CIMC_ADDRESS -d -hdd` -Optional: If installing Skylake machine, connect to IPMI and boot from PXE via F12 +Optional: If installing Skylake machine + + - Get MAC address of LAN0 + - `ipmitool -U ADMIN -H $HOST_ADDRESS raw 0x30 0x21 | tail -c 18` + - Reboot into PXE for next boot only + - `ipmitool -I lanplus -H $HOST_ADDRESS -U ADMIN chassis bootdev pxe` + - `ipmitool -I lanplus -H $HOST_ADDRESS -U ADMIN power reset` + - For live watching SOL (Serial-over-LAN console) + - `ipmitool -I lanplus -H $HOST_ADDRESS -U ADMIN sol activate` + - `ipmitool -I lanplus -H $HOST_ADDRESS -U ADMIN sol deactivate` + When installation is finished: @@ -94,7 +104,7 @@ When installation is finished: - Clone CSIT actual repo: `git clone https://gerrit.fd.io/r/csit` - Go to ansible directory: `cd csit/resources/tools/testbed-setup/ansible` - Edit production file and uncomment servers that are supposed to be installed: `ansible-playbook --ask-become-pass --inventory production site.yaml --list-hosts` - - Run ansible on selected hosts: `ansible-playbook --ask-become-pass --inventory production site.yaml` + - Run ansible on selected hosts: `ansible-playbook --vault-id vault_pass --extra-vars '@vault.yml' --inventory production site.yaml` For non-VIRL hosts, stop here.