Skip to content

pragmagrid/cloudmesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudmesh Roll

This roll installs Comet cloudmesh client CLI on a virtual cluster frontend that is run on the physical Comet cluster. The CLI provides for maangement of the comet virtual cluster from the virtual cluster forntend. Tested on Rocks 6.2

  1. Python roll roll must be installed on the virtual frontend. It provides python 2.7.9
  2. Prerequisites that will be installed by the cloudmesh roll

Checkout roll distribution from git repo

# git clone https://github.com/pragmagrid/cloudmesh
# cd cloudmesh/

To build a roll, first execute a script that installs pip and virtualenv as prerequisites for building the cloudmesh client during the roll build stage:

# ./bootstrap.sh

Then build the roll

# make roll

The resulting ISO file cloudmesh-VERSION.iso is the roll that can be added to the virtual cluster frontend.

Make sure that the python roll is installed.

# rocks add roll cloudmesh-VERSION.iso
# rocks enable roll cloudmesh
# (cd /export/rocks/install; rocks create distro)
# yum clean all
# rocks run roll cloudmesh > add-cloudmesh.sh
# bash add-roll.sh

The following RPMS install:

  1. cloudmesh-module: /usr/share/Modules/modulefiles/cloudmesh
  2. opt-cloudmesh: /opt/client/
  3. opt-cloudmesh-env: /opt/ENV/
  4. opt-pip: /opt/python/lib/python2.7/site-packages/pip
  5. opt-virtual-env: /opt/python/lib/python2.7/site-packages/

Load the module and initialize the client

# module load cloudmesh
# cm help

The second commadn will generate the template ~/.cloudmeshcloudmesh.yaml file. Initiate the configuration from the template

# cm comet init

Examine if correct and represnet your comet environment. If no errors, run other cm commands as usual

# cm comet cluster

About

Comet cloud mesh client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published