Using the OPMN Command Line to Start, Stop, Restart, and View the Status of System Components

4-8 System Administrators Guide for Oracle Business Intelligence Enterprise Edition The OPMN configuration file is in the ORACLE_ INSTANCEconfigOPMNopmnopmn.xml directory on UNIX and specifies the exact environment that is used to start each Oracle Business Intelligence system component. It contains the PATH and LD_LIBRARY_PATH values for the system components and the port number for OPMN and optional SSL configuration. You can configure OPMN to start Oracle Business Intelligence system components automatically when a Linux operating system starts, and to stop when the operating system shuts down. To configure OPMN to start and stop automatically on Linux, you must include the following commands in the OPMN startup or shutdown scripts respectively: daemon ORACLE_INSTANCEbin .opmnctl startall daemon ORACLE_INSTANCEbin .opmnctl stopall For more information, see the operating system documentation.

4.5.2 Using a Windows Service to Start and Stop System Components

On Windows, the Oracle Business Intelligence system components are controlled by the Oracle Process Manager OPMN Windows Service. To view and manage Windows Services, use one of the following methods: ■ Run the following command: C:\WINDOWS\system32\services.msc ■ From the Start Menu, select Programs, then Administrative Tools, then Services. The bi_server1 Managed Server must be running before you can start OPMN. For information, see Section 4.8.1, Confirming If the Managed Server Is Running and Starting It and Section 4.8, Starting and Stopping Managed Servers on Windows and UNIX. To start or restart Oracle Business Intelligence system components using a Windows Service: 1. In the Services window, locate and start the Oracle Process Management instance_number option. The Oracle Business Intelligence system components take as long as a minute to start. If the Oracle Process Manager fails to start, then errors are logged. Use Fusion Middleware Control to check log file entries and determine why a service has failed. For information, see Chapter 8, Diagnosing and Resolving Issues in Oracle Business Intelligence.

2. If you run Microsoft IIS, then start the World Wide Web Publishing service.

3. In the ODBC Driver Manager, test that the DSN called AnalyticsWeb_

coreapplication of type Oracle BI Server connects to the Oracle BI Server. Use the user name and password case-sensitive that was created during installation for the demonstration repository database. Note: In the Microsoft Windows environment, the Services Manager returns a false error that it cannot start the server. This Microsoft Services Manager issue causes the Services Manager to time out after 5 minutes. Refreshing the Services window, however, shows that Oracle Business Intelligence is still starting. Starting and Stopping Oracle Business Intelligence 4-9 To stop the Oracle Business Intelligence system components using a Windows Service: 1. In the Services window, locate and stop the Oracle Process Manager service. 2. If you run Microsoft IIS, then also stop the World Wide Web Publishing service. 3. If you run Oracle WebLogic Server, then see Section 4.4, Using Oracle WebLogic Server Administration Console to Start and Stop Java Components. 4.5.3 Using the Oracle BI Systems Management API to Programmatically Start and Stop Oracle Business Intelligence You can use the Oracle BI Systems Management API to programmatically start and stop Oracle Business Intelligence. For information, see Section 22.3.2, Starting and Stopping Oracle Business Intelligence Using the Oracle BI Systems Management API.

4.6 Confirming Whether the Administration Server Is Running

The Administration Server must be running before you can administer Oracle Business Intelligence system and Java components. You can confirm whether the Administration Server is running by starting a Web browser and entering a URL that should display the Oracle WebLogic Server Administration Console login page. To confirm whether the Administration Server is running: 1. Enter the following URL into a Web browser: http:host:portconsole For example: http:mycomputer:7001console 2. Refresh the Web browser window. 3. If the Administration Server is running, then the Oracle WebLogic Server Administration Console login page is displayed. If the login page for Oracle WebLogic Server Administration Console is not displayed, then the Administration Server is not running, and you must start it. For information, see Section 4.7, Starting and Stopping the Administration Server and All Oracle Business Intelligence Java Components on Windows and UNIX. 4.7 Starting and Stopping the Administration Server and All Oracle Business Intelligence Java Components on Windows and UNIX You can start or stop the Administration Server and all Oracle Business Intelligence Java components on Windows and UNIX. For information, see Section 4.6, Confirming Whether the Administration Server Is Running. 4-10 System Administrators Guide for Oracle Business Intelligence Enterprise Edition To start the Administration Server and all Oracle Business Intelligence Java components on Windows and UNIX: If the Administration Server is not running, then start it using the following information. Use the appropriate method for the operating system: Before you can start the Administration Server, the database that you specified during installation must be running, or JDBC errors prevent startup. ■ On Windows, use the following method: – Open an MS-DOS window and change the directory to MW_HOME\user_ projects\domains\bifoundation_domain\bin. Then, run the following command which requires the administrator user name and password: startWebLogic.cmd -start You can also stop the Java components from the MS-DOS window in which they were started, if you press Ctrl+C. ■ On UNIX, open a shell prompt and change the directory to MW_HOMEuser_ projectsdomainsbifoundation_domainbin. Then, run the following command which requires the administrator user name and password: .startWebLogic.sh To stop the Administration Server and Oracle Business Intelligence Java components on Windows and UNIX: Use the appropriate method for the operating system: ■ On Windows, use one of the following methods: – Display the Start Menu, click All Programs, Oracle WebLogic, User Projects, and bifoundation_domain. Select the Stop Admin Server for WebLogic Server Domain menu option. An MS-DOS window indicates the progress of the processing steps of stopping the Administration Server. – Open an MS-DOS window and change the directory to MW_HOME\user_ projects\domains\bifoundation_domain\bin. Then, run the following command which requires the administrator user name and password: stopWebLogic.cmd -stop You can also stop the Java components from the MS-DOS window in which they were started, if you press Ctrl+C. Caution: If you start the Administration Server from a Windows or UNIX command-line window, then do not close the window later on, or the server terminates unless the server is started as a background process from the command line. For more information, see Setting Up a WebLogic Server Instance as a Windows Service in Oracle Fusion Middleware Managing Server Startup and Shutdown for Oracle WebLogic Server.