From 3c27d8662dcfb3ce7ecf0e085c7f6bb5dd2ee0c7 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Thu, 15 Sep 2022 16:40:29 +0200 Subject: [PATCH] show that bob is available on lxsup00.psi.ch --- admin-guide/deployment/sample.rst | 15 ++++++++++++--- admin-guide/operations/deployment.rst | 10 +++++----- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/admin-guide/deployment/sample.rst b/admin-guide/deployment/sample.rst index 2f491264..f9b205c2 100644 --- a/admin-guide/deployment/sample.rst +++ b/admin-guide/deployment/sample.rst @@ -17,8 +17,14 @@ The informations we need are: - the sysdb environment: ``daas`` - optional the group inside the sysdb environment (``default`` if not specified): ``logging`` -On our laptop, where we have a local copy of `bob`, we first setup -some environment variables to have shorter commands: :: +Setting up bob +-------------- + +The `bob` tool is already set up on `lxsup00.psi.ch`. +You might connect with `ssh` and use it from there. + +Altenatively you many have on your workstation a local copy of `bob`, +where we suggest to setup some environment variables to have shorter commands: :: export PSI_BOB_URL=https://boot00-test.psi.ch/sysdb export PSI_BOB_USER=talamo_i @@ -26,7 +32,10 @@ some environment variables to have shorter commands: :: The $PSI_BOB_USER is needed because our local user is different from the one on sysdb. It could also be specified on the command line or let `bob` take the local username. - + +Sysdb configuration +------------------- + We then create a deployment environment:: bob env add daas talamo_i daas-admins 'DaaS Cluster' diff --git a/admin-guide/operations/deployment.rst b/admin-guide/operations/deployment.rst index a1e0172c..91e53743 100644 --- a/admin-guide/operations/deployment.rst +++ b/admin-guide/operations/deployment.rst @@ -19,8 +19,8 @@ generated by sysdb. Registration with sysdb ~~~~~~~~~~~~~~~~~~~~~~~ -The easiest way to interact with sysdb is to use bob, a command-line client -written in Python. Alternatively it is possible to use the web API directly. +The easiest way to interact with sysdb is to use `bob`, a command-line client, set up ready to use on `lxsup00.psi.ch`. +Alternatively it is possible to use the web API directly. First, add the new node:: @@ -42,14 +42,14 @@ parameters:: bob node set-attr $FQDN puppet_role=role::server bob node set-attr $FQDN puppet_group=default - + Redeployment ~~~~~~~~~~~~ After the initial installation the boot mode has been reset from netboot to local -so it will then always boot from the local disk. For a redeployment the netboot +so it will then always boot from the local disk. For a redeployment the netboot needs to be set anew:: bob node netboot $FQDN - + and after redo the PXE boot.