Restarting a Session from ODI Studio

Running Integration Processes 20-13 ■ To use this command the connection to your repository must be configured in the odiparams file. See Chapter 4.3, Managing Agents for more information. ■ A Load Plan Run is restarted against a remote run-time agent identified by the AGENT_URL parameter. To restart a Load Plan from a command line: 1. Change directory to agentbin directory of the Oracle Data Integrator installation. 2. Enter the following command to start a Load Plan. On UNIX systems: .restartloadplan.sh load_plan_instance_id -AGENT_ URL=agent_url On WINDOWS systems: restartloadplan.bat load_plan_instance_id -AGENT_ URL=agent_url Table 20–6 lists the different parameters, both mandatory and optional. The parameters are preceded by the - character and the possible values are preceded by the = character. You must follow the character protection syntax specific to the operating system on which you enter the command.

20.8 Stopping a Load Plan Run

Any running or waiting Load Plan Run can be stopped. You may want to stop a Load Plan Run when you realize that for example your Load Plan contains errors or when the execution takes a long time. Note that there are two ways to stop a Load Plan Run: ■ Stop Normal : In normal stop mode, the agent in charge of stopping the Load Plan sends a Stop Normal signal to each agent running a session for this Load Plan. Each agent will wait for the completion of the current task of the session and then end the session in error. Exception steps will not be executed by the Load Plan and once all exceptions are finished the load plan is moved to an error state. ■ Stop Immediate : In immediate stop mode, the agent in charge of stopping the Load Plan sends a Stop immediate signal to each agent running a session for this Load Plan. Each agent will immediately end the session in error and not wait for the completion of the current task of the session. Exception steps will not be Note: On Windows platforms, it is necessary to delimit the command arguments containing = signs or spaces, by using double quotes. The command call may differ from the Unix command call. Table 20–6 Restartloadplan Command Parameters Parameters Description load_plan_instance_id ID of the stopped or failed Load Plan instance that is to be restarted mandatory -AGENT_URL=agent_ url] URL of the Physical Agent that starts the Load Plan optional