cd $OHS_DOMAIN/bin
$ ./stopComponent.sh ohs1
Stopping System Component ohs1 ...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from /u01/oracle/domains/ohs_domain
Please enter your password : password
Connecting to Node Manager ...
Successfully Connected to Node Manager.
Killing server ohs1 ...
Successfully killed server ohs1
Successfully disconnected from Node Manager.
Exiting WebLogic Scripting Tool.
Done
$ OHS_HOME/oracle_common/common/bin
$ wlst.sh
readDomain('/u01/oracle/domains/ohs_domain')
ohs_domain>cd('/SecurityConfiguration/ohs_domain')
set('NodeManagerUsername','weblogic')
set('NodeManagerPasswordEncrypted','password')
updateDomain()
closeDomain()
exit()
$ ./startComponent.sh ohs1
Starting system Component ohs1 ...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from /u01/oracle/domains/ohs_domain
Connecting to Node Manager ...
Successfully Connected to Node Manager.
Starting server ohs1 ...
Successfully started server ohs1 ...
Successfully disconnected from Node Manager.
Exiting WebLogic Scripting Tool.
Done
$ ./stopComponent.sh ohs1
Stopping System Component ohs1 ...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from /u01/oracle/domains/ohs_domain
Please enter your password : password
Connecting to Node Manager ...
Successfully Connected to Node Manager.
Killing server ohs1 ...
Successfully killed server ohs1
Successfully disconnected from Node Manager.
Exiting WebLogic Scripting Tool.
Done
$ OHS_HOME/oracle_common/common/bin
$ wlst.sh
readDomain('/u01/oracle/domains/ohs_domain')
ohs_domain>cd('/SecurityConfiguration/ohs_domain')
set('NodeManagerUsername','weblogic')
set('NodeManagerPasswordEncrypted','password')
updateDomain()
closeDomain()
exit()
$ ./startComponent.sh ohs1
Starting system Component ohs1 ...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from /u01/oracle/domains/ohs_domain
Connecting to Node Manager ...
Successfully Connected to Node Manager.
Starting server ohs1 ...
Successfully started server ohs1 ...
Successfully disconnected from Node Manager.
Exiting WebLogic Scripting Tool.
Done
Comentários
Postar um comentário