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
- Log on to the Terremark Enterprise Cloud.
- In the Enterprise Cloud window, click Devices
- Select VM.**
- Ensure that the VM is powered off.
- Right-click VM > Copy >To Catalog.
- Provide the catalog name.
- 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
- Log on to the Terremark Enterprise Cloud.
- In the Enterprise Cloud window, click My ACCOUNT > VM Catalog.
- In the Catalog Items tab, click Add Catalog Item.
- Select Upload New.
- In the Add Catalog Item dialog box, enter a name and click Create.
- Select an OVF file to upload as a template and click OK.
Use this procedure to configure the TerremarkConfig.properties file which is required for uploading custom templates in the Terremark Enterprise Cloud.
Click for steps
- Log on to the computer where you installed the Cloud Platform Manager component.
- 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. - Navigate to the <PlatformManagerInstallationDirectory>\configuration folder.
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
| |
---|
| 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 |
| Path of the script that assigns a static IP to a provisioned Linux virtual machine
Default value: /assignIP.sh |
| 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 |
| 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 |
| Path for user creation script for Linux templates.
Default value: configuration/createUserLinux.txt |
| Hostname for ITSM. This is added by Installer. |
| Port for ITSM. This is added by Installer. |
| Username for ITSM. This is added by Installer. |
| Encypted password for ITSM. This is added by Installer. |
| 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 |
| Port on which RSCD agent listens.
Default value: 4750 |
- Configure the TerremarkConfig.properties file.
- 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.