To upload a RightImage to a private cloud so that you can create a custom MCI and use it with a ServerTemplate.
Table of Contents
If you are setting up your own private cloud and want to use RightScale's ServerTemplate model for launching servers, you need to use one of RightScale's published RightImages (machine images). The first step of this process is to upload one or more RightImages to your private cloud. Once the RightImage is available in your private cloud, you can create a MultiCloud Image (MCI) that references the image in that cloud and then add the MCI to your ServerTemplate(s). This tutorial explains the initial step of uploading a RightImage to your private cloud.
Our CloudStack RightImages can be found here.
For Windows based images, please contact RightScale support (firstname.lastname@example.org)
Perform the following steps to upload a RightImage to your private cloud using CloudStack's Management Console UI.
Note: The following instructions and screenshots apply to CloudStack 2.2.
The first step is to upload the RightImages to your private cloud using the most recently published version. The list of the latest production RightImages, which have been tested and are ready for general use, are located under the Hypervisor sections of OS and Software Package Support.
When selecting the correct RightImage, make sure it matches the proper MCI. For example, if you have a Multi-Cloud Image that looks like this:
Then the correct RightImage to select would be either of the following:
After selecting the RightImage, log into the Management Console UI that's hosted on the "Management Server" of your CloudStack. Contact your CloudStack administrator for the public IP address of the "Management Server" and login credentials. You'll need to construct a URI similar to the example below.
Specify the following information to log into the management console:
In the Templates tab, click Create Template. (In CloudStack, a "template" is equivalent to an image.)
Provide the following information:
Depending on the size of the image it can take up to 20-30 minutes before the image becomes available in the private cloud.
Once the image becomes available, you can:
If a RightImage is not automatically discovered in the RightScale dashboard, this could be due to the image's fingerprint not being calculated correctly. The problem can also occur when launching a server. For example, if the MCI detects that there is no cloud with an image whose fingerprint matches, you will not have the option to select the cloud when launching a server.
To see if this problem exists, click into an MCI by navigating to ServerTemplate > Images and look at the fingerprint. If the image was uploaded through the CloudStack UI, the fingerprint may be missing. Or if you're using CloudStack 3.0 - 3.0.2, the fingerprint may be incorrect, preventing CloudStack from correctly calculating the checksum when uploading the image. To resolve this, you'll need to apply the following patch to your CloudStack Private Cloud. Download the following ISO to /usr/lib64/cloud/agent/vms.
Once you have uploaded the ISO, destroy your SSVM and allow a new one to be created. The new SSVM will have the needed fingerprint fix. This will apply to any images that are uploaded after the ISO is uploaded.
If you are running CloudStack version 2.2.x, you can find the following tool for uploading images with fingerprints (see the README for details):
|Glossary | 用語 | 용어||Site Map | Site Help||Community||Corporate Site||Get Support||Dashboard Login|
|Doc Feedback||Product Feedback||Resources||MultiCloud Marketplace||Forums|
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.