X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/90d84d8578b760b493ac76b22c42bc284868bc0c..1eed3583ea85b3384a97eeef4971a4385e6d7c96:/doc/install/configure-fs-storage.html.textile.liquid diff --git a/doc/install/configure-fs-storage.html.textile.liquid b/doc/install/configure-fs-storage.html.textile.liquid index 1e13190aa5..ebf964a796 100644 --- a/doc/install/configure-fs-storage.html.textile.liquid +++ b/doc/install/configure-fs-storage.html.textile.liquid @@ -1,7 +1,7 @@ --- layout: default navsection: installguide -title: Filesystem storage +title: Configure filesystem storage ... {% comment %} Copyright (C) The Arvados Authors. All rights reserved. @@ -15,33 +15,19 @@ h2. Setting up filesystem mounts Volumes are configured in the @Volumes@ section of the cluster configuration file. You may provide multiple volumes for a single keepstore process to manage multiple disks. Keepstore distributes blocks among volumes in round-robin fashion. -Note that each volume has a UUID, like "zzzzz-nyw5e-0123456789abcde". You can assign these manually, but once assigned they should not be changed. +{% include 'assign_volume_uuid' %} -Note that each volume has an AccessViaHosts section indicating that (for example) keep0's /mnt/local-disk directory is volume 0, while keep1's /mnt/local-disk directory is volume 1. +Note that each volume entry has an @AccessViaHosts@ section indicating which Keepstore instance(s) will serve that volume. In this example, keep0 and keep1 each have their own data disk. The @/mnt/local-disk@ directory on keep0 is volume @ClusterID-nyw5e-000000000000000@, and the @/mnt/local-disk@ directory on keep1 is volume @ClusterID-nyw5e-000000000000001@ . -
Clusters:
-  uuid_prefix:
-    Volumes:
-      uuid_prefix-nyw5e-000000000000000:
+
    Volumes:
+      ClusterID-nyw5e-000000000000000:
         AccessViaHosts:
-          "http://keep0.zzzzz.example.com:25107/": {}
-        Driver: Directory
+          "http://keep0.ClusterID.example.com:25107": {}
+        Driver: Directory
         DriverParameters:
           # The directory that will be used as the backing store.
-          Root: /mnt/local-disk
-
-          # When true, read and write operations (for whole 64MiB
-          # blocks) on an individual volume will queued and issued
-          # serially.  When false, read and write operations will be
-          # issued concurrently.
-          #
-          # May improve throughput if you experience contention when
-          # there are multiple requests to the same volume.
-          #
-          # When using SSDs, RAID, or a shared network filesystem, you
-          # probably don't want this.
-          Serialize: false
+          Root: /mnt/local-disk
 
         # How much replication is performed by the underlying
         # filesystem.  (for example, a network filesystem may provide
@@ -53,28 +39,34 @@ Note that each volume has an AccessViaHosts section indicating that (for example
         # reads.
         ReadOnly: false
 
-        # Storage classes to associate with this volume.  See "Storage
-        # classes" in the "Admin" section of doc.arvados.org.
+        # Storage classes to associate with this volume.
         StorageClasses: null
 
-      uuid_prefix-nyw5e-000000000000001:
+      ClusterID-nyw5e-000000000000001:
         AccessViaHosts:
-          "http://keep1.zzzzz.example.com:25107/": {}
-        Driver: Directory
+          "http://keep1.ClusterID.example.com:25107": {}
+        Driver: Directory
         DriverParameters:
-          Root: /mnt/local-disk
+          Root: /mnt/local-disk
 
-In the case of a network-attached filesystem accessible by all keepstore servers, the AccessViaHosts section is omitted. +In the case of a network-attached filesystem, the @AccessViaHosts@ section can have multiple entries. If the filesystem is accessible by all keepstore servers, the AccessViaHosts section can be empty, or omitted entirely. In this example, the underlying storage system performs replication, so specifying @Replication: 2@ means a block is considered to be stored twice for the purposes of data integrity, while only stored on a single volume from the perspective of Keep. -
Clusters:
-  uuid_prefix:
-    Volumes:
-      # This volume is used by all keepstore servers.
-      uuid_prefix-nyw5e-000000000000002:
-        Driver: Directory
+
    Volumes:
+      ClusterID-nyw5e-000000000000002:
+        AccessViaHosts:
+          # This section determines which keepstore servers access the
+          # volume. In this example, keep0 has read/write access, and
+          # keep1 has read-only access.
+          #
+          # If the AccessViaHosts section is empty or omitted, all
+          # keepstore servers will have read/write access to the
+          # volume.
+          "http://keep0.ClusterID.example.com:25107/": {}
+          "http://keep1.ClusterID.example.com:25107/": {ReadOnly: true}
+        Driver: Directory
         DriverParameters:
-          Root: /mnt/network-attached-filesystem
+          Root: /mnt/network-attached-filesystem
         Replication: 2