Configuring Azure accounts by using PATROL Configuration Manager menu commands


The following procedure explains how to use PATROL Configuration Manager menu commands to configure an Azure account.

To configure an Azure account by using PATROL Configuration Manager menu commands

  1. In PATROL Configuration Manager, right-click the agentHostName from where you are monitoring Windows Azure.
  2. Right-click agentHostName and select Configuration > Get.
     The account status is displayed in the Job Status Information dialog box. When PATROL Configuration Manager completes the transfer of the configuration variables from the selected host, the line that represents the host becomes green and OK is displayed in the Status field for the host.
     The Configuration > Get command copies the pconfig variables from the Agent, converts them into rules, and pastes them into PATROL Configuration Manager in the following folder:

    RuleSets\PCM\backup\agentHostName\agentHostName\date-timestamp

    The following figure shows the Configuration > Get menu command in the left panel of PATROL Configuration Manager and an example of the rules that are displayed in the right panel after the Configuration > Get command finishes importing the configuration variables from the Agent. Each rule in PATROL Configuration Manager contains a configuration variable. A RuleSet is the entire set of rules for an Agent.

    PCM.PNG
  3. Select the directory with the most recent timestamp, at the bottom of the list.
  4. To add an Azure account, complete the steps as follows:
    1. Right-click the directory with the most recent timestamp and select New Rule.
    2. In the RuleSet dialog box, double-click the highlighted space in the Variable column and add the AZURE/AZURE_ACCOUNT_NAME/DisplayName variable.
    3. In the Operation column, select the REPLACE option.
    4. Double-click the highlighted space in the Value column and enter the value of the DisplayName variable.
    5. Click OK.
    6. Repeat #step a to #step e for the following variables.
  5. To modify an Azure account, complete the steps as follows:
    1. Right-click the rule containing one of the following variables and select Edit Rule:
    2. In the RuleSet dialog box, modify the value of the variable as required.
    3. Click OK.
  6. To delete an Azure account, right-click the rules containing the following variables and select Delete:
    • /AZURE/AZURE_ACCOUNT_NAME/DisplayName
    • /AZURE/AZURE_ACCOUNT_NAME/FilePath
    • /SecureStore/AZURE/AZURE_ACCOUNT_NAME/Password
    • /AZURE/AZURE_ACCOUNT_NAME/SubscriptionID

      For information about the description and values of these variables, see PATROL-Agent-configuration-variables-for-Windows-Azure.
  7. If you have modified or added an Azure account, drag the new RuleSet onto the agentHostName in the left pane.
  8. Click the Apply Configuration icon in the PATROL Configuration Manager menu bar.

If you choose not to use menu commands, or if the variables you want to use are not available through menu commands, you can add pconfig variables manually. You must be sure to enter valid values because PATROL Configuration Manager does not verify or notify you if the value you entered is invalid. All of the variables and their valid values are listed in Agent configuration variables.

Adding pconfig variables manually

There are some configuration variables that are not automatically available, and cannot be activated by using a menu command. You must enter these variables manually. You can add a pconfig variable by using a PATROL Developer console.

To add or modify a pconfig variable manually

  1. Right-click the host, and select Development > Agent Configuration.
  2. From the main menu, select Edit > Add Variable.
     The Add Variable dialog box displays.
  3. In the Variable field, enter the instance name (if required) and then the variable.
  4. In the Value field, enter the value you want to apply to the variable. For information about valid values, see Agent configuration variables.
  5. To save the configuration variable you created, select File > Save.
     For instructions on how to add a variable or RuleSet using PATROL Configuration Manager, see the PATROL Configuration Manager User Guide at PDF product guides.

 

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