• 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 » How to Run Rackspace Cloud Server Image on Local Computer

By Abhishek Ghosh April 8, 2014 6:28 am Updated on April 8, 2014

How to Run Rackspace Cloud Server Image on Local Computer

Advertisement

How to Run Rackspace Cloud Server Image on Local Computer? Will it not be great if we can run just a mirror copy of our whole server locally? Theoretically it is closer to the concept of Virtual Appliance. If you are used with the terminology, you can watch the video on Creating WordPress Virtual Appliance Guide.

Actually, the thing recently has been made official by Rackspace by feature. We are not describing the new method. For First Generation Cloud Servers, it is quite easy to run such image. But for the New Generation Performance Servers, in order to run Rackspace Cloud Server image on Local computer, you need to work and learn a bit more.

 

How to Run Rackspace Cloud Server Image on Local Computer : First Know the Basics

 

Actually, the mechanism is not so easy in the way we create a Virtual Appliance. The reason is security – it will be a dangerous situation if the system was not API based. There are huge number of basic questions and answers on Rackspace Cloud Server Image on official Website :

Advertisement

---

Vim
1
http://www.rackspace.com/knowledge_center/article/cloud-images-frequently-asked-questions

For security reasons, some parts are not exposed. Image storing is part of OpenStack Glance and OpenStack Swift. At emergency you will get the backup on request.

 

How to Run Rackspace Cloud Server Image on Local Computer

 

The hack to get the image was discovered by some users; if you go to Cloud Server Webpage, select the Images tab and create an on-demand image; in Cloud Files there should be the file there named like

Vim
1
servername_date_number_somestring.tar.gz.0

You have to download the image to your server. The easiest way to do this on Ubuntu is to use Swift API based authentication.

Vim
1
2
#Install Swift
sudo apt-get install swift

Then run it :

Vim
1
swift -A https://auth.api.rackspacecloud.com/v1.0 -U username -K API_key download cloud servers myservername_YYYYMMDD_XXXXX_cloudserverZZZZZ.tar.gz.0

When the download is done, uncompress the downloaded file (tar zxf myservername_YYYYMMDD_XXXXX_cloudserverZZZZZ.tar.gz.0). There will be the following files:

Vim
1
2
3
4
--image
    +-image.vhd
    +-manifest.ovf
    +-snap.vhd

image.vhd is the thing we are interested, it has the root partition from the cloud server. We need to convert it to a raw disk image.

Vim
1
2
3
4
5
6
#install the utility
sudo apt-get install qemu-utils
#convert the image.vhd to workable thing
qemu-img convert -p image.vhd disk.img
#perform a check
fdisk -l disk.img

Follow these steps :

How to Run Rackspace Cloud Server Image on Local Computer

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#swap volumes
# LXYG should be like L30G, XY is yours
lvcreate -LXYG -n myservername-disk vg0 and lvcreate -LXYG -Cy -n servername-swap vg0
# initialize the swap disk
mkswap /dev/vg0/myservername-swap
#copy disk image
dd if=disk.img of=/dev/vg0/servername-disk bs=4096 skip=256
# check
e2fsck -f /dev/vg0/myservername-disk
resize2fs -p /dev/vg0/myservername-disk
e2fsck -f /dev/vg0/myservername-disk    
# virtual disk settings on your virtual machine
# creating grub menu.lst file.
 
more tmp/etc/fstab
more tmp/boot/grub/menu.lst
 
# network settings of DomU
nano tmp/etc/network/interfaces

Editing the above is most critical.

Create a xen config file for your imported DomU :

Vim
1
nano /etc/xen/servername.cfg

Example config :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name = "servername"
bootloader = '/usr/lib/xen-default/bin/pygrub'
#uncomment the following if you want to boot into single user mode
#extra = " single"
vcpus       = '2'
memory      = '512'
#
#  Disk device(s). (Use the correct mappings from step 12.)
#
disk        = [
                  'phy:/dev/vg0/myservername-disk,xvda1,w',
                  'phy:/dev/vg0/myservername-swap,xvda2,w',
              ]
#
#  Networking
#
vif         = [ 'bridge=xenbr0' ]
#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

Done, attach a console :

Vim
1
xm create -c /etc/xen/myservername.cfg

Those who are using Performance Server or higher, they have more flexibility. However, that is a different story.

Tagged With download Rackspace server image , https://thecustomizewindows com/2014/04/run-rackspace-cloud-server-image-local-computer/ , import rackspace image vhd grub , rackspace server imaging , run rackspace image locally

This Article Has Been Shared 243 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 How to Run Rackspace Cloud Server Image on Local Computer

  • WordPress 3.6 on Rackspace Cloud Sites and W3 Total Cache 0.9.3 Plugin

    WordPress 3.6 on Rackspace Cloud Sites and W3 Total Cache 0.9.3 Plugin with perfect configuration demands quite good idea on many aspects,here are some for you.

  • Business Intelligence Software in Healthcare

    Increased desire for more and better information by different industries resulted in increased sales of BI software solutions including Healthcare.

  • Photo Gallery Hosting : Free or Nearly Free Practical Options

    Photo gallery hosting can be Free or nearly Free with various Cloud based and Free Softwares. It is possible to run a website that has your photos with no cost.

  • Cloud Computing and Actions Against Hackers

    Cloud Computing IT executives at least theoretically now know about “distributed denial of service” attacks. Sales and destruction of brand image annoys the users.

  • OpenShift Node.js Tutorial with Video

    OpenShift Node.js Tutorial with Video is an excellent guide for anyone! You can create your own instance of Node.js Application within few minutes.

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 is Configuration Management February 5, 2023
  • What is ChatGPT? February 3, 2023
  • Zebronics Pixaplay 16 : Entry Level Movie Projector Review February 2, 2023
  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How to Run Rackspace Cloud Server Image on Local Computer," in The Customize Windows, April 8, 2014, February 5, 2023, https://thecustomizewindows.com/2014/04/run-rackspace-cloud-server-image-local-computer/.

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