Managing your cloud resources with OpenStack: Difference between revisions

Jump to navigation Jump to search
Line 51: Line 51:
==Command Line Clients==
==Command Line Clients==
The OpenStack command line clients allow you to perform many of the same operations and more that you can perform on the OpenStack web dashboard. The command line clients can be used from any machine, virtual or otherwise, and only require having an internet connection and the command line clients installed. The below discussion of command line clients, assumes that they are being used on a Linux machine. It may be possible to use them in Windows however, this has not yet been explored.
The OpenStack command line clients allow you to perform many of the same operations and more that you can perform on the OpenStack web dashboard. The command line clients can be used from any machine, virtual or otherwise, and only require having an internet connection and the command line clients installed. The below discussion of command line clients, assumes that they are being used on a Linux machine. It may be possible to use them in Windows however, this has not yet been explored.
 
<ol>
#Get the openstack environment setup file: On the OpenStack dashboard go to compute->Access & Security-> API Access-> Download OpenStack RC File. This file sets environment variables so that the command line clients know how to connect to your OpenStack project.
<li>
#source the file (you will need to provide your OpenStack password)
Get the openstack environment setup file: On the OpenStack dashboard go to compute->Access & Security-> API Access-> Download OpenStack RC File. This file sets environment variables so that the command line clients know how to connect to your OpenStack project.</li>
# install the nova client:<br/><br/><code>sudo apt-get install python-novaclient</code><br/><br/>this client is used for managing images, instances, and flavors (i.e. the "compute" tab on horizon dashboard). (e.g. run the command <code>nova list</code>, which lists all the instances currently setup)
<li>source the file (you will need to provide your OpenStack password)</li>
#install keystone client:<br/><br/><code>sudo apt-get install python-keystoneclient</code><br/><br/>this client creates and manages users, tenants, roles, endpoints, and credentials. (e.g. run the command <code>keystone catalog</code>)
<li>install the nova client:{{Command|sudo apt-get install python-novaclient}}this client is used for managing images, instances, and flavors (i.e. the "compute" tab on horizon dashboard). (e.g. run the command {{Command|nova list}}, which lists all the instances currently setup)</li>
#install neutron client:<br/><br/><code>sudo apt-get install python-neutronclient</code><br/><br/> this client manages networks
<li>install keystone client:{{Command|sudo apt-get install python-keystoneclient}}this client creates and manages users, tenants, roles, endpoints, and credentials. (e.g. run the command {{Command|keystone catalog}})</li>
#install swift client:<br/><br/><code>sudo apt-get install python-swiftclient</code><br/><br/>This client is used for managing the OpenStack object storage, see http://docs.openstack.org/cli-reference/content/swiftclient_commands.html for swift client commands.<br/>
<li>install neutron client:{{Command|sudo apt-get install python-neutronclient}} this client manages networks</li>
<li>install swift client:{{Command|sudo apt-get install python-swiftclient}} This client is used for managing the OpenStack object storage, see http://docs.openstack.org/cli-reference/content/swiftclient_commands.html for swift client commands.</li>
</ol>


==Accessing a VM with Multiple Users==
==Accessing a VM with Multiple Users==
cc_staff
1,486

edits

Navigation menu