show that bob is available on lxsup00.psi.ch

This commit is contained in:
2022-09-15 16:40:29 +02:00
parent 0ac94992ca
commit 3c27d8662d
2 changed files with 17 additions and 8 deletions

View File

@@ -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'

View File

@@ -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.