Apr 29, 2018

Oracle SOA Suite 12c: complete startup procedure including database and application server

After the first reboot i had to work hard to get the complete system up again. So here a list of all commands:


  1. database
    export ORACLE_HOME=/home/oracle/app/oracle/product/12.2.0/dbhome_1
    export PATH=$PATH:$ORACLE_HOME/bin
    export ORACLE_SID=orcl

    $ sqlplus / as sysdba

    SQL*Plus: Release 12.2.0.1.0 Production on Fri Feb 16 20:53:02 2018

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

    Connected to an idle instance.

    SQL> startup
    ORACLE instance started.

    Total System Global Area 1560281088 bytes
    Fixed Size            8793160 bytes
    Variable Size         1006633912 bytes
    Database Buffers      536870912 bytes
    Redo Buffers            7983104 bytes
    Datenbank mounted.
    Datenbank geoffnet.
    SQL> alter pluggable database soasuite12c open;

    Integrierbare Datenbank geandert.
  2. listener
    $ lsnrctl start

    LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 16-FEB-2018 21:09:17

    Copyright (c) 1991, 2016, Oracle.  All rights reserved.

    Starting /home/oracle/app/oracle/product/12.2.0/dbhome_1/bin/tnslsnr: please wait...

    TNSLSNR for Linux: Version 12.2.0.1.0 - Production
    System parameter file is /home/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /home/oracle/app/oracle/diag/tnslsnr/mywww/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 12.2.0.1.0 - Production
    Start Date                16-FEB-2018 21:09:17
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /home/oracle/app/oracle/diag/tnslsnr/mywww/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    The listener supports no services
    The command completed successfully

    Wait some seconds and then:$ lsnrctl status

    LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 16-FEB-2018 21:09:35

    Copyright (c) 1991, 2016, Oracle.  All rights reserved.

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 12.2.0.1.0 - Production
    Start Date                16-FEB-2018 21:09:17
    Uptime                    0 days 0 hr. 0 min. 18 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /home/oracle/app/oracle/diag/tnslsnr/mywww/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=mywww)(PORT=5500))(Security=(my_wallet_directory=/home/oracle/app/oracle/product/12.2.0/dbhome_1/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "5a81d0aff5393ed2e055000000000001" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "5af731f7368117fbe055000000000001" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclpdb" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "soasuite12c" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully

    and a check with sqlplus:
    $  sqlplus bpeladmin@soasuite12c

    SQL*Plus: Release 12.2.0.1.0 Production on Fri Feb 16 21:09:40 2018

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

    Enter password:
    Letzte erfolgreiche Anmeldezeit: So Jan 21 2018 21:05:53 +01:00

    Verbunden mit:
    Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
  3. application server
    export PATH=/home/data/opt/jdk1.8.0_131/bin:$PATH
    export JAVA_HOME=/home/data/opt/jkd1.8.0_131

    $cd Oracle/Middleware/Oracle_Home/user_projects/domains/_domain/bin/
    $ nohup ./startNodeManager.sh &

    start the AdminServer
    $nohup ./startWeblogic.sh &

    and wait for:

    <16 .02.2018="" 21:20="" mez="" uhr="">
    <16 .02.2018="" 21:17="" mez="" uhr="">
    via tail -f nohup.out
    start the soa_server

    ./startManagedWebLogic.sh soa_server1 t3://localhost:7001

    and enter user and password when prompted

       
And then check via http://192.168.178.49:7001/console:




All installation steps can be found here:

 i had to run the

No comments:

Post a Comment