We can start/stop the ohs instance in different ways. Here are the few ways...
1. By using WLST
2. By using command line
1. By using WLST
- Connect to WLST
- Connect to nmConnect()
- Run the below command(s).
- START - start('ohs1') [or] nmStart(serverName='ohs1', serverType='OHS')
- STOP - shutdown('ohs1')
- RESTART - softRestart('ohs1')
- STATUS - state('ohs1')
2. By using command line
- Go to Domain location & run the below .sh scripts.
- START - $DOMAIN_HOME/bin/startComponent.sh ohs1
- STOP - $DOMAIN_HOME/bin/stopComponent.sh ohs1
Also we can start/stop from EM (Enterprise Manager).
- Login to EM & then select corresponding Weblogic Domain name.
- Select machine host to be associated to corresponding OHS instance and then start/stop the corresponding instance.
Note: There are so many WLST locations available in your setup depending up on installed FMW components. Make sure to start WLST script from $ORACLE_HOME/ohs/common/bin directory.
No comments:
Post a Comment