Siebel Application Deployment Manager Guide > Deploying a Siebel ADM Package > Other Siebel ADM Deployment Options >

Deploying ADM Sessions Using Command-Line Interface


Deploying sessions using the Server Manager (srvrmgr) command-line interface is one of the alternate means of migrating ADM database data types from one Siebel application environment to another. For other alternative deployment options, see Other Siebel ADM Deployment Options.

Before using this deployment option, make sure an ADM session exists and the deployment unit XML file has been exported as outlined in the tasks 1 through 6 of Process of Creating Siebel ADM Deployment Units from Database Types.

This procedure runs a workflow process, named UDA Batch Import, on the target environment. This workflow process imports the data into the target environment, based on a session ID provided, using Siebel EAI as the transport. The Server Manager command line can be used to generate export files multiple times and can provide basic automation for the export step.

NOTE:  Before you run this workflow process, you must modify its Import File Directory property to specify the location where the customizations file, with a name like Session_ID.ini, was generated during export. After modifying this property, publish and activate the workflow process, as described in Siebel Business Process Framework: Workflow Guide.

The Workflow Process Manager component (WfProcMgr) must be running on the target Siebel Server in order for this procedure to run correctly.

To import deployment session file using the Server Manager command-line interface

  1. Make sure the export deployment file exists in a shared network location.

    NOTE:  You do not need to create a deployment session in the target environment to import a deployment session file.

  2. Start the Server Manager command-line interface with your user ID in the target system.

    For more information on this procedure, see Siebel System Administration Guide.

  3. Verify that the server component Workflow Process Manager (alias WfProcMgr) is online.

    If it is not, enable the Workflow Management component group (alias Workflow) and restart the Siebel Server. For more information on these tasks, see Siebel System Administration Guide.

  4. Enter the following command at the Server Manager command-line interface prompt:

    start task for comp WfProcMgr server Siebel_Server_Name with ProcessName="UDA Batch Import", RowID="Session_ID"

    where:

    • Siebel_Server_Name is the name of the Siebel Server.
    • UDA Batch Import is the name of the workflow process. This value is case-sensitive.
    • Session_ID is the session ID of the deployment session used to generate the export files.

      NOTE:  This session ID does not exist anywhere in the target database. It is the session ID used to export files. This value maps to an .ini file generated during the export.

  5. Check the details of the batch deployment by reviewing the source system ADM log files and EAI queue.

    For more information about ADM log files, see Siebel ADM Logging Capabilities and Troubleshooting.

NOTE:  One import step reads all the previously generated files by the export session executed on the source system.

Siebel Application Deployment Manager Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.