• 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 » Floating IP & OpenStack Raksha For Disaster Recovery (HP Cloud)

By Abhishek Ghosh April 5, 2015 7:56 pm Updated on April 5, 2015

Floating IP & OpenStack Raksha For Disaster Recovery (HP Cloud)

Advertisement

Floating IP & OpenStack Raksha Can Be Used For Disaster Recovery and Obtaining Zero Downtime During Maintenance. Example is With HP Cloud as Client. OpenStack’s various features clearly pushes the clients, that is we as example to not use the less costly competitors like DigitalOcean. Floating IP & OpenStack Raksha can be ideally found in HP Cloud’s Installation. This style of usage is not possible at Rackspace.

 

Basics of Floating IP & OpenStack Raksha

 

We can add or release IP address at HP Cloud against the instances. Usually, we use one IP address against a domain (that means one instance) and add that IP address in (HP Cloud) DNS with highest possible TTL to encourage caching by AkamaiGhost servers. So, if we change the IP against the domains entry as A Name in DNS, we have to decrease the TTL from 50 years or so to a very low value. This is not desired. To add flexibility, we have a separate subnet and that public floating IP address. We will not change the IP address at (HP Cloud) DNS for an example situation where there can be downtime as described below.

 

Floating IP & OpenStack Raksha For Disaster Recovery (HP Cloud)

OpenStack Raksha is that Snapshot feature. The image is pushed towards Akamai’s Edge Server. On demand, we can spin an instance from it.

Advertisement

---

 

Floating IP & OpenStack Raksha For Disaster Recovery (HP Cloud)

 

Take an example situation with one server configuration (MySQL or any database server is running on the same instance). As usually we never use the internal IP / subnet to connect within one instance, it is very easy example usage of floating IP & OpenStack Raksha to avoid downtime.

As a first step, we are taking a snapshot of the instance. In second step, we are spinning a new instance with identical virtual device specs – same virtual RAM is the best guide. This new instance will have new set of subnet but no public IP.

After the image build is complete, we will dissociate the floating IP from the working old instance and associate with this new instance. We will check the front end manually on browser without any saved cookies to have a perfect working clone of our main instance. We can also do a cURL to check the header response.

We will add a new floating IP to the old instance and do SSH. Now, if we do any work like shutting down the web server software or simply running update and upgrade, the chance of failure on the fronted will be zero.

After updating / completing our work, we will work follow the above steps in reverse direction. We will delete the instance and release the IP used for the rescue purpose.

If database server is different

In case if the work is with different database server and web server, then for MySQL, we need to adjust accordingly :

Vim
1
2
3
4
5
6
7
8
# login
mysql -u root -h localhost -p
# 10.0.0.61 is subnet
CREATE USER 'GodKnows'@'10.0.0.61' IDENTIFIED BY 'MyPassword';
GRANT SELECT,DELETE,INSERT,UPDATE ON yourDataBase.* TO 'GodKnows'@'10.0.0.61';
GRANT ALL PRIVILEGES ON yourDataBase.* TO 'GodKnows'@'10.0.0.61';
FLUSH PRIVILEGES;
exit

On the web server, we need to change the subnet, for example; in case of WordPress, in wp-config.php file. Yes, it is a bit disturbing too much work to avoid Error Connecting Database Server. my.cnf should be widely open as we have router in front. Security group of the Database server should not accept port 80 or port 443. These are about security.

Tagged With hp Floating IP , Openstack Raksha slideshar3

This Article Has Been Shared 291 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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 Floating IP & OpenStack Raksha For Disaster Recovery (HP Cloud)

  • Cloud and SaaS : Is Cloud Based SaaS Becoming the Mainstream ?

    Cloud Computing is becoming the dominant global trend not only in enterprise IT but also in Private Small Sectors. Better,faster,cheaper is pushing Cloud ahead.

  • Juju on Rackspace Cloud Server : Test Drive with Ubuntu 12.04

    Juju on Rackspace Cloud Server is a test drive in real time. It is some what like driving a F1 car on a busy avenue for the first time in life. Start the Cloud. And the ride is too without wearing helmet – on an Operating System without any smartness – Windows 7 with PuTTY. […]

  • SaaS : Everything You Wanted To Know

    SaaS or Software as a Service is designed by the architecture to be used by the consumer. SaaS is the model oCloud which the general users mostly know to exist.

  • Cloud Computing Grown as There Was Real Demand From The Customers

    Cloud Computing grown as there was a clear cut demand from the consumer. Most users who cares for quality, actually went mad with the traditional web hosts. The crap graphics of cPanel, increasing bill for Virtual Private Server and Dedicated server, “your problem you will solve” type of mentality, usage of worst possible hardwares, all […]

  • Cloud Database : Migrating From Relational Database Model to NoSQL

    Cloud Database is more and being in use now than before. The question of migrating from relational database model to NoSQL Database is becoming more important.

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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (21K Followers)
  • Twitter (5.3k 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 is Standard Software February 28, 2021
  • WordPress Link to text Fragment February 27, 2021
  • How to Protect IP Cameras From Hackers February 25, 2021
  • 6 Sectors That Have Undergone Revamps in Digital Landscape February 24, 2021
  • What You Can Control with a Smartwatch and ESP32 February 23, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Floating IP & OpenStack Raksha For Disaster Recovery (HP Cloud)," in The Customize Windows, April 5, 2015, March 1, 2021, https://thecustomizewindows.com/2015/04/floating-ip-openstack-raksha-for-disaster-recovery-hp-cloud/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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