This tutorial describes how to create a cloud and deploy a VM. In this tutorial you will perform the tasks of the cloud administrator, enterprise administrator and enterprise user.
Please see the Abiquo Walkthrough for further general introductory information.
This tutorial assumes that the Abiquo platform and a cloud node hypervisor have been set up. For detailed information, see Installation instructions in the Abiquo Infrastructure Guide.
1. Log In
Log in as Cloud Administrator using the default account with the following data:
- Username: admin
- Password: xabiquo
If there is an Unlicensed link in the top right corner of the screen, click on it to 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.
2. Create the Infrastructure
The cloud administrator creates the cloud infrastructure for the enterprise administrators and users.
Open Infrastructure View by clicking the servers icon at the top of the screen.
2.1 Create a Datacenter
- On the Private tab, click the add button in the top left corner
- Enter the Name of your Datacenter and its Location (in Google Maps format). Click Next.
- Enter the IP address of the Remote Services. Abiquo uses Remote Services to connect to the providers and manage the cloud.
- If the Remote Services are all running on the same machine, enter the machine's address in the first box and click the link to Duplicate IP Addresses
- Click Check All to confirm that Abiquo can access the remote services.
- Select 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.
2.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.
- To create a new rack, at the top of the Physical Servers list, click the add button and select Rack
- Enter the Rack name and click Save.
2.3 Add a Cloud Node
A cloud node is the physical machine and hypervisor host. To create a new physical machine
- Select your rack and click the add button and select 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 Name of the physical machine
- 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
The Cloud Node will be added to the rack and displayed in the tree view of the Infrastructure tab.
3. Add VM Templates to the Appliance Library
The Appliance library (Apps library) stores VM templates so that users can easily create VMs from them. VM templates can be downloaded from a remote repository or uploaded from a local machine. The appliance library templates are available to the virtual datacenters.
- Open the Apps 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. URL: 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 it
- Click Download
- You can download any VM 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 Apps library.
4. Create an Enterprise
In Abiquo, cloud tenants are called Enterprises.
- Open the Users View by clicking the icon.
- At the top of the Enterprises list, click the + button to add a new enterprise.
- Enter the Name of the tenant
- To allow your users to deploy, enable a datacenter for the enterprise. Click on the Datacenters tab, select a Datacenter, and drag and drop it to add it to the Allowed Datacenters list.
- 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.
5. Create a Virtual Datacenter
Virtual datacenters organize the infrastructure for providing the cloud service. From here users can create VMs in virtual appliances and the Abiquo platform will deploy them to the infrastructure.
- 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
6. Create and Deploy a Virtual Appliance
6.1 Create a Virtual Appliance
Abiquo will create a virtual appliance by default. A virtual appliance is a container for a group of VMs running in a virtual datacenter. It is like a folder that can contain a related set of VMs that are used to provide a service. For example, a web stack. At the virtual appliance level, you can deploy these VMs together, view their performance statistics, create anti-affinity layers for VM high availability, and so on.
To manage each group of VMs, you can create and configure a Virtual Appliance.
- 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.
6.2 Add VM templates to create VMs
- Click on the virtual appliance name to open your virtual appliance
- Drag and drop VM templates into the virtual appliance from the list of available and compatible templates.
6.3 Deploy the Virtual Appliance
Click the Deploy button to deploy the virtual appliance.
The platform will deploy all the VMs and power them on. You can select the VMs and manage them with the control buttons in the lower right corner of the screen.
Related pages: