Showing posts with label Grizzly. Show all posts
Showing posts with label Grizzly. Show all posts

Tuesday, October 8, 2013

Supernova instead of Nova?

We installed Supernova on Sierra, which is a very useful tool for OpenStack. If you say yes to any of the following questions, you should try Supernova.
  • Do you have multiple projects(tenants)?
  • Do you have another OpenStack to run your instances?
So here's how to use Supernova on Sierra.
* Before you try Supernova on FutureGird, you have to have your FutureGrid account and should know how to use OpenStack. Here's the link of our OpenStack Tutorial -> http://manual.futuregrid.org/openstackgrizzly.html
Login to Sierra and load Supernova.
ssh username@sierra.futuregrid.org
module load supernova

Check your novarc file and create your ~/.supernova file like below. In this example, my account(user1) is a member of fg123 and fg456.
[fg123]
OS_AUTH_URL=https://s77r.idp.sdsc.futuregrid.org:5000/v2.0
OS_CACERT=/etc/futuregrid/openstack/sierra/cacert.pem
OS_PASSWORD=***************
OS_TENANT_NAME=fg123
OS_USERNAME=user1

[fg456]
OS_AUTH_URL=https://s77r.idp.sdsc.futuregrid.org:5000/v2.0
OS_CACERT=/etc/futuregrid/openstack/sierra/cacert.pem
OS_PASSWORD=***************
OS_TENANT_NAME=fg456
OS_USERNAME=user1

Don't forget to change the permission to make it unreadable to anyone else.
chmod 600 ~/.supernova

Now, you should be able to check your tenant list.
supernova --list
-- fg123 --------------------------------------------------------------------
  OS_AUTH_URL          : https://s77r.idp.sdsc.futuregrid.org:5000/v2.0
  OS_CACERT            : /etc/futuregrid/openstack/sierra/cacert.pem
  OS_PASSWORD          : ***************
  OS_TENANT_NAME       : fg123
  OS_USERNAME          : user1
-- fg456 --------------------------------------------------------------------
  OS_AUTH_URL          : https://s77r.idp.sdsc.futuregrid.org:5000/v2.0
  OS_CACERT            : /etc/futuregrid/openstack/sierra/cacert.pem
  OS_PASSWORD          : ***************
  OS_TENANT_NAME       : fg456
  OS_USERNAME          : user1

The usage is the same as Nova Client. You just need to replace "nova" to "supernova <tenantname>". Here's how to boot an instance on each tenant.
supernova fg123 boot --image futuregrid/ubuntu-12.04 --flavor m1.small --key-name mykey fg123vm001
supernova fg456 boot --image futuregrid/ubuntu-12.04 --flavor m1.small --key-name mykey fg456vm002
supernova fg123 list
supernova fg456 list

Very easy and very useful, isn't it?

In my work, I have multiple tenants and multiple OpenStack sets to work with, so Supernova is very very very helpful. I hope it makes your work easier, too!


Thanks,

Tuesday, July 23, 2013

FutureGrid Upgrades Support of Educational Use

As part of an ongoing commitment to education FutureGrid announces prototypes of Massive Open Online Courses (MOOCs) designed for use in class or as out of class supplemental material for courses covering HPC, Grid, and Cloud Computing.    
Currently two FutureGrid MOOCs are available.
The Intro to FutureGrid MOOC, divided into six units, covers core capabilities: setting up a portal account and project; using non virtualized HPC nodes; and explores two approaches to virtual machines: using OpenStack Grizzly release and using the Eucalyptus system.  Instructors for the Intro to FutureGrid MOOC are FutureGrid PI Geoffrey Fox and FutureGrid Software Architect Gregor von Laszewski.
In addition FutureGrid MOOCs will cover advanced topics.  We begin with FutureGrid TEOS Team Leader Renato J. Figueiredo's IP-over-P2P (IPOP) MOOC: Network Virtualization in Infrastructure-as-a-Service (IaaS) Cloud Computing.   The IPOP MOOC has twelve units of instruction.  Students who take this MOOC will learn about the role of virtual networks in IaaS, the key abstractions and techniques used to implement them, challenges and techniques applied to network virtualization across multiple IaaS clouds, and will learn about the architecture and usage of the open-source IPOP virtual network through hands-on exercises.
Further MOOC components are under development and will be available in the coming months.  Comments and suggestions are welcome.  
FutureGrid community members are invited to create MOOC resources related to the work they are developing through their use of FutureGrid. For information on how to create a FutureGrid MOOC, please visit https://portal.futuregrid.org/mooc
The FutureGrid MOOCs are available at:  https://fgmoocs.appspot.com