PSTORAGE−RM−CS

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
AUTHOR
SEE ALSO

NAME

pstorage-rm-cs − Remove a chunk server from the cluster.

SYNOPSIS

pstorage [−c CLUSTER_NAME] [−f,−−force] rm−cs [−W,−−wait] [−U,−−cancel] CS_ID|−l,−−local PATH

DESCRIPTION

pstorage−rm−cs(1) removes a CS from the cluster. The removing operation for the living CS will be performed in two stages. At first stage the master migrates all required chunks to other CSes. At second stage the master forgets about this chunk server and the pstorage−csd service will remove CS’s repository as soon as possible.

OPTIONS

−c, −−cluster=CLUSTER_NAME

The name of the cluster to connect to. A valid cluster associated with the name is discovered using DNS or zeroconf (multicast). If the −c option is omitted, the PSTORAGE_NAME environment variable is used.

−f, −−force

Remove a chunk server without chunks migration. It’s option usefull to remove dead or lost chunk servers.

−W, −−wait

Wait until all required chunks will be migrated to other CSes and the specified CS will be completely removed.

−U, −−cancel

Cancel removing, it’s possible only during first stage.

CS_ID

An ID of chunk server to remove.

−l, −−local=PATH

Remove the offline CS by path PATH.

EXIT STATUS

0

Success

Non−zero

Failure (syntax or usage error; configuration error; cluster failure; unexpected error).

AUTHOR

Copyright © 2011−2013, Parallels, Inc. All rights reserved.

SEE ALSO

pstorage(1), csd(1), pstorage−overview(7), pstorage−make−cs(1)