This tutorial describes how to create a cloud and deploy a virtual machine. In this tutorial you will perform the tasks of the cloud administrator, enterprise administrator and enterprise user.
Please see Get Started for further general introductory information.
This tutorial assumes that the Abiquo platform and the cloud node hypervisor have been set up. For detailed information, see Installation instructions in the Administrator's Guide - Abiquo Infrastructure Guide.
1. Log In
Log in as Cloud Administrator using the default account with the following data:
- Username: admin
- Password: xabiquo
2. Add a License
Click on the Unlicensed link in the top right corner of the screen. This will open the License tab in Configuration View. Click on Request a Trial License. Click on the add button, then cut and paste the key from the license file into the box. Click Save.
3. Create the Infrastructure
The cloud administrator creates the cloud infrastructure for the enterprise administrators and users.
Open Infrastructure View by clicking the icon at the top of the screen.
3.1 Create a Datacenter
- Click the add button in the top left corner and select Create datacenter.
- Enter the Name of your Datacenter and its Location (in Google Maps format). Click Next.
- Enter the IP address of Remote Services. Abiquo uses Remote Services to connect to the physical machines and manage the cloud.
- If the Remote Services are all running on the same machine (Monolithic install), enter the machine's address in the first box and mark the Duplicate IP Addresses checkbox.
- Click Check All or Check for each Remote Service to confirm that Abiquo can access it.
- Click Automatically open datacenter after creation.
- Click Save
Help Button
Click the help button in the top left-hand side of a pop-up to view the help screen for that pop-up.
3.2 Add a Rack
An Abiquo rack is a logical entity that can mirror a physical rack with a top of the rack switch. Configure Abiquo racks to match the VLAN configuration of your switch.
- If the Datacenter is not open, go to Infrastructure View and click on the Datacenter name.
- Click the add button above the Physical Servers list to create a new Rack.
- Enter the Rack name and click Save.
3.3 Add a Cloud Node
A cloud node is the physical machine and hypervisor host.
- Select your rack and click the add button and select Physical Machine to create a new Physical Machine.
- Select the hypervisor type and enter the IP address and any other connection details as required
- Click Accept to open the create physical machine form at the General Information tab
- Enter the Physical Machine Name
- Go the Network Interfaces Tab and set the virtual switch interface for your machine to Service Network.
- Go to the Datastores tab and select the datastore and mark the checkbox to enable it
- Note: On KVM in this simple test example, you can use the / directory, but Abiquo recommends that you create a separate partition for the KVM datastore
- Return to the General Information tab and click Check to check the physical machine.
- Click Accept
For more information about this form, see the Compute in Datacenters page.
The Cloud Node will be added to the rack and displayed in the tree view of the Infrastructure tab.
4. Add Virtual Machine Templates to the Appliance Library
The Appliance Library stores virtual machine templates so that users can easily deploy virtual machines from these templates. Templates can be downloaded from a remote repository or uploaded from a local machine. The appliance library templates are available to the virtual datacenters. From there an enterprise administrator or user can add the virtual machine template to a virtual appliance for deployment in the cloud.
- Open the Appliance Library View by clicking the icon.
- Select the Datacenter and click the Refresh button beside the datacenter name to load any existing templates
- In the Virtual Machine Templates pane click the add button and select the Create from remote template repository option
- The Abiquo sample Remote template repository is included in the default configuration
- If you have custom configuration, click the button and enter the Remote Repository address
- The Abiquo sample template repository is at: http://abiquo-repository.abiquo.com/s3direct
- Click on the Remote Repository to see a list of the available templates.
- Click in the box beside a template to select and download the virtual machine template from the list.
- You can download any virtual machine template and a background V2V process will convert it to all formats for deployment in any cloud node hypervisor.
You will see the downloaded templates in the Appliance Library.
5. Create an Enterprise
- Open the Users View by clicking the icon.
- Click the add button at the top of the Enterprises list to add a new enterprise. Enter the name of your enterprise.
- Click on the Datacenters tab to enable a datacenter for your enterprise. Select a Datacenter and drag and drop it to add it to the Allowed Datacenters list. Click Save to continue
- Back in User's view, click the add button to add a user, and enter the details for a cloud administrator. Then create an enterprise administrator and a user.
6. Create a Virtual Datacenter
Create a virtual datacenter: Enterprise administrators and users create virtual datacenters to organize the infrastructure for providing the cloud service. From here they can create virtual appliances in the virtual datacenter and the Abiquo platform will deploy them to the physical infrastructure based on the virtual machine allocation.
- Open the Virtual Datacenters view by clicking the icon
- Click the add button at the top of the Virtual Datacenters list and select Create virtual datacenter
- Enter a name, and select the Datacenter and if necessary a Hypervisor type
For more information about changing the default network configuration, see the VLAN customization section in the Manage Virtual Datacenters page.
7. Create and Deploy a Virtual Appliance
7.1 Create a Virtual Appliance
Abiquo will create a virtual appliance by default. A virtual appliance is a group of virtual machines running in a virtual datacenter. The virtual appliance is like a folder that can contain a related set of virtual machines that are used to provide a service. For example, a web stack. At the virtual appliance level, you can deploy these virtual machines together, view their performance statistics, create anti-affinity layers for VM high availability, and so on.
You can create and configure a Virtual Appliance. A virtual appliance contains one or more virtual machines.
- Select the virtual datacenter.
- In the Virtual Appliances pane, click the add button and enter the name of the virtual appliance then click Save.
The virtual appliance you create will appear in the Virtual Appliances list.
7.2 Add virtual machine templates to create virtual machines
- Click enter to open your virtual appliance
- Drag and drop virtual machine templates into the virtual appliance from the list of available and compatible templates.
7.3 Deploy the Virtual Appliance
Click the Deploy button to deploy the virtual appliance.
The platform will deploy the virtual machines and power them on. You can select the virtual machines and manage them with the control buttons in the lower right corner of the screen.
Related pages:
- Manage Virtual Datacenters
- Manage Virtual Appliances
- Manage Virtual Machines
- Configure Virtual Machines