You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

OpenStack offers the possibility to manage your VMs via locally installed command line tools. This How-to explains the setup and utilization of the command line tools on your local (Linux) computer.

  1. You need to install the command line tools on your local machine. On Debian linux, you need to install the openstack-clients package from the distribution's repository.

    root@client:~# apt install openstack-clients
  2. Log in to with your username, click on your username on the upper right corner of the screen and download the OpenStack RC File v3 to your computer.
  3. The RC File contains the settings you need to talk to the LRZ Compute Cloud. However, you need to provide your password to perform any actions on the cloud. Before running an openstack command, you need to source this file and enter your LRZ SIM password.

    fallenbeck@client:~$ .
    Please enter your OpenStack Password for project di25xib as user di25xib:
  4. That's it. Now you can use your locally installed command line tools to query information from the OpenStack cloud and manage your VMs and Images.

    fallenbeck@client:~$ openstack server list
    | ID                                   | Name           | Status            | Networks                       | Image | Flavor        |
    | 5be95ee4-c3e0-4c53-b5c3-351065ec9be4 | My 3D VM       | SHELVED_OFFLOADED | MWN=192.168.0.w                |       | nvidia-v100.1 |
    | 06877088-2d14-4805-814d-9a1dfe66f656 | Workstation    | SHELVED_OFFLOADED | MWN=192.168.0.z, 10.195.x.y    |       | lrz.medium    |

A comprehensive list of possible commands as well as more detailed information of how to install and use the OpenStack command line tools can be found on the official OpenStack documentation website.

  • No labels