From 9696c090dbf9dd777fc0a2c8925c67093503d5dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20B=C3=A9rtoli?= Date: Mon, 28 Feb 2022 14:41:43 -0300 Subject: [PATCH] 18785: edit documentation, addressing review comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Javier Bértoli --- doc/_includes/_install_custom_certificates.liquid | 10 +++++++++- doc/install/salt-single-host.html.textile.liquid | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/_includes/_install_custom_certificates.liquid b/doc/_includes/_install_custom_certificates.liquid index 3c6486505c..a6d809d151 100644 --- a/doc/_includes/_install_custom_certificates.liquid +++ b/doc/_includes/_install_custom_certificates.liquid @@ -6,7 +6,15 @@ SPDX-License-Identifier: CC-BY-SA-3.0 If you plan to use custom certificates, please set the variable SSL_MODE=bring-your-own and copy your certificates to the directory specified with the variable @CUSTOM_CERTS_DIR@ (usually "./certs") in the remote directory where you copied the @provision.sh@ script. From this dir, the provision script will install the certificates required for the role you're installing. -The script expects cert/key files with these basenames (matching the role except for keepweb, which is split in both download / collections): +When using custom certificates in a single-host / single-hostname setup, the certificate and its key need to be copied to a file named after ${HOSTNAME_EXT}. Ie., for "HOSTNAME_EXT='my-arvados.example.net', the script will lookup for + +

+# ${CUSTOM_CERTS_DIR}/my-arvados.example.net.crt
+# ${CUSTOM_CERTS_DIR}/my-arvados.example.net.key
+
+
+ +For a setup with multiple hostnames, the script expects cert/key files with these basenames (matching the role except for keepweb, which is split in both download / collections): * "controller" * "websocket" diff --git a/doc/install/salt-single-host.html.textile.liquid b/doc/install/salt-single-host.html.textile.liquid index 6d08672e46..3610741b41 100644 --- a/doc/install/salt-single-host.html.textile.liquid +++ b/doc/install/salt-single-host.html.textile.liquid @@ -13,7 +13,7 @@ SPDX-License-Identifier: CC-BY-SA-3.0 # "Prerequisites":#prerequisites # "Single host install using the provision.sh script":#single_host # "Choose the desired configuration":#choose_configuration -## "Single host / single hostname":#single_host_single_hostnames +## "Single host / single hostname":#single_host_single_hostname ## "Single host / multiple hostnames (Alternative configuration)":#single_host_multiple_hostnames ## "Further customization of the installation (modifying the salt pillars and states)":#further_customization # "Run the provision.sh script":#run_provision_script @@ -78,7 +78,7 @@ Arvados' single host installation can be done in two fashions: Once you decide which of these choices you prefer, copy one the two example configuration files and directory, and edit them to suit your needs. -h3(#single_host_single_hostnames). Single host / single hostname +h3(#single_host_single_hostname). Single host / single hostname
cp local.params.example.single_host_single_hostname local.params
 cp -r config_examples/single_host/single_hostname local_config_dir
-- 
2.30.2