Defining a Query Service

This section describes how to create a query using the Service Builder Wizard. The Service Builder Wizard contains predefined sets of sample services. After completing the configuration steps, the service is ready to use. If you want to tailor a service, use the Query Service Builder Wizard to customize it.

The following example shows you how to query the database immediately for all Applications.

To do this, follow these steps:

  1. Expand the CA SRM Object Tree, Open Systems, Services, Service Definitions, and then select Query, as shown in the following diagram:

    The Query table opens.

  2. Click the Configuration menu and then New in the Query table. The Query Service Wizard opens. From the Query table main menu, select Configuration, New. The Template dialog opens. Expand Templates, Network Storage, SAN Fabric, and select Fabrics. Click Next.

    SAN Query Service Builder

  3. Select Fabrics from the Selection Type drop-down list and select All Objects check box from the Select one or more fabrics from the list. Click Next.

    SAN Query Service Builder1

  4. Select the execution frequency. The service can operate:

    Hold—This option keeps the service available but the service does not run. It remains on hold until you change the option to one of the frequencies listed above. You can use the Hold option for situations where you want to kickoff this service from outside of CA SRM using the command line option. Hold is not available for every service.

  5. The Summary dialog displays the parameters for the service that you have defined. If you want to make changes, click the Back button. If there are no changes, click Launch to name and then execute the service. Click Save to save the service without executing it. CA SRM runs the service according to the configuration shown in this dialog.

    Note: If you make changes in the Advanced dialog, you will have to use it for all of your future changes. After you use the Advanced dialog for a service, you can no longer edit the service in the Service Builder Wizard.

  6. Enter a name for the service in the dialog. You can also provide an optional description. When you finish, click OK. The service executes or saves depending on what you selected in the previous dialog:

    SAN Query

    You can use the CA SRM Activity Monitor to check the progress of any service that you create. From the Open Systems menu, select Activity Monitor.