diff --git a/admin-guide/deployment/sample.rst b/admin-guide/deployment/sample.rst index 87117b75..9f2c543f 100644 --- a/admin-guide/deployment/sample.rst +++ b/admin-guide/deployment/sample.rst @@ -10,9 +10,12 @@ The informations we need are: - the server name: ``logging-ra.psi.ch`` - the server MAC address: ``23:3d:ef:33:11:22`` + - static or dynamic IP: ``static`` + - the OS installer: ``rhel79server`` - the server role: ``role::logging_server`` - the server environment in puppet: ``production`` - 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: :: @@ -37,10 +40,19 @@ We setup its MAC address: :: bob node add-mac logging-ra.psi.ch 23:3d:ef:33:11:22 +Next decide how the IP address is configured (``dhcp`` or ``static``): :: + + bob node set-attr syslog-ra.psi.ch network=static + +And which installer is used: :: + + bob node set-attr syslog-ra.psi.ch ipxe_installer=rhel79server + And we finally setup the puppet role and puppet environment: :: bob node set-attr syslog-ra.psi.ch puppet_role=role::log_server bob node set-attr syslog-ra.psi.ch puppet_env=production + bob node set-attr syslog-ra.psi.ch puppet_group=logging PXE server-side configuration diff --git a/admin-guide/operations/deployment.rst b/admin-guide/operations/deployment.rst index 3e391032..a1e0172c 100644 --- a/admin-guide/operations/deployment.rst +++ b/admin-guide/operations/deployment.rst @@ -36,9 +36,11 @@ node:: Finally we need to configure the installer to use, and the Puppet-related parameters:: - bob node set-attr $FQDN ipxe_installer=rhel72server + bob node set-attr $FQDN ipxe_installer=rhel79server + bob node set-attr $FQDN network=static bob node set-attr $FQDN puppet_env=prod bob node set-attr $FQDN puppet_role=role::server + bob node set-attr $FQDN puppet_group=default Redeployment