Redistributing Service Deployments

After you have configured a remote service deployment, you might need to move your remote service deployment or service registry to a different machine.
Note: If the service deployment exists in an XML file instead of on the SAS Metadata Repository, then you must first import the service deployment before you can redistribute service deployments or service registries. See Importing Service Deployments.
You can use SAS Management Console to reconfigure parameters as follows:
  • move the remote service deployment to another machine. To move a remote service deployment to another machine, you must use the Foundation Services Manager to reconfigure any machine-specific service configuration data. For example, the logging service might be configured to send its output to a file in the directory c:\original\log.txt on a Windows machine. If you move the remote service deployment to a UNIX machine, you must edit the logging service configuration and change the log file directory to /newmachine/log.txt.
    Note: If the application that deploys the remote services is starting the service registry, the service registry must be located on the same machine as the remote services deployment.
  • move the service registry to another machine. To move a service registry to another machine, perform the following steps:
    • Reconfigure the Service Registry definition in the service deployment. To reconfigure the service registry, use the Foundation Services Manager to update the service registry's host name and port number.
      Note: If the service registry's host name is configured as localhost, you do not need to update the configuration when you move the service registry to a different machine.
      Note: You must ensure that the port that is configured for the service registry does not conflict with a port that is already in use on the new machine.
    • For Event Broker Service definitions only, reconfigure any codebase property changes in the Named Services definition. To reconfigure the codebase properties, use the Foundation Services Manager to update the named service definitions on the service registry or in the service definition.
    • Ensure that the application that starts the service registry is coded to call the correct host name. For details, see the SAS Foundation Services class documentation for the Deployment Service at http://support.sas.com/rnd/javadoc/93.
After you have finished using SAS Management Console to re-configure the service deployment, if the service deployment was imported into the SAS Management Console from an XML file, use SAS Management Console to export the service deployment back to an XML file. You must export or copy the file to the location where the application accesses the XML file.