启动和关闭10g AS和Middle Tier的命令脚本

STARTING UP THE INFRASTRUCTURE
-----------------------------------------------------
1)  To start the Metadata Repository
         a)      Set the ORACLE_HOME
         b)      Set ORACLE_SID
         c)      Start the Net Listener
                      ORACLE_HOME/bin/lsnrctl stop
         d)      Start the Metadata Repository
                      $ sqlplus “/as sysdba”
                      sql> startup
                      sql> exit
2)   To start the Identity Management
         a)     ORACLE_HOME/opmn/bin/opmnctl startall
         b)     To start Application Server control
                       ORACLE_HOME/bin/emctl start iasconsole

STOPPING AN INFRASTRUCTURE
----------------------------------------------
1)   Stopping Identity Management
        a)   To stop Application Server control
                    ORACLE_HOME/bin/emctl stop iasconsole
        b)    ORACLE_HOME/opmn/bin/opmnctl startall
2)   Stopping the Metadata Repository
        a)     $ sqlplus “/as sysdba”
                     sql> shutdown
                     sql> exit
         b)    ORACLE_HOME/bin/lsnrctl stop

STARTING UP THE MIDDLE TIER
---------------------------------------------
1)    Make sure the Infrastructure services are started up
2)      a)    ORACLE_HOME/opmn/bin/opmnctl startall
          b)    To start Application Server control
                       ORACLE_HOME/bin/emctl start iasconsole

STOPPING THE MIDDLE TIER
----------------------------------------
1)     Stop Application Server Control
           ORACLE_HOME/bin/emctl stop iasconsole
2)     Stop components
           ORACLE_HOME/opmn/bin/opmnctl startall

To start, stop, or restart an individual component
----------------------------------------------------------
1)     ORACLE_HOME/opmn/bin/opmnctl stopproc ias-component=component
2)     ORACLE_HOME/opmn/bin/opmnctl startproc ias-component=component
3)     ORACLE_HOME/opmn/bin/opmnctl restartproc ias-component=component

To start, stop, or restart the sub-process of a component
------------------------------------------------------------------
1)     ORACLE_HOME/opmn/bin/opmnctl stopproc process-type=process
2)     ORACLE_HOME/opmn/bin/opmnctl startproc process-type=process
3)     ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=process

To view the status of components and processes
---------------------------------------------------------
1)     ORACLE_HOME/opmn/bin/opmnctl status

To start, stop, restart, and view status of components on the Application Server home page
------------------------------------------------------------------------------------------------
1)    Navigate to the Application Server home page on Application Server Control. Scroll to the System Components section.
2)    Select the checkboxes in the Select column for the components you want to start, stop, or restart.
3)    Click the Start, Stop, or Restart button on the top right of the System Components section.

You can enable and disable components using Application Server Control
-----------------------------------------------------------------------------------------
1)    On the Application Server home page, click Enable/Disable Components.
2)     You can select which components to enable or disable.
3)     Notice that components that are dependent on each other are grouped, and are all enabled or disabled together

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值