Provision resources (using the web interface)
Unlike virtual resources on a regular on-demand cloud, physical resources on Chameleon must be reserved before using them for an experiment. Once a reservation has been accepted, users are guaranteed that resources will be available at the time they chose (except in extraordinary circumstances such as hardware or platform failures), which helps to plan large scale experiments.
Chameleon resources are reserved via Blazar (previously known as Climate) which provides Reservation as a Service for OpenStack. It is available in the Horizon web interface (OpenStack Dashboard) via the Reservation dashboard.
To access it, first log into the Horizon web interface using the same credentials as the Chameleon user portal.
You should land on the Compute overview page for your default project. The pie charts on the page will show you what the current usage of things like instances and floating IPs is relative to the limit for your project. The usage summary will show historical usage of your project for a time period that can be selected. The usage box will show information about the instances currently running in your project.
You can select the project that you want to use via the list at the right of the logo. This guide uses the Chameleon project, but any project will work the same.
Configure your local timezone by clicking on your username in the top-right corner and choosing Settings. This will open a page where you can select your local timezone. For example, if you are in the North American Central Time Zone, select UTC -06:00: United States (Chicago) Time. Then, click Save.
To access the reservation system, click on Project > Reservations > Leases.
To discover when resources are available, access the lease calendar. This will display a Gantt chart of the reservations which allows you to find when resources are available. The Y axis represents the different physical nodes in the system and the X axis represents time.
Once you have chosen a time period when you want to reserve resources, go back to the Leases screen and click on "Create Lease". It should bring up the window displayed below:
- Pick a name for the lease. This name needs to be unique across your project. This example uses the name my-first-lease.
- Pick a start time and end time; Note that if you have not selected a timezone earlier, the date must be entered in UTC! You can get the UTC time by running “date -u” in your terminal. If you would like to start your lease as soon as possible, you may leave these fields blank and Chameleon will attempt to reserve your nodes to begin immediately with a default lease time of 1 day.
- Choose the number of hosts, it is 1 by default.
- Choose a node type in the drop down menu below the "node type" and "=" drop down lists.
- Click on the “Create” button
Once created the lease details will be displayed. At the bottom of the page are the details about the reservation. Initially the reservation is in the Pending status, and stays in this state until we reach the start time.
Once the start time of the lease is reached, the lease will be started and its reservation will change to "Active"; you may need to refresh the page to see this.
Now that you have created a lease, it is time to configure some resources! You will find instructions to the next step by visiting one of the following links: