Disclaimer

Saturday, 7 December 2024

Start and Stop the Service Manager

The start and stop process of the Service Manager within Oracle GoldenGate Microservices Architecture is based on two approaches:

  • If the Service Manager is configured in manual mode then there are scripts in the $OGG_SRVMGR_DIRECTORY/bin directory that you can run to start or stop the Service Manager.

    • To start the Service Manager: $OGG_SRVMGR_DIRECTORY/bin/startSM.sh
    • To stop the Service Manager: $OGG_SRVMGR_DIRECTORY/bin/stopSM.sh

    Note: 

    Before running either script to start or stop the Service Manager, edit each and set the following variables:

    export $OGG_HOME=Oracle GoldenGate installation folder

    export $OGG_ETC_HOME=OGG_SRVMGR_DIRECTORY/etc

    export $OGG_VAR_HOME=OGG_SRVMGR_DIRECTORY/var

  • If the Service Manager is configured as a daemon, the scripts required to start or stop for manual interaction are not created. The operating system is responsible for starting or stopping the Service Manager.

    For Linux:

    systemctl start OracleGoldenGate systemctl status OracleGoldenGate systemctl stop OracleGoldenGate

[root@rac201 ~]# systemctl status OracleGoldenGate

● OracleGoldenGate.service - Oracle GoldenGate Service Manager
   Loaded: loaded (/etc/systemd/system/OracleGoldenGate.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2024-12-07 18:05:29 IST; 2h 33min ago
 Main PID: 6935 (ServiceManager)
    Tasks: 14 (limit: 48900)
   Memory: 73.9M
   CGroup: /system.slice/OracleGoldenGate.service
           └─6935 /u04/app/ogg/ogg21c_ma/bin/ServiceManager --inventory '/u04/app/ogg/ogg21c_sm/etc/conf'

Dec 07 20:14:32 rac201.priyadba.com ServiceManager[6935]: 2024-12-07T20:14:32.162+0530 INFO | 3010 2024-12-07T14:44:32.000Z 192.168.0.42 'anonymo>
Dec 07 20:14:32 rac201.priyadba.com ServiceManager[6935]: 2024-12-07T20:14:32.280+0530 WARN | Cookie 'ogg.sca.lVWveaZnTvmOO8MmlsC7Ow' associated >
Dec 07 20:14:32 rac201.priyadba.com ServiceManager[6935]: 2024-12-07T20:14:32.280+0530 WARN | 'User oggadmin' is not authorized for role 'user' b>
Dec 07 20:14:32 rac201.priyadba.com ServiceManager[6935]: 2024-12-07T20:14:32.288+0530 WARN | (403 Forbidden) /services/v2/deployments - The serv>
Dec 07 20:14:32 rac201.priyadba.com ServiceManager[6935]: 2024-12-07T20:14:32.288+0530 INFO | 3010 2024-12-07T14:44:32.289Z "HTTP/1.1 403 Forbidd>
Dec 07 20:14:32 rac201.priyadba.com ServiceManager[6935]: 2024-12-07T20:14:32.288+0530 INFO | 3010 {
                                                                                                  "context": {
                                                                                                      "httpContextKey": 140212710843072,
                                                                                                      "requestId": 3010,
                                                                                                      "code": "403 Forbidden",
                                                                                                      "headers": {
                                                                                                          "Content-Type": "application/json",
                                                                                                          "Set-Cookie": [
                                                                                                              "** Masked **"
                                                                                                          ],
                                                                                                          "Content-Length": 580,
                                                                                                          "Cache-Control": "max-age=0, no-cache, >
                                                                                                          "Expires": "0",
                                                                                                          "Pragma": "no-cache",
                                                                                                          "Content-Security-Policy": "default-src>
                                                                                                          "X-Content-Type-Options": "nosniff",
                                                                                                          "X-XSS-Protection": "1; mode=block"
                                                                                                      },
                                                                                                      "Content-Type": "application/json",
                                                                                                      "contentType": "application/json"
                                                                                                  },
                                                                                                  "isScaResponse": true,
                                                                                                  "content": {
                                                                                                      "$schema": "api:standardResponse",
                                                                                                      "links": [
                                                                                                          {
                                                                                                              "rel": "canonical",
                                                                                                              "href": "http://192.168.0.201:7802/>
lines 1-42

No comments:

Post a Comment

Understanding SQL Plan Baselines in Oracle Database

  Understanding SQL Plan Baselines in Oracle Database SQL Plan Baseline is the feature in Oracle started from Database 11g that helps to pre...