#. Create a new realm for the multi-site configuration by opening a command
line interface on a host that will serve in the master zonegroup and zone.
- Then execute the following:
+ Then run the following command:
.. prompt:: bash #
#. To create a new master zonegroup for the multi-site configuration, open a
command-line interface on a host in the master zonegroup and zone. Then
- execute the following:
+ run the following command:
.. prompt:: bash #
Create a new master zone for the multi-site configuration by opening a command
line interface on a host that serves in the master zonegroup and zone. Then
-execute the following:
+run the following command:
.. prompt:: bash #
secondary zone. Be sure to specify a different zone name.
.. important:: Metadata operations (for example, user creation) must be
- executed on a host within the master zone. Bucket operations can be received
+ run on a host within the master zone. Bucket operations can be received
by the master zone or the secondary zone, but the secondary zone will
redirect bucket operations to the master zone. If the master zone is down,
bucket operations will fail.
Create a Realm
~~~~~~~~~~~~~~
-To create a realm, execute ``realm create`` and specify the realm name.
+To create a realm, run ``realm create`` and specify the realm name.
If the realm is the default, specify ``--default``.
.. prompt:: bash #
Make a Realm the Default
~~~~~~~~~~~~~~~~~~~~~~~~
-One realm in the list of realms should be the default realm. There may
-be only one default realm. If there is only one realm and it wasn’t
-specified as the default realm when it was created, make it the default
-realm. Alternatively, to change which realm is the default, execute:
+One realm in the list of realms should be the default realm. There may be only
+one default realm. If there is only one realm and it wasn’t specified as the
+default realm when it was created, make it the default realm. Alternatively, to
+change which realm is the default, run the following command:
.. prompt:: bash #
Delete a Realm
~~~~~~~~~~~~~~
-To delete a realm, execute ``realm rm`` and specify the realm name.
+To delete a realm, run ``realm rm`` and specify the realm name:
.. prompt:: bash #
Get a Realm
~~~~~~~~~~~
-To get a realm, execute ``realm get`` and specify the realm name.
+To get a realm, run ``realm get`` and specify the realm name:
.. prompt:: bash #
List Realms
~~~~~~~~~~~
-To list realms, execute ``realm list``.
+To list realms, run ``realm list``:
.. prompt:: bash #
List Realm Periods
~~~~~~~~~~~~~~~~~~
-To list realm periods, execute ``realm list-periods``.
+To list realm periods, run ``realm list-periods``:
.. prompt:: bash #
Deleting a Zonegroup
~~~~~~~~~~~~~~~~~~~~
-#. To delete a zonegroup, execute the following:
+#. To delete a zonegroup, run the following command:
.. prompt:: bash #
Listing Zones
~~~~~~~~~~~~~
-As ``root``, to list the zones in a cluster, execute:
+As ``root``, to list the zones in a cluster, run the following command:
.. prompt:: bash #
Getting a Zone
~~~~~~~~~~~~~~
-As ``root``, to get the configuration of a zone, execute:
+As ``root``, to get the configuration of a zone, run the following command:
.. prompt:: bash #
for details of configuring pools.
To set a zone, create a JSON object consisting of the pools, save the
-object to a file (e.g., ``zone.json``); then, execute the following
+object to a file (e.g., ``zone.json``); then, run the following
command, replacing ``{zone-name}`` with the name of the zone:
.. prompt:: bash #