From b8fd2666b47328c292be9e1a50643c778125d0ba Mon Sep 17 00:00:00 2001 From: Alberto Murillo Date: Thu, 16 Jun 2016 12:31:52 -0500 Subject: [PATCH] Update ciao documentation to show the new ciao-cli usage --- source/ciao-cluster-setup.rst | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/ciao-cluster-setup.rst b/source/ciao-cluster-setup.rst index 39b5ecd7..c2e04648 100644 --- a/source/ciao-cluster-setup.rst +++ b/source/ciao-cluster-setup.rst @@ -355,17 +355,17 @@ console logging output. Use the `ciao-cli`_ command line tool to verify that your cluster is now up and running:: - $ ciao-cli -username admin -password -cluster-status - $ ciao-cli -username admin -password -list-cns - $ ciao-cli -username admin -password -list-cncis + $ ciao-cli -username admin -password node status + $ ciao-cli -username admin -password node list -compute + $ ciao-cli -username admin -password node list -cnci -``-cluster-status`` shows the number of nodes in your cluster, and the +``node status`` shows the number of nodes in your cluster, and the status of each. -``-list-cns`` displays a more detailed view (number of instances per node, +``node list -compute`` displays a more detailed view (number of instances per node, available resources per node, etc.). -``-list-cncis`` provides information about the current CNCI VMs, and their statuses. +``node list -cnci`` provides information about the current CNCI VMs, and their statuses. Interacting with your cluster ============================= @@ -421,24 +421,24 @@ As a valid user, the `ciao-cli`_ tool allows you to start a workload. First, you may want to know which workloads are available:: - $ ciao-cli -list-workloads + $ ciao-cli workload list Then you can launch one or more workloads:: - $ ciao-cli -launch-instances -workload -instances + $ ciao-cli instance add -workload -instances And you can monitor all your instances statuses (``pending`` or ``running``):: - $ ciao-cli -list-instances + $ ciao-cli instance list Performance data can be obtained (optionally) by adding a specific label to all your instances:: - $ ciao-cli -launch-instances -instance-label -workload -instances + $ ciao-cli instance add -label -workload -instances And eventually fetch the performance data:: - $ ciao-cli -dump-label + $ ciao-cli trace show