Previous Topic: Registering the Virtual CenterNext Topic: Defining an Automate Service


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 Virtual Host Servers.

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 Network Storage, then Virtual Host Environment, and select Virtual Host Servers. Click Next.

    VHS-Query-service

  3. Select Virtual Host Servers from the Selection Type drop-down list and select one or more check boxes from the Select one or more VHS from the list. Click Next.

    VHS-Query-selection

  4. Select the execution frequency. The service can operate:
  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:

    VHS-Query-summary

    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.