• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Important Python-Novaclient Commands (HP Cloud OpenStack)

By Abhishek Ghosh January 21, 2015 10:12 am Updated on January 21, 2015

Important Python-Novaclient Commands (HP Cloud OpenStack)

Advertisement

Here are Some Important Python-Novaclient Commands Mainly For HP Cloud, Which Uses OpenStack. Python-Novaclient is More Powerful Than GUI Tools. If you need to setup the Python-Novaclient, you should read our guide for getting started with HP Cloud. On GUI dashboard, there is a file named OpenStack RC file. From that file, you can configure your local computer’s client.

 

Important Python-Novaclient Commands (HP Cloud OpenStack)

 

We are taking that, you have already installed the Python-Novaclient Agent. The usage pattern is :

Vim
1
2
nova <subcommand>
nova <subcommand> <subcommand>

and so on, Help is always available by running nova subcommand help. As we have set the password on .rc file (.zshrc or .bashrc) file, running commands will not ask for the password. As on any OpenStack based IaaS, we are limited as client, we can check our allowed maximum limit by running this command :

Advertisement

---

Vim
1
nova absolute-limits

This will return this kind of “photograph” :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
âžœ  ~  nova absolute-limits
+-------------------------+-------+
| Name                    | Value |
+-------------------------+-------+
| maxServerMeta           | 50    |
| maxPersonality          | 5     |
| maxImageMeta            | 50    |
| maxPersonalitySize      | 10240 |
| maxTotalRAMSize         | 15360 |
| maxSecurityGroupRules   | 20    |
| maxTotalKeypairs        | 100   |
| totalRAMUsed            | 7168  |
| maxSecurityGroups       | 10    |
| totalFloatingIpsUsed    | 0     |
| totalInstancesUsed      | 3     |
| totalSecurityGroupsUsed | 1     |
| maxTotalFloatingIps     | 10    |
| maxTotalInstances       | 40    |
| totalCoresUsed          | 5     |
| maxTotalCores           | -1    |
+-------------------------+-------+
âžœ  ~

Important Python-Novaclient Commands HP Cloud OpenStack

We can not show the real output for many commands, this is a safe, real example. You can run the command nova help boot to get all the useful commands and here is the full command to save the huge list as a text file named nova_help_boot.txt and open it on nano :

Vim
1
nova help boot > nova_help_boot.txt && nano nova_help_boot.txt

Not all the commands will work on Rackspace, HP Cloud etc. These are OpenStack commands, the vendors can limit. If you run this command, you’ll get the list of running instances :

Vim
1
nova list --status active

Right now, I need not to login to HP Cloud to create a snapshot of this server where from you are reading this guide, I can run this command after changing the values to real one :

Vim
1
2
3
nova image-create <server> <backup>
# <server> is the name of the instance
# <backup> is any name you will use

nova image-list and nova flavor-list are important variables to create instances on the fly. Again, a practical modification of the first command is :

Vim
1
nova image-list > HP-images.txt && nano HP-images.txt

We can create an instance by running this command :

Vim
1
nova boot --<flavor ID> --<image ID> <server name>

Server Name is the instance we type on web GUI. We can delete the instance by running nova delete server name command. Easy. This will not work on HP Cloud :

Vim
1
nova root-password <server name>

You will get all the commands on OpenStack’s official website :

Vim
1
http://docs.openstack.org/cli-reference/content/novaclient_commands.html

or you can simply wget the pdf file, it is around 400 paged eBook :

Vim
1
wget http://docs.openstack.org/cli-reference/cli-reference.pdf

Yeah, on IaaS; you are limited by many stuffs, the next level up is Software Defined Data Center, which will give you more resources.

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Important Python-Novaclient Commands (HP Cloud OpenStack)

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Command Prompt Commands : Alphabetical list of all commands in Windows 7

    Command Prompt Commands in Windows 7 provides the user access to 180+ command line commands. Here is a list of 200 Command Prompt Commands in Windows 7.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy