• 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 » Mount OpenStack Swift on Ubuntu Server (HP Cloud)

By Abhishek Ghosh March 6, 2015 10:49 pm Updated on March 6, 2015

Mount OpenStack Swift on Ubuntu Server (HP Cloud)

Advertisement

Here is How To Mount OpenStack Swift on Ubuntu Server. We Have Used HP Cloud For Example Prototype Configuration for OpenStack Swift Storage. Rackspace system is different, because Rackspace deliberately uses API based authentication. Otherwise, all Rackspace so called Free Softwares would be Free Softwares for all OpenStack installations. HP Cloud uses typical OpenStack Installation system. Basically, HP is the main contributor of codes for OpenStack at this moment. If you are still Rackspace user, you need to follow this Mount Rackspace Cloud Files on Ubuntu Server Guide. In this Guide We Will Mount OpenStack Swift on Ubuntu Server on HP Cloud minus Rackspace. It could be own installation. If you modify, you can do it on any unix like OS including BSD and OS X.

 

Logics To Mount OpenStack Swift on Ubuntu Server (HP Cloud)

 

Most ask whether we can mount wp-content on OpenStack Swift or not, that frankly means direct CDN sync. One line answer – not possible as unreliable. WordPress is PHP based, that CDN sync function of OpenStack Swift is quite complex and as Tenant, your instance can die. Our mounting is for easy backups, easy workflow on command line.

Logical flow to Mount OpenStack Swift on Ubuntu Server is quite easy. Swiftly is a Python Swift Client based tool. Cloudfuse is a FUSE application which provides access to OpenStack Swift. Cloudfuse was modified mainly for Rackspace Cloud Files but basically it works with any OpenStack with minor tweak. We will use only Cloudfuse here.

Advertisement

---

 

Steps To Mount OpenStack Swift on Ubuntu Server (HP Cloud)

 

Do it on a developmental setup with exact configuration like production server. You may spin up a server from snapshot. In the first step, we need to install all the dependencies :

location /root
Vim
1
2
3
sudo su ~
apt-get update -y && apt-get upgrade
apt-get install build-essential libcurl4-openssl-dev libxml2-dev libssl-dev libfuse-dev git gcc

build-essential should enable make. Check with which make. If no output, troubleshoot it. We need to clone this repo :

location /root
Vim
1
2
3
4
# repo - https://github.com/redbo/cloudfuse
git clone https://github.com/redbo/cloudfuse.git -v
# v flag added for verbose output
# read git reference - http://git-scm.com/docs/git-clone

Mount OpenStack Swift on Ubuntu Server HP Cloud

We will install crontab then :

Vim
1
2
3
4
apt-get install cron
# start and run it on background
sudo /sbin/chkconfig crond on
sudo /sbin/service crond start

Now change directory and compile :

location /root/cloudfuse/
Vim
1
2
3
4
5
6
7
8
9
10
cd /root/cloudfuse/
./configure
make
make install
# if the next command throws error, run
# apt-get install fuse
# then again
modprobe fuse
# fuse documentation
http://sourceforge.net/projects/fuse/?source=directory

Now, create a file named .cloudfuse , root of the stuffs :

location /root/cloudfuse/
Vim
1
2
nano /root/.cloudfuse
# read out of this window what to copy paste there

You have to copy this prototype and fill with real data, modify and then paste that on .cloudfuse file. Here is a trick. For OpenStack, you need it looking like openstack_rc file :

Vim
1
2
3
4
username=RealUsername
tenant=realtenantID
password=secret
authurl=HP Cloud or your installations's full url

Do not read the GitHub repo’s README, they also wrote for Rackspace Cloud’s OpenStack Swift setup. The guides end here for unknown reason. We have to mount it :

Vim
1
2
mkdir /mnt/swift/ && cloudfuse /mnt/swift/
# no -p flag to mount

The file /etc/modules should contain direction for fuse. Documentation is here :

Vim
1
https://help.ubuntu.com/community/Loadable_Modules

The file /var/spool/cron/crontab or /etc/crontab actually need a directive like :

Vim
1
@reboot root cloudfuse /mnt/swift -o allow_other,nonempty

Now run reboot and check. This should make it working. The repo has some logical problems, that might require troubleshooting by a bit Google Search with the error.

HP Cloud does not give us anything more than the other users for free, neither they endorse us. If you are facing errors, you have to wait till we create a video guide. One dollar charge counts!

Tagged With cloudfuse openstack swift , mount open stack swift , openstack swift mount , rackspace cloudfuse 2015

This Article Has Been Shared 379 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 Mount OpenStack Swift on Ubuntu Server (HP Cloud)

  • Cloud Computing 3D Rendering And Scope In Film Industry

    Cloud Computing 3D Rendering Has Definite Scope in Film Industry which might alarm the Stars of tomorrow and relieve the Producers investing in the Films.

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

  • Mobile Phone Camera Photography : Get The Best Result

    Mobile Phone Camera Photography is becoming an important matter to seriously consider for Digital Photography. We always take a Mobile Phone with us.

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

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Mount OpenStack Swift on Ubuntu Server (HP Cloud)," in The Customize Windows, March 6, 2015, January 29, 2023, https://thecustomizewindows.com/2015/03/mount-openstack-swift-on-ubuntu-server-hp-cloud/.

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