SAS 9.1.3 Integration Technologies » Administrator's Guide


SAS Foundation Services
Understanding
Service Deployments
Service Deployment Configuration
Managing Service Deployments
Defining
Importing
Exporting
Duplicating
Redistributing
Installing and Running Foundation Services as a Windows Service
Understanding How Applications
Deploy Foundation Services
Locate Services
Scenario: Stand-alone application
Scenario: Remote-accessible Services
Scenario: Local and Remote-accessible Services
Share Foundation Services
Modifying Service Configurations
Event Broker Service
Events and Process Flows
Modifying the Configuration
Creating Events and Process Flows
Information Service
Logging Service
Pattern Layouts
Session and User Service
Monitoring Applications
Foundation Services

Defining Service Deployments

You create service deployments for applications to deploy and access SAS Foundation Services. Applications deploy service deployments using the service deployment name configured in a SAS Metadata Repository or XML file. To understand the components of service deployments, see Understanding Service Deployments.

To create a service deployment, follow these steps:

  1. Create a service deployment
  2. Create service deployment groups for your service deployment
  3. Create services within each service deployment group.
  4. For Remote-Accessible services, create a service registry and associated named services.

Step 1: Create a Service Deployment

To create a service deployment using the Foundation Services Manager, follow these steps:

  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, click the plus next to Foundation Services Manager to expand the Foundation Services Manager view.
  3. Right-click the Foundation Services Manger folder and select New Service Deployment from the pop-up menu. The New Service Deployment window appears.
  4. Enter a Name and, optionally, a Description for the service deployment.
  5. Click Finish to define the service deployment
You may now define service deployment groups for your service deployment.

Step 2: Create Service Deployment Groups

After you have defined a service deployment, you can define service deployment groups as follows:
  1. In the SAS Management Console navigation tree, select the service deployment in which you want to create a new service deployment group. Right-click the service deployment and select New Service Deployment Group from the pop-up menu. The New Service Deployment Group window is displayed.
  2. Enter a Name and, optionally, a Description for the service deployment group.
  3. Click Finish to create the new service deployment group

After you create the deployment group, you can select the deployment group and do one of the following:

  • for local service deployments, create new services within that service deployment group
  • for remote service deployments, create the services registry within that service deployment group.

Step 3: Create a Service

If a service is dependent upon other services, you must define those services before defining the service which depends on them. For details about service dependencies and order of definition, see the Server Dependencies Table.

To create a new service:

  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, expand the Foundation Services Manager tree to locate and select the service deployment group where you want to create a new service. Right-click the service deployment group and select New Service from the pop-up menu. The New Service wizard - Prototype window appears.
  3. Select a service to use as a prototype. Click Next. The New Service wizard - Names window appears.
  4. Enter a Name and, optionally, a Description for the service. Click Next. The New Service wizard - Service Interfaces window appears and displays the associated service interfaces.
  5. Click Next. The New Service wizard - Service Details window appears and displays the Service Factory for the service. If the service has customizable configuration data, you can click Edit Configuration to supply the configuration information.
  6. Click Next. The New Service wizard - Remote Clients window appears.
  7. To make this service a remote service, select the Enable remote clients to access service capabilities check box and click Service Names. The Service Names window appears.
  8. Click New to define a new named service. The New Named Service wizard - Name window appears.
    1. Enter the Name and optionally, a Description for the named service. Click Next. The New Named Service wizard - Details window appears.
    2. Enter the Name of the binding, select the Type of binding (bind or rebind). If you are creating an Event Broker Service, enter a Codebase. If you are creating a new named service for a service registry, click Select to select the named component associated with this named service. Click Next. The New Named Service wizard - Finish window appears.
    3. Review the named service definition.
    4. Click Finish to save the named service definition in a metadata repository.
    When you are finished creating new named services, click OK to return to the New Service wizard - Remote Clients window. Click Next. The New Service wizard - Service Dependencies window appears.
  9. Select the services that your new service requires. Click Next.
  10. If you are creating a new Event Broker Service, complete the following steps:
    1. In the New Service wizard - Defaults window, enter the default event name for the Event Broker Service. Click Next.
    2. In the New Service wizard - Resources window, specify the resources for the Event Broker Service. Click Next.
    3. In the New Service wizard - Connections window, specify the administrator port and transport monitors for the Event Broker Service. Click Next.
  11. In the New Service wizard - Finish window, review the service definition.
  12. Click Finish to save the service definition in a metadata repository.

You can create additional services for your service deployment. If the service is enabled for remote access, you must create a new service registry and associate named services.

Step 4: Create a Service Registry and Named Services

  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, expand the Foundation Services Manager tree to locate and select the service deployment group where you want to create a new service registry. Right-click the service deployment group and select New Service Registry from the pop-up menu. The New Service Registry wizard - Type window appears.
  3. Select the type of service registry you wish to define. Click Next. The New Service Registry wizard - Name window appears.
  4. Enter a Name and Description (optional) for the service registry. Click Next. The New Service Registry wizard - Service Interfaces window appears and displays the service interfaces satisfied by this definition of a service registry. Click Next. The New Service Registry wizard - Host window appears.
  5. Specify the Host Name and Port Number to use to bind to the service registry. The only currently supported application protocol is RMI. Click Next. The New Service Registry wizard - Named Services window appears.
  6. If you have not already defined the appropriate remote accessible service, Click New to define a new named service. The New Named Service wizard appears.
    1. Enter the Name and optionally, a Description for the named service. Click Next. The New Named Service wizard - Details window appears.
    2. Enter the Name of the binding, select the Type of binding (bind or rebind). If you are creating an Event Broker Service, enter a Codebase. If you are creating a new named service for a service registry, click Select to select the named component associated with this named service. Click Next. The New Named Service wizard - Finish window appears.
    3. Review the named service definition.
    4. Click Finish to save the named service definition in a metadata repository.
    When you are finished creating new named services, click OK. Click Next. The New Service Registry wizard - Finish window appears.
  7. Review the service registry definition.
  8. Click Finish to define the service registry in a metadata repository.

After you create the service registry, you can select the service deployment group for the registry and create the services, including the named services associated with the service registry.