salt.modules.riak

Riak Salt Module

salt.modules.riak.cluster_commit()

Commit Cluster Changes

在 2015.8.0 版更改.

CLI 范例:

salt '*' riak.cluster_commit
salt.modules.riak.cluster_join(username, hostname)

Join a Riak cluster

在 2015.8.0 版更改.

CLI 范例:

salt '*' riak.cluster_join <user> <host>

username - The riak username to join the cluster hostname - The riak hostname you are connecting to

salt.modules.riak.cluster_leave(username, hostname)

Leave a Riak cluster

2015.8.0 新版功能.

CLI 范例:

salt '*' riak.cluster_leave <username> <host>

username - The riak username to join the cluster hostname - The riak hostname you are connecting to

salt.modules.riak.cluster_plan()

Review Cluster Plan

在 2015.8.0 版更改.

CLI 范例:

salt '*' riak.cluster_plan
salt.modules.riak.member_status()

Get cluster member status

在 2015.8.0 版更改.

CLI 范例:

salt '*' riak.member_status
salt.modules.riak.services()

List available services on a node

2015.8.0 新版功能.

CLI 范例:

salt '*' riak.services
salt.modules.riak.start()

Start Riak

CLI 范例:

salt '*' riak.start
salt.modules.riak.status()

Current node status

2015.8.0 新版功能.

CLI 范例:

salt '*' riak.status
salt.modules.riak.stop()

Stop Riak

在 2015.8.0 版更改.

CLI 范例:

salt '*' riak.stop
salt.modules.riak.test()

Runs a test of a few standard Riak operations

2015.8.0 新版功能.

CLI 范例:

salt '*' riak.test