• 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.

This Article Has Been Shared 120 Times!

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)

  • Cloud Storage Usage and Implementation Tips

    Cloud Storage becoming more and more important as Free Cloud Storage options are becoming common. Here are tips for both free and paid Cloud Storage services.

  • Cloud Computing API – Why We Need To Give It Importance

    Cloud Computing API is taken as a must have part as it can nicely integrate the dependency on demand computing power.

  • Scalability and Service Continuity Are Not Equivalent in Cloud Computing

    Scalability and Service Continuity Are Not Equivalent in Cloud Computing. Most enterprise data centers have been designed keeping in mind about interruptions.

  • Managing Rackspace Cloud Account Billing

    Here is how to on managing Rackspace Cloud account billing matters. This is, intended to help the existing users to understand a third party.

  • Agile Application and Cloud Computing

    Agile software development has 12 principles. Agile application is the result of Service Oriented Architecture (SOA) and Agile development.

Additionally, 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

  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Important Python-Novaclient Commands (HP Cloud OpenStack)," in The Customize Windows, January 21, 2015, March 31, 2023, https://thecustomizewindows.com/2015/01/important-python-novaclient-commands-hp-cloud-openstack/.

Source:The Customize Windows, JiMA.in

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT