城市獵人

          在一網(wǎng)情深的日子里,誰能說得清是苦是甜,只知道確定了就義無反顧
          posts - 1, comments - 7, trackbacks - 0, articles - 89

          導航

          <2025年7月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          常用鏈接

          留言簿(3)

          文章分類(90)

          文章檔案(90)

          收藏夾(12)

          搜索

          •  

          最新評論

          Oracle Applciation Server10g啟動

          Posted on 2011-08-18 11:13 sailor 閱讀(366) 評論(0)  編輯  收藏 所屬分類: oracle

          第二章:管理工具

          關鍵兩個:OEM和opmn命令:
          2.1.1 Managing Oracle Application Server with Oracle Enterprise Manager 10g Application Server Control
          Oracle Enterprise Manager 10g Application Server Control is installed with every instance of Oracle Application Server. As a result, you can immediately begin managing your application server and its components from your Web browser.

          The Enterprise Manager home pages make it easy to locate the most important monitoring data and the most commonly used administrative functions—all from your Web browser.
          這是個好東西,并且它提供的幫助更是個好東西。

          2.1.2 Managing Oracle Application Server Using the OPMN Command Line
          You can also use the opmnctl command-line tool, which provides a command-line interface to Oracle Process Manager and Notification Server (OPMN). For example, you can use this command line (opmnctl) to:

          l Start and stop applications and application server instances
          l Associate two or more application server instances to form a cluster
          l Display a summary of the instances that are part of a cluster


          2.1.3 Managing Oracle Application Server Using the admin_client.jar Utility
          這個用處不大

          第三章:Starting and Stopping

          3.2 Starting and Stopping Application Server Instances
          3.2.1 Starting a Middle-Tier Instance

          To start a middle-tier instance:

          If the middle-tier instance is associated with OracleAS Infrastructure services, such as Oracle Identity Management, make sure the services are started. See Section 3.4.3 for more information.

          Start the middle-tier components:

          (UNIX) ORACLE_HOME/opmn/bin/opmnctl startall
          (Windows) ORACLE_HOME\opmn\bin\opmnctl startall

          This command starts OPMN and all OPMN-managed processes such as Oracle HTTP Server, OC4J instances, and the Application Server Control Console.


          3.2.2 Stopping a Middle-Tier Instance

          (UNIX) ORACLE_HOME/opmn/bin/opmnctl stopall
          (Windows) ORACLE_HOME\opmn\bin\opmnctl stopall

          3.3 Starting and Stopping Components
          opmnctl: A command-line tool.
          Application Server Control Console: A Web-based tool. (OEM)


          3.3.1 Starting and Stopping Components Using opmnctl
          You can use the opmnctl command-line tool to start and stop components. It is located in the following directory:

          (UNIX) ORACLE_HOME/opmn/bin
          (Windows) ORACLE_HOME\opmn\bin

          To start, stop, or restart a component using opmnctl:

          opmnctl stopproc ias-component=component
          opmnctl startproc ias-component=component
          opmnctl restartproc ias-component=component

          For example, the following command starts OracleAS Wireless at the <process-set> level:
          prompt > opmnctl startproc ias-component=wireless process-type=alert_server process-set=alert_instance_1

          The following command restarts OC4J at the <process-type> level:
          prompt > opmnctl restartproc ias-component=OC4J process-type=home

          The following command stops Oracle HTTP Server at the <ias-component> level:
          prompt > opmnctl stopproc ias-component=HTTP_Server

          Enter one of the following commands to obtain additional information:
          prompt > opmnctl usage startproc

          在我安裝的環(huán)境里,通過上面一行我們從幫助中找到:
                  Values for the target attributes (ias-instance, ias-component,
                  process-type and process-set) should be the same as the id
                  value of each attribute specified in opmn.xml.

          從opmn.xml可以找到這些ias-component,也可以通過命令:opmnctl status

          To start, stop, or restart the sub-process of a component:

          opmnctl stopproc process-type=process
          opmnctl startproc process-type=process
          opmnctl restartproc process-type=process

          To start, stop, or restart an application, such as Application Server Control:

          opmnctl startproc application=app_name
          opmnctl stopproc application=app_name
          opmnctl restartproc application=app_name

          To view the status of components and processes:

          [oracle@ias ~]$ opmnctl status

          Processes in Instance: ias.ias
          --------------------------------------+--------------------+---------+---------
          ias-component                        | process-type     |     pid   | status
          --------------------------------------+--------------------+---------+---------
          OC4JGroup:default_group      | OC4J:home        |    4812 | Alive  
          ASG                                         | ASG                   |     N/A | Down   
          HTTP_Server                          | HTTP_Server    |    4312 | Alive  

           

          主站蜘蛛池模板: 民县| 大渡口区| 酉阳| 冷水江市| 江津市| 三台县| 秭归县| 平塘县| 洪洞县| 治多县| 万荣县| 大英县| 峨眉山市| 莱芜市| 石门县| 甘谷县| 康马县| 凤凰县| 彭州市| 济宁市| 高安市| 新沂市| 盘山县| 镇坪县| 滨州市| 二连浩特市| 庐江县| 且末县| 巴南区| 清水河县| 吴旗县| 湖州市| 石嘴山市| 长丰县| 靖边县| 宝坻区| 驻马店市| 炉霍县| 察雅县| 崇信县| 克拉玛依市|