Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Uploading custom templates in the Terremark Provider


You can onboard customized virtual machine templates in the Terremark Enterprise Cloud. The uploaded templates are displayed in BMC Cloud Lifecycle Management for the Terremark Provider, based on how you have configured the synchronization interval.

This topic contains the following information:

Before you begin

Ensure the following on the virtual machine (VM) that is being uploaded as a template:

To create a new template from an existing VM

Use this procedure to convert an existing VM as a template in Terremark Enterprise Cloud. 

Note

This activity may take from a few minutes to several hours to complete, depending on the size of the disks on the server.

  1. Log on to the Terremark Enterprise Cloud.
  2. In the Enterprise Cloud window, click Devices.
  3. Select VM.
  4. Ensure that the VM is powered off.
  5. Right-click VM > Copy >To Catalog.
  6. Provide the catalog name.
  7. After the copy is complete, verify the creation of the template from My ACCOUNT > VM Catalog.

To upload a new custom VM template

Use this procedure to upload an Open Virtualization Format (OVF) file as a template in Terremark Enterprise Cloud.

  1. Log on to the Terremark Enterprise Cloud.
  2. In the Enterprise Cloud window, click My ACCOUNT > VM Catalog.
  3. In the Catalog Items tab, click Add Catalog Item.
  4. Select Upload New.
  5. In the Add Catalog Item dialog box, enter a name and click Create.
  6. Select an OVF file to upload as a template and click OK.

To edit the TerremarkConfig.properties file

Use this procedure to edit the TerremarkConfig.properties file which is required for uploading custom templates in the Terremark Enterprise Cloud.

  1. Log on to the computer where you installed the Cloud Platform Manager component.
  2. Stop the BMC_CSM service of the BMC Cloud Platform Manager (OSGi):
    (Microsoft Windows) Use the stop command link in the Services window.
    (Linux) Enter the /etc/init.d/stop bmccsm command from the specified path.
  3. Navigate to the <PlatformManagerInstallationDirectory>\configuration folder.
  4. Open the TerremarkConfig.properties file in a text editor and edit the properties as needed. 

The [expand] macro is a standalone macro and it cannot be used inline. Click on this message for details.
 

Click here to see a list of the TerremarkConfig.properties file parameter descriptions.

Parameter name

Description

LINUX_GUEST_USER

User name required for running the assignIP.sh script 

Default value: root

LINUX_GUEST_USER_PASSWORD

Password that corresponds to the specified user name 

Default value: bmcAdm1n

LINUX_SCRIPT_PATH

Path of the script that assigns a static IP to a provisioned Linux virtual computer

Default value: /assignIP.sh  

WINDOWS_GUEST_USER

User name required for running the assignIP.bat script 

Default value: Administrator

WINDOWS_GUEST_USER_PASSWORD

Password that corresponds to the specified user name 

Default value: bmcAdm1n

WINDOWS_SCRIPT_PATH

Path of the script that assigns a static IP to a provisioned Windows VM

Default value: C:/assignIP.bat

TERREMARK_WINDOWS_GUEST_USER
TERREMARK

Default user name for Terremark provided Windows templates

Default value: Administrator

CREATEUSER_SCRIPT_WINDOWS

Path for user creation script for Windows templates

Default value: configuration/createUserWindow.txt

CREATEUSER_SCRIPT_LINUX

Path for user creation script for Linux templates

Default value: configuration/createUserLinux.txt

ARSERVER_HOSTNAME

Hostname for BMC Remedy AR System
This is added by Installer.

ARSERVER_PORT

Port for BMC Remedy AR System
This is added by Installer.

ARSERVER_USERNAME

Username for BMC Remedy AR System
This is added by Installer.

ARSERVER_PASSWORD

Encrypted password for BMC Remedy AR System
This is added by Installer.

VM_CUSTOMIZATION_NOPOLLS

Number of times to poll for VM customization to complete in the Terremark Provider
This can be updated by CLMAdmin in case the poll times out.

Default value: 20

VM_CUSTOMIZATION_POLLTIME_SEC

Time interval for poling for VM customization to complete in the Terremark Provider
This can be updated by CLMAdmin in case the poll times out.

Default value: 60

RSCD_PORT

Port on which RSCD agent listens

Default value: 4750

  1. Start the BMC_CSM service of the BMC Cloud Platform Manager (OSGi):
    (Windows) Use the start command link in the Services window.
    (Linux) Enter the /etc/init.d/start bmccsm command from the specified path.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*