CVPRD CVU1 Start Stop Operations Dcoument MKS
CVPRD CVU1 Start Stop Operations Dcoument MKS
Check Status of Database services to confirm they started under correct instance
srvctl status service -d <dbname> -s cp_service1,cp_service2,cp_service3,app_service1,app_service2,app_service3
Note: It takes few seconds for services to start after Database Instances come up.
Check Status of Database services to confirm they relocated under correct instance
srvctl status service -d <dbname> -s cp_service1,cp_service2,cp_service3,app_service1,app_service2,app_service3
Note: It takes few seconds for services to start after Database Instance(s) come up.
If the service(s) listed above are not running, then start them
srvctl start service -d <dbname> -s cp_service1,cp_service2,cp_service3,app_service1,app_service2,app_service3
To relocate services from one instance to another instance if not running under appropriate instance
srvctl relocate service -db <dbname> -service <service_name> -i <from instance> -t <to instance>
Start APPS listener(adalnctl.sh) on all application nodes so that when adstrtal.sh is run, all
managers startup on their Primary Node
Another option to startup applications on All Application Nodes from Primary Node is
$ADMIN_SCRIPTS_HOME/adstrtal.sh -mode=allnodes
Stopping:
Another option to stop applications on All Application Nodes from Primary Node is
$ADMIN_SCRIPTS_HOME/adstpall.sh -mode=allnodes
[ocvprd@ebizoracpr01 ~]$
[ocvprd@ebizoracpr01 ~]$
“-failover” argument failover the DB services running on stopped instance to Available Instance
Stopping DB Services
srvctl stop service -d cvsan -s cp_service1,cp_service2,cp_service3,app_service1,app_service2,app_service3
Relocate DB Services
srvctl relocate service -db <dbname> -service <service_name> -i <from instance> -t <to instance>
Stopping / Starting Active Data Guard
SHUTDOWN IMMEDIATE;
STARTUP MOUNT;
Validate log sync is working between primary and ADG in v$archived_log table
Stop –
1) JOBS ON HOLD
ebizapplpr01.corp.coopervision.com
ebizapplpr02.corp.coopervision.com
ebizapplpr03.corp.coopervision.com
Stop below mention admin and jms_server as mentioned below (force shutdown now)
Stop below mention admin and adf_server as mentioned below (force shutdown now)
weblapplpr03.corp.coopervision.com
weblapplpr04.corp.coopervision.com
$ sudo su – weblogic
$ kill -9 -1
ebizdbmspr03.corp.coopervision.com
$ sudo -u ocvprd -i
Stop Database / Instance (based on the requirement) using srvctl command as mentioned in
earlier section of document
Startup
1) Start database / if not already using using srvctl command as mentioned in earlier section of
document
1) Start application
Login to weblapplpr03.corp.coopervision.com
$ sudo su - weblogic
$ cd $DOMAIN_HOME/bin
$ . ./setDomainEnv.sh
$ cd $DOMAIN_HOME/bin
$ ./startWebLogic.sh &
$ ./startNodeManager.sh &
Login to weblapplpr04.corp.coopervision.com
$ sudo su - weblogic
$ . ./setDomainEnv.sh
$ cd $DOMAIN_HOME/bin
$ ./startNodeManager.sh &
Login to http://weblapplpr03.corp.coopervision.com:7065/console
Start all three jms_servers and ensure they are in runing startus (may take 5 mins to start)
After 5 mins check, all 306 bridges are active and forwarding messages
3) Start weblogic ADF server
Login to weblapplpr03.corp.coopervision.com
$ sudo su - weblogic
$ cd $DOMAIN_HOME/bin
$ . ./setDomainEnv.sh
$ cd $DOMAIN_HOME/bin
$ ./startWebLogic.sh &
$ ./startNodeManager.sh &
Login to weblapplpr04.corp.coopervision.com
$ sudo su - weblogic
$ cd $DOMAIN_HOME/bin
$ . ./setDomainEnv.sh
$ cd $DOMAIN_HOME/bin
$ ./startNodeManager.sh &
Login to http://weblapplpr03.corp.coopervision.com:7001/console
Start all two adf_servers and ensure they are in runing startus (may take 5 mins to start)
Check below URL should open in crome/mozilla browser, it will ask for CVPRD eBS userid or password
and the should open
http://weblapplpr03.corp.coopervision.com:7003/ManageError/faces/
SearchConsole.jsf
http://weblapplpr04.corp.coopervision.com:7003/ManageError
Login to ebizdbmspr03.corp.coopervision.com
SQl > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;