Optionally, create a custom image template in IBM® Cloud with the base OS and IBM Spectrum
Conductor installed. IBM Cloud computing instances are
provisioned using this image template, significantly reducing the time it takes to provision a
compute host from the cloud.
About this task
To create a custom image, manually order an IBM Cloud compute instance with a base
OS image for Linux®. Then, customize the instance by
installing IBM Spectrum
Conductor.
Procedure
-
Order an hourly virtual server, select an appropriate configuration for the server, and submit
the order.
-
Use SSH to log on to the instance that you created as root.
-
Update the /etc/hosts file on the IBM Cloud host to add the host names of
the primary and primary candidates in your IBM Spectrum
Conductor cluster.
-
Copy the IBM Spectrum
Conductor
Linux package to this IBM Cloud instance.
-
Install IBM Spectrum
Conductor on
the instance. For more information, see Installing on a compute host.
-
After installation, join the host to the cluster and start IBM Spectrum
Conductor on the IBM Cloud host. For more information,
see Configuring IBM Spectrum Conductor.
- Source the environment for your shell. For example, when you use BASH,
enter:
. $EGO_TOP/profile.platform
- Join the EC2 host to the
cluster:
egoconfig join primary_host
- Ensure that the instance group used for cloud bursting is
deployed to the host. You can deploy the instance group either by triggering automatic
deployment when the host joins a resource group in which the instance group is already deployed, or by
deploying a new instance group to the
resource group that the host belongs to.
- Disable automatic deployment in the
$EGO_CONFDIR/../../ascd/conf/ascd.conf file to prevent automatic deployment
during cloud bursting:
ASC_AUTO_DEPLOY_ON_NEW_HOST=OFF
-
From the page in the IBM Cloud portal, click
Create Image Template to create an image template with IBM Spectrum
Conductor preinstalled.
After the image is created, you can manage it from .
Note: Keep track of image properties, especially details such as the template name. You will need
this information to set up your host template configuration in the
softlayerprov_template.json file.
What to do next
After you create your image, configure a post-provisioning script for greater flexibility
in managing your configuration. See Configuring the sample post-provisioning script for IBM Cloud.