Location
The location
submenu is used for configuring other StorPool sub-clusters in
the same or different location (see Multi-site and multi-cluster). The
location ID is the first part (left of the .
) in the SP_CLUSTER_ID
configured in the remote cluster.
For example, to add a location with SP_CLUSTER_ID=nzkr.b
:
# storpool location add nzkr StorPoolLab-Sofia
OK
To list the configured locations:
# storpool location list
-----------------------------------------------
| id | name | rxBuf | txBuf |
-----------------------------------------------
| nzkr | StorPoolLab-Sofia | 85 KiB | 128 KiB |
-----------------------------------------------
To rename a location:
# storpool location rename StorPoolLab-Sofia name StorPoolLab-Amsterdam
OK
To remove a location:
# storpool location remove StorPoolLab-Sofia
OK
Note
This command will fail if there is an existing cluster or a remote bridge configured for this location
To update the send or receive buffer sizes to values different from the defaults, use:
# storpool location update StorPoolLab-Sofia recvBufferSize 16M
OK
# storpool location update StorPoolLab-Sofia sendBufferSize 1M
OK
# storpool location list
-----------------------------------------------
| id | name | rxBuf | txBuf |
-----------------------------------------------
| nzkr | StorPoolLab-Sofia | 16 MiB | 1.0 MiB |
-----------------------------------------------