Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Adding suspend and resume operator actions

This topic describes how to implement the functionality to suspend or resume provisioned VMs or servers from the BMC Cloud Lifecycle Management My Cloud Services Console. Although each implementation of suspend and resume must be customized to the particular environment, you can use these instructions as a guide.

The customization involves:

  • Adding a Suspend and Resume item to the Operator Actions menu of the My Cloud Services Console
  • Creating a dialog box that displays when the Suspend or Resume menu item is chosen
  • Creating workflows that are triggered when the user clicks the button in the dialog box
  • Creating an active link that launches the Suspend or Resume workflow

    Note

    The Suspend and Resume operations are supported only for VMWare and OpenStack.

    For OpenStack, the steps mentioned in this documentation are applicable only for versions earlier than BMC Cloud Lifecycle Management 4.6.05. BMC Cloud Lifecycle Management 4.6.05 onwards, this functionality is available by default for Openstack.

This topic contains the following sections:


Before you begin

  • To implement Suspend Resume functionality, you must be familiar with the BMC Remedy Import Tool and BMC Remedy Developer Studio.
  • To obtain the suspend resume installation files for the OpenStack resource provider, download and extract the OpenStack 4.x Suspend-Resume for CLM 4.x.xx.zip file from BMC Communities.
  • Ensure that you have Administrative privileges on the computer(s) on which you are running the .arx and the .def files.
  • Ensure that the BMC Remedy Import Tool and BMC Remedy Developer Studio is installed on your computer(s) where you need to import the .arx and the .def files respectively.

To import the suspend and resume data files

Use BMC Remedy Import Tool to create a custom operator action that enables users to use the Suspend Resume feature. Perform the following steps to import the suspend or resume data files for adding Suspend and Resume menu-item to the Operator Actions menu in the BMC Cloud Lifecycle Management My Cloud Services Console:

Info

You need to perform the import process for each of the 4 .arx data file separately:

  • suspend_operator_action.arx
  • suspend_locale.arx
  • resume_operator_action.arx
  • resume_locale.arx
  1. Log onto the BMC Remedy Import Tool.
  2. Select File > New Mapping.
  3. It displays the Import Mappings screen.
  4. Enter the field values as applicable for importing the respective .arx data files:

    S No

    Name

    Source Data File

    Target Server

    Target Form Name

    1

    Suspend operator action

    suspend_operator_action.arx

    <Select the Target Server Name>

    CMF:OperatorActions

    2

    Suspend locale

    suspend_locale.arx

    <Select the Target Server Name>

    CMF:LocaleStringOperatorActions

    3

    Resume operator action

    resume_operator_action.arx

    <Select the Target Server Name>

    CMF:OperatorActions

    4

    Resume locale

    resume_locale.arx

    <Select the Target Server Name>

    CMF:LocaleStringOperatorActions

  5. Click Auto Map .
  6. Click Import > Start Import.
    This creates an entry in the following forms for the respective instance when the data file is imported.

    Form Name

    Instance

    CMF:OperatorActions

    Suspend

    CMF:LocaleStringOperatorActions

    Suspend

    CMF:OperatorActions

    Resume

    CMF:LocaleStringOperatorActions

    Resume

You must create active links in BMC Remedy AR System that launches the BMC AR workflows which handles the Suspend Resume requests. You can use the BMC Remedy Developer Studio to import the respective .def files for suspend and resume, to create the active links.

Creating active link for Suspend operation

Perform the following steps to import the .def file for the Suspend operation:

  1. Logon to the BMC Remedy Developer Studio as an Administrator.
  2. Click File > Import. This displays the Import window as shown in the figure below:
  3. Select ObjectDefinitions and click Next.
  4. Click Next.
    The Import Objects window is displayed, as shown in the following figure:
  5. In the Import File field, browse and select the suspend.deffile.

    Note

    Select resume.def file for creating the active link for Resume operation.

  6. Click Next. This displays the selected object details in the Object Selection as shown in the figure below:
  7. Click Finish. This will create the active link for the Suspend operation.

    Note

    Ignore any permission errors.

Creating active link for Resume operation

Perform steps 1-7 to create the active link for the Resume operation.

Where to go from here

Registering the OpenStack Provider instance

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.

Comments