zoukankan      html  css  js  c++  java
  • 重启sap过程

    重启sap过程

    hgcerpqa1:cmqadm 54> su - cmqadm
    hgcerpqa1:cmqadm 54> cd /usr/sap/CMQ
    hgcerpqa1:cmqadm 54> ls -altr

    hgcerpqa1:cmqadm 54> stopsap r3; 

    startsap r3: Checks if the database is running; if it is, only the instance is started

    startsap db: Starts only the database

    startsap all: Default entry; starts both the database and the R/3 instance

    Checking CMQ Database
    Database is not available via R3trans
    -------------------------------------------
    stopping the SAP instance DVEBMGS20
    Shutdown-Log is written to /home/cmqadm/stopsap_DVEBMGS20.log
    -------------------------------------------
    /usr/sap/CMQ/DVEBMGS20/exe/sapcontrol -prot NI_HTTP -nr 20 -function Stop
    Instance on host hgcerpqa1 stopped
    Waiting for cleanup of resources
    ...............
    stopping the SAP instance ASCS00
    Shutdown-Log is written to /home/cmqadm/stopsap_ASCS00.log
    -------------------------------------------

    /usr/sap/CMQ/ASCS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Stop
    Instance on host hgcerpqa1 stopped
    Waiting for cleanup of resources
    .
    hgcerpqa1:cmqadm 54>
    hgcerpqa1:cmqadm 54>
    hgcerpqa1:cmqadm 54> cleanipc 20 remove

    Show/Cleanup SAP-IPC-Objects V2.3, 94/01/20
    ===========================================


    Running SAP-Systems (Nr)...:

    ----------------------------------------------------------
    ---- Clear IPC-Objects of Sap-System 20 ------------------
    ----------------------------------------------------------
    OsKey: 3200282 0x0030d51a Event Flag Key: 282 removed
    OsKey: 3200283 0x0030d51b Event Flag Key: 283 removed
    OsKey: 58900120 0x0382be98 SCSA Shared Memory Key: 58900000 removed

    Number of IPC-Objects...........: 3
    Number of removed IPC-Objects...: 3
    Summary of all Shared Memory....: 12153.4 MB (may be incomplete when not in superuser mode)


    Number of SAP_ES files found:.............: 0
    Number of SAP_ES files removed:...........: 0

    hgcerpqa1:cmqadm 55> cleanipc 00 remove

    Show/Cleanup SAP-IPC-Objects V2.3, 94/01/20
    ===========================================


    Running SAP-Systems (Nr)...:

    ----------------------------------------------------------
    ---- Clear IPC-Objects of Sap-System 0 ------------------
    ----------------------------------------------------------
    OsKey: 10073 0x00002759 Shared Memory Key: 73 removed
    OsKey: 20026 0x00004e3a Semaphore Key: 26 removed
    OsKey: 20038 0x00004e46 Semaphore Key: 38 removed
    OsKey: 58900100 0x0382be84 SCSA Shared Memory Key: 58900000 removed

    Number of IPC-Objects...........: 4
    Number of removed IPC-Objects...: 4
    Summary of all Shared Memory....: 12153.4 MB (may be incomplete when not in superuser mode)


    Number of SAP_ES files found:.............: 0
    Number of SAP_ES files removed:...........: 0


    hgcerpqa1:oracmq 51> sqlplus "/ as sysdba"

    SQL*Plus: Release 11.2.0.3.0 Production on Mon Dec 10 17:31:00 2018

    Copyright (c) 1982, 2011, Oracle. All rights reserved.


    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>
    SQL> startup
    ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
    ORACLE instance started.

    Total System Global Area 4008546304 bytes
    Fixed Size 2234560 bytes
    Variable Size 3942647616 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 13332480 bytes
    Database mounted.
    Database opened.
    SQL> show sga;

    Total System Global Area 4008546304 bytes
    Fixed Size 2234560 bytes
    Variable Size 3942647616 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 13332480 bytes
    SQL>
    SQL>
    SQL>
    SQL>
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options


    hgcerpqa1:cmqadm 51> R3trans -x
    This is R3trans version 6.24 (release 722 - 24.03.17 - 20:17:03).
    unicode enabled version
    R3trans finished (0000).

    hgcerpqa1:cmqadm 52> startsap r3
    Checking CMQ Database
    Database is running
    -------------------------------------------
    Starting Startup Agent sapstartsrv
    OK
    Instance Service on host hgcerpqa1 started
    -------------------------------------------
    starting SAP Instance ASCS00
    Startup-Log is written to /home/cmqadm/startsap_ASCS00.log
    -------------------------------------------
    /usr/sap/CMQ/ASCS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start
    Instance on host hgcerpqa1 started
    Starting Startup Agent sapstartsrv
    OK
    Instance Service on host hgcerpqa1 started
    -------------------------------------------
    starting SAP Instance DVEBMGS20
    Startup-Log is written to /home/cmqadm/startsap_DVEBMGS20.log
    -------------------------------------------
    /usr/sap/CMQ/DVEBMGS20/exe/sapcontrol -prot NI_HTTP -nr 20 -function Start
    Instance on host hgcerpqa1 started

    hgcerpqa1:cmqadm 53> ps -ef|grep dw

  • 相关阅读:
    代码模板
    DNSget Ip
    WC约束示使用
    下雨了
    Xml文件保存值不能及时更新
    代码不是艺术,而是达到目的的一种手段
    网站TCP链接暴增
    吐个槽吧
    正则表达式使用小注意
    Sereja and Two Sequences CodeForces
  • 原文地址:https://www.cnblogs.com/hone201911/p/14360632.html
Copyright © 2011-2022 走看看