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.

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

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 Provider 4.1.1 Suspend-Resume for CLM 4.1.00.zip file. You can download the 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.
    DatImp1.png
  3. It displays the Import Mappings screen.
    DatImp2.png
  4. Enter the field values as applicable for importing the respective .arx data files:

  5. Click Auto Map automap.png.
  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.
    DefImp1.png
  2. Click File > Import. This displays the Import window as shown in the figure below:
    DefImp2.png
  3. Select ObjectDefinitions and click Next.
  4. Click Next.
    The Import Objects window is displayed, as shown in the following figure:
    DefImp3.png
  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:
    DefImp4.png
  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

 

 

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