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 Terremark


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 resource 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 that is being uploaded as a template:

To create a new template from an existing virtual machine

Use this procedure to convert an existing virtual machine 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.

Click for steps
  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 virtual machine template

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

Click for steps
  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 configure the TerremarkConfig.properties file

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

Click for steps
  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):
    (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.

    Sample TerremarkConfig.properties file

    LINUX_GUEST_USER=root
    LINUX_GUEST_USER_PASSWORD=bmcAdm1n
    LINUX_SCRIPT_PATH=/assignIP.sh
    WINDOWS_GUEST_USER=Administrator
    WINDOWS_GUEST_USER_PASSWORD=bmcAdm1n
    WINDOWS_SCRIPT_PATH=c:/assignIP.bat

    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 machine

    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 Microsoft Windows virtual machine

    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 ITSM. This is added by Installer.

    ARSERVER_PORT

    Port for ITSM. This is added by Installer.

    ARSERVER_USERNAME

    Username for ITSM. This is added by Installer.

    ARSERVER_PASSWOR

    Encypted password for ITSM. This is added by Installer.

    VM_CUSTOMIZATION_NOPOLLS

    Number of times to poll for VM customization to complete in Terremark. 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 Terremark. 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

  5. Configure the TerremarkConfig.properties file.
  6. 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*