All Downloads are FREE. Search and download functionalities are using the official Maven repository.

help.site.adoc Maven / Gradle / Ivy

SITE(1)
=======
:doctype: manpage


NAME
----
site - manages backup locations and performs cross-site replication operations.


SYNOPSIS
--------
*site status* ['OPTIONS']

*site bring-online* ['OPTIONS']

*site take-offline* ['OPTIONS']

*site push-site-state* ['OPTIONS']

*site cancel-push-state* ['OPTIONS']

*site cancel-receive-state* ['OPTIONS']

*site push-site-status* ['OPTIONS']

*site state-transfer-mode get|set* ['OPTIONS']

*site name*

*site view*

*site is-relay-node*

*site relay-nodes*


OPTIONS
-------
*-c, --cache*='CACHE_NAME'::
Specifies a cache.

*-a, --all-caches*::
Applies the command to all caches.

*-s, --site*='SITE_NAME'::
Specifies a backup location.


STATE TRANSFER MODE OPTIONS
---------------------------

*--mode*='MODE'::
Sets the state transfer mode. Values are `MANUAL` (default) or `AUTO`.


EXAMPLES
--------
`site status --cache=mycache` +
Returns the status of all backup locations for `mycache`.

`site status --all-caches` +
Returns the status of each backup location for all caches with backups.

`site status --cache=mycache --site=NYC` +
Returns the status of `NYC` for `mycache`.

`site bring-online --cache=mycache --site=NYC` +
Brings the site `NYC` online for `mycache`.

`site take-offline --cache=mycache --site=NYC` +
Takes the site `NYC` offline for `mycache`.

`site push-site-state --cache=mycache --site=NYC` +
Backs up caches to remote backup locations.

`site push-site-status --cache=mycache` +
Displays the status of the operation to backup `mycache`.

`site cancel-push-state --cache=mycache --site=NYC` +
Cancels the operation to backup `mycache` to `NYC`.

`site cancel-receive-state --cache=mycache --site=NYC` +
Cancels the operation to receive state from `NYC`.

`site clear-push-state-status --cache=myCache` +
Clears the status of the push state operation for `mycache`.

`site state-transfer-mode get --cache=myCache --site=NYC` +
Retrieves the state transfer mode for `mycache` to `NYC`.

`site state-transfer-mode set --cache=myCache --site=NYC --mode=AUTO` +
Configures automatic state transfer for `mycache` to `NYC`.

`site name` +
Returns the name of the local site. If cross-site replication is not configured, the name of the local site is always "local".

`site view` +
Returns a list of names for all sites or an empty list ("[]") if cross-site replication is not configured.

`site is-relay-node` +
Returns true if the node handles RELAY messages between clusters.

`site relay-nodes` +
Returns a list of relay nodes by their logical names.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy