$ fleetctl list-units UNIT MACHINE ACTIVE SUB couchbase_bootstrap_node.service 33bf6324.../10.3.0.7 active running couchbase_bootstrap_node_announce.service 33bf6324.../10.3.0.7 active running couchbase_node.1.service 461b77ab.../10.3.0.193 active running couchbase_node.2.service 80e8c0f2.../10.3.0.210 active running
デプロイ済みのunitsをすべて破棄します。
$ fleetctl destroy couchbase_bootstrap_node.service couchbase_bootstrap_node_announce.service couchbase_node.1.service couchbase_node.2.service Destroyed couchbase_bootstrap_node.service Destroyed couchbase_bootstrap_node_announce.service Destroyed couchbase_node.1.service Destroyed couchbase_node.2.servic $ fleetctl list-units UNIT MACHINE ACTIVE SUB
# Args: # -n number of Sync Gateway nodes to start # -c the commit or branch to use. If "image" is given, will use master branch at time of docker image build. # -b the name of the couchbase bucket to create, or leave this off if you don't need to create a bucket. (optional) # -z the size of the bucket in megabytes, or leave this off if you don't need to create a bucket. (optional) # -g the Sync Gateway config file or URL to use. # -v Couchbase Server version (3.0.1 or 2.2, or 0 to skip the couchbase server initialization) # -m number of couchbase nodes to start # -u the username and password as a single string, delimited by a colon (:)
$ fleetctl list-units UNIT MACHINE ACTIVE SUB couchbase_bootstrap_node.service 33bf6324.../10.3.0.7 active running couchbase_bootstrap_node_announce.service 33bf6324.../10.3.0.7 active running couchbase_node.1.service 461b77ab.../10.3.0.193 active running couchbase_node.2.service 80e8c0f2.../10.3.0.210 active running sync_gw_announce@1.service f0f5fcc4.../10.3.0.47 active running sync_gw_node@1.service f0f5fcc4.../10.3.0.47 active running
couchbase_bootstrap_nodeを含めてCouchbase Server が3台、Couchbase Sync Gatewayが1台作成できました。