19215: Make it so the manual install docs recommend using diagnostics.
authorPeter Amstutz <peter.amstutz@curii.com>
Fri, 30 Sep 2022 15:28:12 +0000 (11:28 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Fri, 30 Sep 2022 15:28:12 +0000 (11:28 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

doc/install/arvbox.html.textile.liquid
doc/install/diagnostics.html.textile.liquid
doc/install/install-keep-web.html.textile.liquid
doc/install/install-keepproxy.html.textile.liquid
doc/install/install-keepstore.html.textile.liquid
doc/install/install-webshell.html.textile.liquid
doc/install/install-ws.html.textile.liquid
doc/install/salt-multi-host.html.textile.liquid
doc/install/salt-single-host.html.textile.liquid
doc/user/copying/copying.html.textile.liquid

index 52dec90671723e816ccfae53e2acbe583fa1988d..20e1c48eeea5d98ae067484ab6c1877bf67df7df 100644 (file)
@@ -29,6 +29,7 @@ $ <span class="userinput">./arvbox start localdemo</span>
 Arvados-in-a-box starting
 
 Waiting for workbench2 websockets workbench webshell keep-web controller keepproxy api keepstore1 arv-git-httpd keepstore0 sdk vm ...
+
 ...
 
 Your Arvados-in-a-box is ready!
index f139ff6795b122f1853c860a99eb50cb9658cf24..7d03e8b0d2fff4db8e22f83e0722f1df7b50f771 100644 (file)
@@ -12,6 +12,11 @@ SPDX-License-Identifier: CC-BY-SA-3.0
 
 The @diagnostics@ subcommand of @arvados-client@ performs a variety of checks to help confirm that your Arvados installation has been properly configured.  It is extremely helpful to validate that your install is successful.
 
+Depending on where you are running the installer, you need to provide @-internal-client@ or @-external-client@.
+
+* If you are running the diagnostics from one of the Arvados machines inside the private network, you want @-internal-client@.
+* If you running the diagnostics from your workstation outside of the private network, you should use @-external-client@.
+
 Here is an example of it in action:
 
 <pre>
index 1ba9fc522fab9dbf69207d3fa67061e586843079..b3c63861299c4ab986bc8692755ce6a79202ec8e 100644 (file)
@@ -173,18 +173,22 @@ In such cases -- for example, a site which is not reachable from the internet, w
 
 h2(#confirm-working). Confirm working installation
 
-<notextile><code><pre>
-$ curl -H "Authorization: Bearer $system_root_token" https://<span class="userinput">download.ClusterID.example.com</span>/c=59389a8f9ee9d399be35462a0f92541c-53/_/hello.txt
-</code></pre></notextile>
+We recommend using the "Cluster diagnostics tool.":diagnostics.html
+
+Here are some other checks you can perform manually.
+
+<notextile>
+<pre><code>$ curl -H "Authorization: Bearer $system_root_token" https://<span class="userinput">download.ClusterID.example.com</span>/c=59389a8f9ee9d399be35462a0f92541c-53/_/hello.txt</code></pre>
+</notextile>
 
 If wildcard collections domains are configured:
 
-<notextile><code><pre>
-$ curl -H "Authorization: Bearer $system_root_token" https://<span class="userinput">59389a8f9ee9d399be35462a0f92541c-53.collections.ClusterID.example.com</span>/hello.txt
-</code></pre></notextile>
+<notextile>
+<pre><code>$ curl -H "Authorization: Bearer $system_root_token" https://<span class="userinput">59389a8f9ee9d399be35462a0f92541c-53.collections.ClusterID.example.com</span>/hello.txt</code></pre>
+</notextile>
 
 If using a single collections preview domain:
 
-<notextile><code><pre>
-$ curl https://<span class="userinput">collections.ClusterID.example.com</span>/c=59389a8f9ee9d399be35462a0f92541c-53/t=$system_root_token/_/hello.txt
-</code></pre></notextile>
+<notextile>
+<pre><code>$ curl https://<span class="userinput">collections.ClusterID.example.com</span>/c=59389a8f9ee9d399be35462a0f92541c-53/t=$system_root_token/_/hello.txt</code></pre>
+</notextile>
index 2d32a2455cdd78b069f399ec2f6a80a49ded51f9..999883b65861980aadf930294277c4b26ebc0faa 100644 (file)
@@ -92,6 +92,10 @@ Note: if the Web uploader is failing to upload data and there are no logs from k
 
 h2(#confirm-working). Confirm working installation
 
+We recommend using the "Cluster diagnostics tool.":diagnostics.html  Because Keepproxy is specifically a gateway used by outside clients, for this test you should run the diagnostics from a client machine outside the Arvados private network, and provide the @-external-client@ parameter.
+
+Here are some other checks you can perform manually.
+
 Log into a host that is on a network external to your private Arvados network.  The host should be able to contact your keepproxy server (eg @keep.ClusterID.example.com@), but not your keepstore servers (eg keep[0-9].ClusterID.example.com).
 
 @ARVADOS_API_HOST@ and @ARVADOS_API_TOKEN@ must be set in the environment.
index 3cb922642ec7c23448c74738a41facd9f83ac338..ff08b532d5a1d251129794d5afd30c12b745ce4f 100644 (file)
@@ -79,6 +79,10 @@ Add each keepstore server to the @Services.Keepstore@ section of @/etc/arvados/c
 
 h2(#confirm-working). Confirm working installation
 
+We recommend using the "Cluster diagnostics tool.":diagnostics.html
+
+Here are some other checks you can perform manually.
+
 Log into a host that is on your private Arvados network.  The host should be able to contact your your keepstore servers (eg keep[0-9].ClusterID.example.com).
 
 @ARVADOS_API_HOST@ and @ARVADOS_API_TOKEN@ must be set in the environment.
@@ -92,8 +96,7 @@ Install the "Command line SDK":{{site.baseurl}}/sdk/cli/install.html
 Check that the keepstore server is in the @keep_service@ "accessible" list:
 
 <notextile>
-<pre><code>
-$ <span class="userinput">arv keep_service accessible</span>
+<pre><code>$ <span class="userinput">arv keep_service accessible</span>
 [...]
 </code></pre>
 </notextile>
index 8275a2a831e1fecb2a6f629d061f3da816d57105..95254abdea3d311e36c685ec88e47c683ade5e4d 100644 (file)
@@ -183,4 +183,8 @@ session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux
 
 h2(#confirm-working). Confirm working installation
 
+We recommend using the "Cluster diagnostics tool.":diagnostics.html
+
+Here are some other checks you can perform manually.
+
 A user should now be able to log in to the shell server, using webshell via workbench. Please refer to "Accessing an Arvados VM with Webshell":{{site.baseurl}}/user/getting_started/vm-login-with-webshell.html
index 2b982504f2e705e4334984d35f48aa4ebf1fa05f..74c4cf3a92623812a6c0f0d0c0e8b1a19679b6a4 100644 (file)
@@ -73,6 +73,10 @@ server {
 
 h2(#confirm). Confirm working installation
 
+We recommend using the "Cluster diagnostics tool.":diagnostics.html
+
+Here are some other checks you can perform manually.
+
 Confirm the service is listening on its assigned port and responding to requests.
 
 <notextile>
index d4aa39b9f504ea074fb5ee9037b9d66def590482..f5d359e3ca265c2e26f40e6c0564839cab3aa5d4 100644 (file)
@@ -104,6 +104,8 @@ You will need a DNS entry for each service.  In the default configuration these
 # @webshell.${CLUSTER}.${DOMAIN}@
 # @shell.${CLUSTER}.${DOMAIN}@
 
+This is described in more detail in "DNS entries and TLS certificates":install-manual-prerequisites.html#dnstls.
+
 h3. Additional prerequisites when preparing machines to run the installer
 
 # From the account where you are performing the install, passwordless @ssh@ to each machine
index 968af24ccea981d3c1c6d871c366042dd9f66219..e62b7baae7f7da6a4dab6f5f7f9104a38742fbb7 100644 (file)
@@ -41,13 +41,16 @@ h3. Cluster ID and base domain
 
 Choose a 5-character cluster identifier that will represent the cluster.  Here are "guidelines on choosing a cluster identifier":../architecture/federation.html#cluster_id .  Only lowercase letters and digits 0-9 are allowed.  Examples will use @xarv1@ or ${CLUSTER}, you should substitute the cluster id you have selected.
 
-Determine if you will use a single hostname, or multiple hostnames.  A single hostname is simpler (and can even be used without a hostname at all, just a bare IP address), however multiple hostnames may make it easier to migrate to a multi-host production configuration in the future.
+Determine if you will use a single hostname, or multiple hostnames.
 
-Determine if you are using multiple hostnames, determine the base domain for the cluster.  This will be referred to as ${DOMAIN}
+* Single hostname is simpler to set up and can even be used without a hostname at all, just a bare IP address.
+* Multiple hostnames is more similar to the recommended production configuration may make it easier to migrate to a multi-host production configuration in the future, but is more complicated as it requires adding a number of DNS entries.
+
+If you are using multiple hostnames, determine the base domain for the cluster.  This will be referred to as ${DOMAIN}
 
 For example, if CLUSTER is "xarv1" and DOMAIN is "example.com", then "controller.${CLUSTER}.${DOMAIN}" means "controller.xargv1.example.com".
 
-h3. Dedicated machine
+h3. Machine specification
 
 You will need a dedicated (virtual) machine for your Arvados server with at least 2 cores and 8 GiB of RAM (4+ cores / 16+ GiB recommended) running a supported Linux distribution:
 
@@ -55,7 +58,9 @@ You will need a dedicated (virtual) machine for your Arvados server with at leas
 
 h3(#DNS). DNS hostnames for each service
 
-If you are using the multi-hostname configuration, you will need a DNS entry for each service.  If you are using a single hostname for all services (they will be distingushed by listening port), you can skip this section.
+If you are using a single hostname for all services (they will be distingushed by listening port), you can skip this section.
+
+If you are using the multi-hostname configuration, you will need a DNS entry for each service.  If you are using "bring-your-own" TLS certificates, your certificate will need to include all of these hostnames.
 
 In the default configuration these are:
 
@@ -71,6 +76,8 @@ In the default configuration these are:
 # @webshell.${CLUSTER}.${DOMAIN}@
 # @shell.${CLUSTER}.${DOMAIN}@
 
+This is described in more detail in "DNS entries and TLS certificates":install-manual-prerequisites.html#dnstls.
+
 h3. Additional prerequisites
 
 # Passwordless @sudo@ access on the account where you are doing the install
@@ -80,7 +87,7 @@ this usually means adding the account to the @sudo@ group and having a rule like
 # Port 443 reachable by clients
 # For the single-host install, ports 8800-8805 also need to be reachable from your client (configurable in @local.params@, see below)
 # When using "Let's Encrypt":#lets-encrypt port 80 needs to be reachable from everywhere on the internet
-# When using "bring your own certificate":#bring-your-own)an SSL certificate matching the hostname in use
+# When using "bring your own certificate":#bring-your-own you need TLS certificate(s) covering the hostname(s) used by Arvados
 
 h2(#download). Download the installer
 
@@ -201,9 +208,9 @@ For this reason, the installer has the option to create its own a root certifica
 
 h2(#initial_user). Initial user and login
 
-At this point you should be able to log into the Arvados cluster. The initial URL for the single hostname install will be:
+At this point you should be able to log into the Arvados cluster. The initial URL for the single hostname install will use the hostname or IP address you put in @HOSTNAME_EXT@:
 
-https://@HOSTNAME_EXT@
+https://${HOSTNAME_EXT}
 
 For the multi-hostname install, it will be:
 
index 3785ef50168cd3a97dc7a7dd1858e0468c465cf6..8d4201cef9167005d5201207561284b4e43f0b40 100644 (file)
@@ -9,8 +9,10 @@ Copyright (C) The Arvados Authors. All rights reserved.
 SPDX-License-Identifier: CC-BY-SA-3.0
 {% endcomment %}
 
-Server-side components of Arvados contained in the apps/ and services/ directories, including the API Server, Workbench, Keep, and Crunch, are licenced under the "GNU Affero General Public License version 3":agpl-3.0.html.
+Every source file has @SPDX-License-Identifier@ header that identifies the exact copyright license that applies to that file.
 
-The Arvados client Software Development Kits contained in the sdk/ directory, example scripts in the crunch_scripts/ directory, and code samples in the Aravados documentation are licensed under the "Apache License, Version 2.0":LICENSE-2.0.html
+In general, Arvados server-side components and system administration tools contained in the @services/@, @lib/@, @apps/@, @cmd/@, and @tools/@ directories, including the API Server, Workbench, Keep, and Crunch, are licenced under the "GNU Affero General Public License version 3":agpl-3.0.html.
 
-The Arvados Documentation located in the doc/ directory is licensed under the "Creative Commons Attribution-Share Alike 3.0 United States":by-sa-3.0.html
+The Arvados client tools and Software Development Kits contained in the @sdk/@ directory and code samples in the Aravados documentation are licensed under the "Apache License, Version 2.0":LICENSE-2.0.html.
+
+The Arvados Documentation located in the @doc/@ directory is licensed under the "Creative Commons Attribution-Share Alike 3.0 United States":by-sa-3.0.html.