SlideShare a Scribd company logo
sysco.no 
CON3633-Booting Weblogic 
Cato Aune 
Jon Petter Hjulstad 
SYSCO AS 
OOW September 29th, 2014
sysco.no 
Agenda 
•Aboutusand ourcompany 
•Whythispresentation? 
•Involvedcomponents 
•Howto 
•What are the options? 
•Our recommendations 
•Sample script –a walkthrough 
•Q&A 
Info
sysco.no 
Information about us 
•Jon Petter Hjulstad, DeptManager Middleware, Sysco 
•Cato Aune, Senior Consultant, Sysco 
•Middlewareconsultants–Oslo, Norway 
•Colleaguesin Lima, Peru 
•FocusingonBPM, SOA, WLS, EM, OVM 
•Blog: http://sysco.no/blogg/ 
Info
sysco.no 
Information about SYSCO 
•IT company established 2004 
•Continuous growth, over 100 employees 
•Operations, development, consulting in technology and economics 
•Competence in database technology, middleware 
•Special focus in the energy sector 
•Engineered Systems Partner of the YearNorway 2014 
•6 Locations in Norway, 1 in Peru 
Info
sysco.no 
Booting Oracle WebLogic 
●WebLogic -advanced and flexible 
oMakes it a bit complex 
oMany choices that has to be made 
●No out-of-the-box start scripts 
●Many resources on the Net 
oSome good 
oSome that might not fit your requirements 
oSome not so optimal
sysco.no 
Why automatic/scripted boot 
●No user intervention 
oNo one has to be present (physical or “virtual”) 
oLess error prone 
oDo it the same way every time 
●Makes it easier to start / stop single instances for the ops staff 
●Want services to be restarted automatically if needed 
●Use what is available in WLS
sysco.no 
Prereqs 
●WebLogicinstalled, domaincreated 
●Node Manager installedand configured 
onmEnroll 
onmGenBootStartupProps 
●For demo purposes 
oNot usingSSL (SecureListener=false in nodemanager.properties) 
oLittle errorhandling
sysco.no 
Sharing 
●Feel free to use the scripts “as is” or as a basis for your own enhancements to fit your requirements 
●All scripts, some more background information and suggestions for enhancement are in our blog http://sysco.no/blogg
sysco.no 
Components 
●Node Manager 
●WebLogic Scripting Tool (WLST) 
●Shell scripts
sysco.no 
Node Manager 
Node Manager is a WebLogic Server utility that enables you to 
●Start 
●Shut down 
●Restart 
Administration Server and Managed Server instances
sysco.no 
Node Manager 
BeforeWebLogic12.1.2 
●One Node Manager per server 
●Central Node Manager config 
From WebLogic12.1.2 
●One Node Manager per domain(default) 
●Node Manager configwithindomainhome
sysco.no 
Starting an Administration Server 
http://docs.oracle.com/middleware/1213/wls/NODEM/overview.htm#i1074930
sysco.no 
Starting a Managed Server 
http://docs.oracle.com/middleware/1213/wls/NODEM/overview.htm#i1074951
sysco.no 
Restarting an Administration Server 
http://docs.oracle.com/middleware/1213/wls/NODEM/overview.htm#i1074976
sysco.no 
Restarting a Managed Server 
http://docs.oracle.com/middleware/1213/wls/NODEM/overview.htm#i1074995
sysco.no 
WebLogic Scripting Tool (WLST) 
●WLST is based on Jython (Python) 
●Can do pretty much everything with WLST 
●Be sure to have correct path (source setDomainEnv.sh) 
●Recording option in Admin Console, might be used as starting point for automation
sysco.no 
Shell scripts called during boot 
●Start Node Manager 
oinit.d / xinit.d scripts for Linux 
oScript to create a Windows service 
●Start WebLogic 
oCustom bash/cmd script for starting the AdminServer and managed servers
sysco.no 
Different methods 
Start script 
Using WLST and Admin Server 
Using WLST and Node Manager 
Choose one method and stick with it
sysco.no 
Start scripts 
Generated when a domain is created 
<domain home>/startWebLogic.sh 
<domain home>/bin/startManagedWebLogic.sh 
Works well, but make sure to use nohupand put the process in the background 
$ nohupstartWeblogic.sh &
sysco.no 
Using WLST and Admin Server 
●Possible to start AdminServer 
oNot recommended with Fusion Middleware suite products 
●Connect to AdminServer to start managed servers 
oconnect(userConfigFile=userFile, userKeyFile=keyFile, url=adminUrl) 
ostart(...)
sysco.no 
Using WLST and Admin Server 
●Requires 
oRunning AdminServer 
oRunning Node Manager 
oAdminServer communicates with Node Manager 
●Node Manager sets the 
oJAVA_VENDOR, JAVA_HOME, JAVA_OPTIONS 
oSECURITY_POLICY,CLASSPATH, ADMIN_URL
sysco.no 
Using WLST and Node Manager 
●Connect to Node Manager 
onmConnect 
●Start AdminServerand managed servers 
onmStart 
●Does not set the variables with information from AdminServer. Possible to provide this information manually along with nmStart
sysco.no 
Starting from NodeManager 
nmConnect(userConfigFile=nmUserFile, 
userKeyFile=nmKeyFile, host=nmHost, 
port=nmPort, domainName=domain, 
domainDir=domainPath, nmType=nmType) 
nmStart('AdminServer') 
nmStart('ms1')
sysco.no 
Recommendations 
●It is recommended to always use Node Manager to start AdminServer and managed servers 
●It is recommended to let Node Manager use start script (StartScriptEnabled=true) 
●It is recommended to start from AdminServer to give server start arguments and SSL arguments to Node Manager
sysco.no 
Our approach 
●Enable start script in Node Manager (StartScriptEnabled=true in nodemanager.properties) 
●Connect to Node Manager and start AdminServer 
●Connect to AdminServer and start managed servers
sysco.no 
Put it together -wls.py 
import sys 
def startAdmin(): 
print 'Starting AdminServer' 
nmConnect(userConfigFile=nmUserFile, 
userKeyFile=nmKeyFile, host=nmHost, 
port=nmPort, domainName=domain, 
domainDir=domainPath, nmType=nmType) 
nmStart('AdminServer') 
nmDisconnect() 
return
sysco.no 
wls.py –Part II 
def stopAdmin(): 
print 'Stopping AdminServer' 
connect(userConfigFile=wlsUserFile, 
userKeyFile=wlsKeyFile, url=adminUrl) 
shutdown('AdminServer', force='true') 
return
sysco.no 
wls.py –Part III 
def startManaged(managed): 
print 'Starting ', managed 
connect(userConfigFile=wlsUserFile, 
userKeyFile=wlsKeyFile, url=adminUrl) 
start(managed) 
disconnect() 
return
sysco.no 
wls.py –Part IV 
defstopManaged(managed): 
print'Stopping ', managed 
connect(userConfigFile=wlsUserFile, 
userKeyFile=wlsKeyFile, url=adminUrl) 
shutdown(managed, force='true') 
disconnect() 
return
sysco.no 
wls.py –Part V 
if((len(sys.argv) < 2) | (len(sys.argv) > 3)): 
print' Wrongnumberofarguments' 
elif(sys.argv[1] == 'startadmin'): 
startAdmin() 
elif(sys.argv[1] == 'stopadmin'): 
stopAdmin() 
elif(sys.argv[1] == 'start'): 
startManaged(sys.argv[2]) 
elif(sys.argv[1] == 'stop'): 
stopManaged(sys.argv[2])
sysco.no 
startall.sh 
wlst.sh -loadPropertiesconfig.properties- skipWLSModuleScanningwls.py startadmin 
wlst.sh -loadPropertiesconfig.properties- skipWLSModuleScanningwls.py start ms1
sysco.no 
stopall.sh 
wlst.sh -loadPropertiesconfig.properties- skipWLSModuleScanningwls.py stop ms1 
wlst.sh -loadPropertiesconfig.properties- skipWLSModuleScanningwls.py stopadmin
sysco.no 
config.properties 
adminUrl=t3://wls12c.dev.sysco.no:7001 
nmHost=wls12c.dev.sysco.no 
nmPort=5556 
nmUserFile=/u01/app/oracle/config/nmUserFile 
nmKeyFile=/u01/app/oracle/config/nmKeyFile 
nmType=plain 
wlsUserFile=/u01/app/oracle/config/wlsUserFile 
wlsKeyFile=/u01/app/oracle/config/wlsKeyFile 
domain=mydomain 
domainPath=/u01/app/oracle/u_p/domains/mydomain
sysco.no 
Encrypt credentials in 11g 
Deprecated in 12c but still works 
For Node Manager: 
$ java weblogic.Admin 
-username nodemanager 
-userconfigfile /u01/app/oracle/config/nmUserFile-userkeyfile /u01/app/oracle/config/nmKeyFileSTOREUSERCONFIG
sysco.no 
Encrypt credentials in 11g 
Enter the password for user nodemanager: 
Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Do you want to create the key file? y or n y
sysco.no 
Encrypt credentials in 11g 
For WebLogic: 
$ javaweblogic.Admin 
-usernameweblogic 
-userconfigfile/u01/app/oracle/config/wlsUserFile-userkeyfile/u01/app/oracle/config/wlsKeyFileSTOREUSERCONFIG
sysco.no 
Encrypt credentials in 12c 
wls:/offline> nmConnect( 
‘nodemanager','welcome1','localhost',5556,'mydomain', 
'/u01/app/oracle/user_projects/domains/mydomain', 
'plain') 
Currentlyconnectedto Node Manager to monitor thedomainmydomain.
sysco.no 
Encrypt credentials in 12c -NM 
wls:/mydomain/serverConfig> storeUserConfig( 
'/u01/app/oracle/config/nmUserFile', 
'/u01/app/oracle/config/nmKeyFile', 
'true') 
Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Do you want to create the key file? y or n:y
sysco.no 
Encrypt credentials in 12c -WLS 
wls:/mydomain/serverConfig> storeUserConfig( 
'/u01/app/oracle/config/wlsUserFile', 
'/u01/app/oracle/config/wlsKeyFile', 
'false') 
Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Do you want to create the key file? y or n:y
sysco.no 
OS boot scripts -Linux 
/etc/init.d/nodemanager(dependsonnetwork) 
Script is availablein theOracle documentation, 
butyouhave to do somemodifications 
http://docs.oracle.com/middleware/1213/wls/NODEM/java_nodemgr.htm#BABJIDFD 
/etc/init.d/weblogic(dependsonnodemanager) 
# Required-Start: $nodemanager 
PROGRAM_START="$BOOT_HOME/startall.sh" 
PROGRAM_STOP="$BOOT_HOME/stopall.sh"
sysco.no 
Q&A
sysco.no 
Thanksfor attending! 
•Feelfreeto contactus! 
•https://twitter.com/jphjulstad 
•https://twitter.com/catoaune 
•Resources: 
•http://docs.oracle.com/middleware/1213/wls/index.html 
•http://sysco.no/blogg
sysco.no 
OS boot scripts -Windows 
Starting Node Manager as a Windows service is supported out-of-the- box. 
Follow the instructions in the documentation (or on the next slides) 
NB! 
-XrsJVM property for each Managed Server that will be under Node Manager control.
sysco.no 
Windows -Node Manager 
1. Log in to the machine with Administrator privileges. 
2. Open a DOS command prompt window. 
3. Change to the DOMAIN_HOMEbindirectory.
sysco.no 
Windows -Node Manager 
4. Enter the following command: 
installNodeMgrSvc.cmd 
5. After a few seconds, the following message is displayed: 
Oracle WebLogic <domain-name> NodeManager installed.
Ad

More Related Content

What's hot (20)

2011/1/27 Amazon Route53 使ってみた@第1回クラウド女子会
2011/1/27 Amazon Route53 使ってみた@第1回クラウド女子会2011/1/27 Amazon Route53 使ってみた@第1回クラウド女子会
2011/1/27 Amazon Route53 使ってみた@第1回クラウド女子会
Miki Takata
 
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert VanderkelenOSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
NETWAYS
 
Beyond PHP - it's not (just) about the code
Beyond PHP - it's not (just) about the codeBeyond PHP - it's not (just) about the code
Beyond PHP - it's not (just) about the code
Wim Godden
 
Getting Up and Running with the Windows Module Pack
Getting Up and Running with the Windows Module PackGetting Up and Running with the Windows Module Pack
Getting Up and Running with the Windows Module Pack
Hallie Exall
 
Ansible loves Python, Python Philadelphia meetup
Ansible loves Python, Python Philadelphia meetupAnsible loves Python, Python Philadelphia meetup
Ansible loves Python, Python Philadelphia meetup
Greg DeKoenigsberg
 
Configurações distribuídas com Spring Cloud Config
Configurações distribuídas com Spring Cloud ConfigConfigurações distribuídas com Spring Cloud Config
Configurações distribuídas com Spring Cloud Config
Emmanuel Neri
 
Node.js in action
Node.js in actionNode.js in action
Node.js in action
Simon Su
 
Tomcat ssl 設定
Tomcat ssl 設定Tomcat ssl 設定
Tomcat ssl 設定
康志強 大人
 
A 2-2 php on windows azure
A 2-2 php on windows azureA 2-2 php on windows azure
A 2-2 php on windows azure
GoAzure
 
PHP on Windows Azure
PHP on Windows Azure PHP on Windows Azure
PHP on Windows Azure
Microsoft Openness Japan
 
Ansible - Crash course
Ansible - Crash courseAnsible - Crash course
Ansible - Crash course
Simone Soldateschi
 
When dynamic becomes static: the next step in web caching techniques
When dynamic becomes static: the next step in web caching techniquesWhen dynamic becomes static: the next step in web caching techniques
When dynamic becomes static: the next step in web caching techniques
Wim Godden
 
Caching and tuning fun for high scalability
Caching and tuning fun for high scalabilityCaching and tuning fun for high scalability
Caching and tuning fun for high scalability
Wim Godden
 
Script it
Script itScript it
Script it
Giuseppe Maxia
 
Installing odoo v8 from github
Installing odoo v8 from githubInstalling odoo v8 from github
Installing odoo v8 from github
Antony Gitomeh
 
MySQL in your laptop
MySQL in your laptopMySQL in your laptop
MySQL in your laptop
Giuseppe Maxia
 
Building cloud stack at scale
Building cloud stack at scaleBuilding cloud stack at scale
Building cloud stack at scale
ShapeBlue
 
Top Node.js Metrics to Watch
Top Node.js Metrics to WatchTop Node.js Metrics to Watch
Top Node.js Metrics to Watch
Sematext Group, Inc.
 
MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerMySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployer
Giuseppe Maxia
 
How to build a High Performance PSGI/Plack Server
How to build a High Performance PSGI/Plack Server How to build a High Performance PSGI/Plack Server
How to build a High Performance PSGI/Plack Server
Masahiro Nagano
 
2011/1/27 Amazon Route53 使ってみた@第1回クラウド女子会
2011/1/27 Amazon Route53 使ってみた@第1回クラウド女子会2011/1/27 Amazon Route53 使ってみた@第1回クラウド女子会
2011/1/27 Amazon Route53 使ってみた@第1回クラウド女子会
Miki Takata
 
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert VanderkelenOSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
NETWAYS
 
Beyond PHP - it's not (just) about the code
Beyond PHP - it's not (just) about the codeBeyond PHP - it's not (just) about the code
Beyond PHP - it's not (just) about the code
Wim Godden
 
Getting Up and Running with the Windows Module Pack
Getting Up and Running with the Windows Module PackGetting Up and Running with the Windows Module Pack
Getting Up and Running with the Windows Module Pack
Hallie Exall
 
Ansible loves Python, Python Philadelphia meetup
Ansible loves Python, Python Philadelphia meetupAnsible loves Python, Python Philadelphia meetup
Ansible loves Python, Python Philadelphia meetup
Greg DeKoenigsberg
 
Configurações distribuídas com Spring Cloud Config
Configurações distribuídas com Spring Cloud ConfigConfigurações distribuídas com Spring Cloud Config
Configurações distribuídas com Spring Cloud Config
Emmanuel Neri
 
Node.js in action
Node.js in actionNode.js in action
Node.js in action
Simon Su
 
A 2-2 php on windows azure
A 2-2 php on windows azureA 2-2 php on windows azure
A 2-2 php on windows azure
GoAzure
 
When dynamic becomes static: the next step in web caching techniques
When dynamic becomes static: the next step in web caching techniquesWhen dynamic becomes static: the next step in web caching techniques
When dynamic becomes static: the next step in web caching techniques
Wim Godden
 
Caching and tuning fun for high scalability
Caching and tuning fun for high scalabilityCaching and tuning fun for high scalability
Caching and tuning fun for high scalability
Wim Godden
 
Installing odoo v8 from github
Installing odoo v8 from githubInstalling odoo v8 from github
Installing odoo v8 from github
Antony Gitomeh
 
Building cloud stack at scale
Building cloud stack at scaleBuilding cloud stack at scale
Building cloud stack at scale
ShapeBlue
 
MySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployerMySQL NDB 8.0 clusters in your laptop with dbdeployer
MySQL NDB 8.0 clusters in your laptop with dbdeployer
Giuseppe Maxia
 
How to build a High Performance PSGI/Plack Server
How to build a High Performance PSGI/Plack Server How to build a High Performance PSGI/Plack Server
How to build a High Performance PSGI/Plack Server
Masahiro Nagano
 

Viewers also liked (20)

"Research Data: Management, Access, Control" Symposium at the University at B...
"Research Data: Management, Access, Control" Symposium at the University at B..."Research Data: Management, Access, Control" Symposium at the University at B...
"Research Data: Management, Access, Control" Symposium at the University at B...
Charles Lyons
 
Weather french2
Weather french2Weather french2
Weather french2
as436525mhs
 
Ny under oslo presentasjon
Ny under oslo presentasjonNy under oslo presentasjon
Ny under oslo presentasjon
Torbjørn Dalløkken
 
Ceu in 2051
Ceu in 2051Ceu in 2051
Ceu in 2051
Central European University Sustainable Campus Initiative
 
Enzymes pre lab
Enzymes pre labEnzymes pre lab
Enzymes pre lab
D Sanders
 
Risk assessment and difficulties
Risk assessment and difficultiesRisk assessment and difficulties
Risk assessment and difficulties
Stunnah
 
Lepp | Design - CMID Presentation Phase 2
Lepp | Design - CMID Presentation Phase 2Lepp | Design - CMID Presentation Phase 2
Lepp | Design - CMID Presentation Phase 2
pjsteenbergen
 
The first hundred thousand users are always the hardest
The first hundred thousand users are always the hardestThe first hundred thousand users are always the hardest
The first hundred thousand users are always the hardest
FakeSteve
 
Servicios publicos accesibles para todos-JC Valero
Servicios publicos accesibles para todos-JC ValeroServicios publicos accesibles para todos-JC Valero
Servicios publicos accesibles para todos-JC Valero
JCCM1925
 
Proposal HunianOnline
Proposal HunianOnlineProposal HunianOnline
Proposal HunianOnline
vcreativemedia
 
Scifood lecture
Scifood lectureScifood lecture
Scifood lecture
Central European University Sustainable Campus Initiative
 
Test Automation and Service Virtualization Services Offerings from Rational L...
Test Automation and Service Virtualization Services Offerings from Rational L...Test Automation and Service Virtualization Services Offerings from Rational L...
Test Automation and Service Virtualization Services Offerings from Rational L...
IBM Rational software
 
French action topic 8
French action topic 8French action topic 8
French action topic 8
as436525mhs
 
Turkish ExCo lecture 1
Turkish ExCo lecture 1Turkish ExCo lecture 1
Turkish ExCo lecture 1
giskende
 
Preservation and Research Data at Binghamton University Libraries by Edward C...
Preservation and Research Data at Binghamton University Libraries by Edward C...Preservation and Research Data at Binghamton University Libraries by Edward C...
Preservation and Research Data at Binghamton University Libraries by Edward C...
Charles Lyons
 
Health concerns
Health concernsHealth concerns
Health concerns
Nicolemarie4
 
Dez1
Dez1Dez1
Dez1
Adesa Asaldo
 
бібліотека +читач
бібліотека +читачбібліотека +читач
бібліотека +читач
Марина Жук
 
真6 -祖父的小提琴
真6 -祖父的小提琴真6 -祖父的小提琴
真6 -祖父的小提琴
childrenmeeting
 
"Research Data: Management, Access, Control" Symposium at the University at B...
"Research Data: Management, Access, Control" Symposium at the University at B..."Research Data: Management, Access, Control" Symposium at the University at B...
"Research Data: Management, Access, Control" Symposium at the University at B...
Charles Lyons
 
Enzymes pre lab
Enzymes pre labEnzymes pre lab
Enzymes pre lab
D Sanders
 
Risk assessment and difficulties
Risk assessment and difficultiesRisk assessment and difficulties
Risk assessment and difficulties
Stunnah
 
Lepp | Design - CMID Presentation Phase 2
Lepp | Design - CMID Presentation Phase 2Lepp | Design - CMID Presentation Phase 2
Lepp | Design - CMID Presentation Phase 2
pjsteenbergen
 
The first hundred thousand users are always the hardest
The first hundred thousand users are always the hardestThe first hundred thousand users are always the hardest
The first hundred thousand users are always the hardest
FakeSteve
 
Servicios publicos accesibles para todos-JC Valero
Servicios publicos accesibles para todos-JC ValeroServicios publicos accesibles para todos-JC Valero
Servicios publicos accesibles para todos-JC Valero
JCCM1925
 
Test Automation and Service Virtualization Services Offerings from Rational L...
Test Automation and Service Virtualization Services Offerings from Rational L...Test Automation and Service Virtualization Services Offerings from Rational L...
Test Automation and Service Virtualization Services Offerings from Rational L...
IBM Rational software
 
French action topic 8
French action topic 8French action topic 8
French action topic 8
as436525mhs
 
Turkish ExCo lecture 1
Turkish ExCo lecture 1Turkish ExCo lecture 1
Turkish ExCo lecture 1
giskende
 
Preservation and Research Data at Binghamton University Libraries by Edward C...
Preservation and Research Data at Binghamton University Libraries by Edward C...Preservation and Research Data at Binghamton University Libraries by Edward C...
Preservation and Research Data at Binghamton University Libraries by Edward C...
Charles Lyons
 
бібліотека +читач
бібліотека +читачбібліотека +читач
бібліотека +читач
Марина Жук
 
真6 -祖父的小提琴
真6 -祖父的小提琴真6 -祖父的小提琴
真6 -祖父的小提琴
childrenmeeting
 
Ad

Similar to Booting Weblogic - OOW14 (20)

Philly security shell meetup
Philly security shell meetupPhilly security shell meetup
Philly security shell meetup
Nicole Johnson
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
Sharon James
 
Swift configurator installation-manual
Swift configurator installation-manualSwift configurator installation-manual
Swift configurator installation-manual
Pramod Sharma
 
Deploy Mediawiki Using FIWARE Lab Facilities
Deploy Mediawiki Using FIWARE Lab FacilitiesDeploy Mediawiki Using FIWARE Lab Facilities
Deploy Mediawiki Using FIWARE Lab Facilities
FIWARE
 
Deploy MediaWiki usgin Fiware Lab Facilities
Deploy MediaWiki usgin Fiware Lab FacilitiesDeploy MediaWiki usgin Fiware Lab Facilities
Deploy MediaWiki usgin Fiware Lab Facilities
José Ignacio Carretero Guarde
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
Pyramid Deployment and Maintenance
Pyramid Deployment and MaintenancePyramid Deployment and Maintenance
Pyramid Deployment and Maintenance
Jazkarta, Inc.
 
How to configure esx to pass an audit
How to configure esx to pass an auditHow to configure esx to pass an audit
How to configure esx to pass an audit
Concentrated Technology
 
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltConf14 - Ben Cane - Using SaltStack in High Availability EnvironmentsSaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltStack
 
Ansible Automation to Rule Them All
Ansible Automation to Rule Them AllAnsible Automation to Rule Them All
Ansible Automation to Rule Them All
Tim Fairweather
 
Installation
InstallationInstallation
Installation
rumoorthyit
 
I hunt sys admins 2.0
I hunt sys admins 2.0I hunt sys admins 2.0
I hunt sys admins 2.0
Will Schroeder
 
Automating That "Other" OS
Automating That "Other" OSAutomating That "Other" OS
Automating That "Other" OS
Julian Dunn
 
Oracle WebLogic
Oracle WebLogicOracle WebLogic
Oracle WebLogic
Anar Godjaev
 
One Click Provisioning With Enterprise Manager 12c
One Click Provisioning With Enterprise Manager 12cOne Click Provisioning With Enterprise Manager 12c
One Click Provisioning With Enterprise Manager 12c
Josh Turner
 
Docker, c'est bonheur !
Docker, c'est bonheur !Docker, c'est bonheur !
Docker, c'est bonheur !
Alexandre Salomé
 
MySQL NoSQL APIs
MySQL NoSQL APIsMySQL NoSQL APIs
MySQL NoSQL APIs
Morgan Tocker
 
Single Sign On Across Drupal 8 - DrupalCon Global 2020
Single Sign On Across Drupal 8 - DrupalCon Global 2020Single Sign On Across Drupal 8 - DrupalCon Global 2020
Single Sign On Across Drupal 8 - DrupalCon Global 2020
Iwantha Lekamge
 
Freeradius edir
Freeradius edirFreeradius edir
Freeradius edir
Jonas Segovia Velazquez
 
Automating complex infrastructures with Puppet
Automating complex infrastructures with PuppetAutomating complex infrastructures with Puppet
Automating complex infrastructures with Puppet
Kris Buytaert
 
Philly security shell meetup
Philly security shell meetupPhilly security shell meetup
Philly security shell meetup
Nicole Johnson
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
Sharon James
 
Swift configurator installation-manual
Swift configurator installation-manualSwift configurator installation-manual
Swift configurator installation-manual
Pramod Sharma
 
Deploy Mediawiki Using FIWARE Lab Facilities
Deploy Mediawiki Using FIWARE Lab FacilitiesDeploy Mediawiki Using FIWARE Lab Facilities
Deploy Mediawiki Using FIWARE Lab Facilities
FIWARE
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
Pyramid Deployment and Maintenance
Pyramid Deployment and MaintenancePyramid Deployment and Maintenance
Pyramid Deployment and Maintenance
Jazkarta, Inc.
 
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltConf14 - Ben Cane - Using SaltStack in High Availability EnvironmentsSaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
SaltStack
 
Ansible Automation to Rule Them All
Ansible Automation to Rule Them AllAnsible Automation to Rule Them All
Ansible Automation to Rule Them All
Tim Fairweather
 
Automating That "Other" OS
Automating That "Other" OSAutomating That "Other" OS
Automating That "Other" OS
Julian Dunn
 
One Click Provisioning With Enterprise Manager 12c
One Click Provisioning With Enterprise Manager 12cOne Click Provisioning With Enterprise Manager 12c
One Click Provisioning With Enterprise Manager 12c
Josh Turner
 
Single Sign On Across Drupal 8 - DrupalCon Global 2020
Single Sign On Across Drupal 8 - DrupalCon Global 2020Single Sign On Across Drupal 8 - DrupalCon Global 2020
Single Sign On Across Drupal 8 - DrupalCon Global 2020
Iwantha Lekamge
 
Automating complex infrastructures with Puppet
Automating complex infrastructures with PuppetAutomating complex infrastructures with Puppet
Automating complex infrastructures with Puppet
Kris Buytaert
 
Ad

More from Jon Petter Hjulstad (12)

OUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrateOUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrate
Jon Petter Hjulstad
 
Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17
Jon Petter Hjulstad
 
SOA 12c upgrade OGh-Tech-2017
SOA 12c upgrade OGh-Tech-2017SOA 12c upgrade OGh-Tech-2017
SOA 12c upgrade OGh-Tech-2017
Jon Petter Hjulstad
 
REST - Why, When and How? at AMIS25
REST - Why, When and How? at AMIS25REST - Why, When and How? at AMIS25
REST - Why, When and How? at AMIS25
Jon Petter Hjulstad
 
OUGN 2016: Experiences with REST support on OSB/SOA Suite
OUGN 2016: Experiences with REST support on OSB/SOA SuiteOUGN 2016: Experiences with REST support on OSB/SOA Suite
OUGN 2016: Experiences with REST support on OSB/SOA Suite
Jon Petter Hjulstad
 
Sysco Oracle Tour 2016 - What's new in FMW 12.2.1?
Sysco Oracle Tour 2016 - What's new in FMW 12.2.1?Sysco Oracle Tour 2016 - What's new in FMW 12.2.1?
Sysco Oracle Tour 2016 - What's new in FMW 12.2.1?
Jon Petter Hjulstad
 
Ougn15 acm
Ougn15 acmOugn15 acm
Ougn15 acm
Jon Petter Hjulstad
 
Presentation BPM Methodology and Pitfalls
Presentation BPM Methodology and PitfallsPresentation BPM Methodology and Pitfalls
Presentation BPM Methodology and Pitfalls
Jon Petter Hjulstad
 
Configuration / Patching of EM 12c
Configuration / Patching of EM 12cConfiguration / Patching of EM 12c
Configuration / Patching of EM 12c
Jon Petter Hjulstad
 
Installation of EM 12c
Installation of EM 12cInstallation of EM 12c
Installation of EM 12c
Jon Petter Hjulstad
 
SOA Suite Administration from OUGN 2014
SOA Suite Administration from OUGN 2014SOA Suite Administration from OUGN 2014
SOA Suite Administration from OUGN 2014
Jon Petter Hjulstad
 
Weblogic 12c experiences - migrations from iAS-platform
Weblogic 12c experiences - migrations from iAS-platformWeblogic 12c experiences - migrations from iAS-platform
Weblogic 12c experiences - migrations from iAS-platform
Jon Petter Hjulstad
 
OUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrateOUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrate
Jon Petter Hjulstad
 
Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17
Jon Petter Hjulstad
 
REST - Why, When and How? at AMIS25
REST - Why, When and How? at AMIS25REST - Why, When and How? at AMIS25
REST - Why, When and How? at AMIS25
Jon Petter Hjulstad
 
OUGN 2016: Experiences with REST support on OSB/SOA Suite
OUGN 2016: Experiences with REST support on OSB/SOA SuiteOUGN 2016: Experiences with REST support on OSB/SOA Suite
OUGN 2016: Experiences with REST support on OSB/SOA Suite
Jon Petter Hjulstad
 
Sysco Oracle Tour 2016 - What's new in FMW 12.2.1?
Sysco Oracle Tour 2016 - What's new in FMW 12.2.1?Sysco Oracle Tour 2016 - What's new in FMW 12.2.1?
Sysco Oracle Tour 2016 - What's new in FMW 12.2.1?
Jon Petter Hjulstad
 
Presentation BPM Methodology and Pitfalls
Presentation BPM Methodology and PitfallsPresentation BPM Methodology and Pitfalls
Presentation BPM Methodology and Pitfalls
Jon Petter Hjulstad
 
Configuration / Patching of EM 12c
Configuration / Patching of EM 12cConfiguration / Patching of EM 12c
Configuration / Patching of EM 12c
Jon Petter Hjulstad
 
SOA Suite Administration from OUGN 2014
SOA Suite Administration from OUGN 2014SOA Suite Administration from OUGN 2014
SOA Suite Administration from OUGN 2014
Jon Petter Hjulstad
 
Weblogic 12c experiences - migrations from iAS-platform
Weblogic 12c experiences - migrations from iAS-platformWeblogic 12c experiences - migrations from iAS-platform
Weblogic 12c experiences - migrations from iAS-platform
Jon Petter Hjulstad
 

Recently uploaded (20)

IAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdfIAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
mcgardenlevi9
 
Digilocker under workingProcess Flow.pptx
Digilocker  under workingProcess Flow.pptxDigilocker  under workingProcess Flow.pptx
Digilocker under workingProcess Flow.pptx
satnamsadguru491
 
Cleaned_Lecture 6666666_Simulation_I.pdf
Cleaned_Lecture 6666666_Simulation_I.pdfCleaned_Lecture 6666666_Simulation_I.pdf
Cleaned_Lecture 6666666_Simulation_I.pdf
alcinialbob1234
 
KNN_Logistic_Regression_Presentation_Styled.pptx
KNN_Logistic_Regression_Presentation_Styled.pptxKNN_Logistic_Regression_Presentation_Styled.pptx
KNN_Logistic_Regression_Presentation_Styled.pptx
sonujha1980712
 
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Abodahab
 
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptxmd-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
fatimalazaar2004
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
Call illuminati Agent in uganda+256776963507/0741506136
Call illuminati Agent in uganda+256776963507/0741506136Call illuminati Agent in uganda+256776963507/0741506136
Call illuminati Agent in uganda+256776963507/0741506136
illuminati Agent uganda call+256776963507/0741506136
 
How iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost FundsHow iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost Funds
ireneschmid345
 
MASAkkjjkttuyrdquesjhjhjfc44dddtions.docx
MASAkkjjkttuyrdquesjhjhjfc44dddtions.docxMASAkkjjkttuyrdquesjhjhjfc44dddtions.docx
MASAkkjjkttuyrdquesjhjhjfc44dddtions.docx
santosh162
 
Ppt. Nikhil.pptxnshwuudgcudisisshvehsjks
Ppt. Nikhil.pptxnshwuudgcudisisshvehsjksPpt. Nikhil.pptxnshwuudgcudisisshvehsjks
Ppt. Nikhil.pptxnshwuudgcudisisshvehsjks
panchariyasahil
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
Stack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptxStack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptx
binduraniha86
 
Calories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptxCalories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptx
TijiLMAHESHWARI
 
Minions Want to eat presentacion muy linda
Minions Want to eat presentacion muy lindaMinions Want to eat presentacion muy linda
Minions Want to eat presentacion muy linda
CarlaAndradesSoler1
 
PRE-NATAL GRnnnmnnnnmmOWTH seminar[1].pptx
PRE-NATAL GRnnnmnnnnmmOWTH seminar[1].pptxPRE-NATAL GRnnnmnnnnmmOWTH seminar[1].pptx
PRE-NATAL GRnnnmnnnnmmOWTH seminar[1].pptx
JayeshTaneja4
 
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
ThanushsaranS
 
Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...
Pixellion
 
How to join illuminati Agent in uganda call+256776963507/0741506136
How to join illuminati Agent in uganda call+256776963507/0741506136How to join illuminati Agent in uganda call+256776963507/0741506136
How to join illuminati Agent in uganda call+256776963507/0741506136
illuminati Agent uganda call+256776963507/0741506136
 
History of Science and Technologyandits source.pptx
History of Science and Technologyandits source.pptxHistory of Science and Technologyandits source.pptx
History of Science and Technologyandits source.pptx
balongcastrojo
 
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdfIAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
mcgardenlevi9
 
Digilocker under workingProcess Flow.pptx
Digilocker  under workingProcess Flow.pptxDigilocker  under workingProcess Flow.pptx
Digilocker under workingProcess Flow.pptx
satnamsadguru491
 
Cleaned_Lecture 6666666_Simulation_I.pdf
Cleaned_Lecture 6666666_Simulation_I.pdfCleaned_Lecture 6666666_Simulation_I.pdf
Cleaned_Lecture 6666666_Simulation_I.pdf
alcinialbob1234
 
KNN_Logistic_Regression_Presentation_Styled.pptx
KNN_Logistic_Regression_Presentation_Styled.pptxKNN_Logistic_Regression_Presentation_Styled.pptx
KNN_Logistic_Regression_Presentation_Styled.pptx
sonujha1980712
 
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Day 1 - Lab 1 Reconnaissance Scanning with NMAP, Vulnerability Assessment wit...
Abodahab
 
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptxmd-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
fatimalazaar2004
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
How iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost FundsHow iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost Funds
ireneschmid345
 
MASAkkjjkttuyrdquesjhjhjfc44dddtions.docx
MASAkkjjkttuyrdquesjhjhjfc44dddtions.docxMASAkkjjkttuyrdquesjhjhjfc44dddtions.docx
MASAkkjjkttuyrdquesjhjhjfc44dddtions.docx
santosh162
 
Ppt. Nikhil.pptxnshwuudgcudisisshvehsjks
Ppt. Nikhil.pptxnshwuudgcudisisshvehsjksPpt. Nikhil.pptxnshwuudgcudisisshvehsjks
Ppt. Nikhil.pptxnshwuudgcudisisshvehsjks
panchariyasahil
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
Stack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptxStack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptx
binduraniha86
 
Calories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptxCalories_Prediction_using_Linear_Regression.pptx
Calories_Prediction_using_Linear_Regression.pptx
TijiLMAHESHWARI
 
Minions Want to eat presentacion muy linda
Minions Want to eat presentacion muy lindaMinions Want to eat presentacion muy linda
Minions Want to eat presentacion muy linda
CarlaAndradesSoler1
 
PRE-NATAL GRnnnmnnnnmmOWTH seminar[1].pptx
PRE-NATAL GRnnnmnnnnmmOWTH seminar[1].pptxPRE-NATAL GRnnnmnnnnmmOWTH seminar[1].pptx
PRE-NATAL GRnnnmnnnnmmOWTH seminar[1].pptx
JayeshTaneja4
 
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
CTS EXCEPTIONSPrediction of Aluminium wire rod physical properties through AI...
ThanushsaranS
 
Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...Thingyan is now a global treasure! See how people around the world are search...
Thingyan is now a global treasure! See how people around the world are search...
Pixellion
 
History of Science and Technologyandits source.pptx
History of Science and Technologyandits source.pptxHistory of Science and Technologyandits source.pptx
History of Science and Technologyandits source.pptx
balongcastrojo
 

Booting Weblogic - OOW14

  • 1. sysco.no CON3633-Booting Weblogic Cato Aune Jon Petter Hjulstad SYSCO AS OOW September 29th, 2014
  • 2. sysco.no Agenda •Aboutusand ourcompany •Whythispresentation? •Involvedcomponents •Howto •What are the options? •Our recommendations •Sample script –a walkthrough •Q&A Info
  • 3. sysco.no Information about us •Jon Petter Hjulstad, DeptManager Middleware, Sysco •Cato Aune, Senior Consultant, Sysco •Middlewareconsultants–Oslo, Norway •Colleaguesin Lima, Peru •FocusingonBPM, SOA, WLS, EM, OVM •Blog: http://sysco.no/blogg/ Info
  • 4. sysco.no Information about SYSCO •IT company established 2004 •Continuous growth, over 100 employees •Operations, development, consulting in technology and economics •Competence in database technology, middleware •Special focus in the energy sector •Engineered Systems Partner of the YearNorway 2014 •6 Locations in Norway, 1 in Peru Info
  • 5. sysco.no Booting Oracle WebLogic ●WebLogic -advanced and flexible oMakes it a bit complex oMany choices that has to be made ●No out-of-the-box start scripts ●Many resources on the Net oSome good oSome that might not fit your requirements oSome not so optimal
  • 6. sysco.no Why automatic/scripted boot ●No user intervention oNo one has to be present (physical or “virtual”) oLess error prone oDo it the same way every time ●Makes it easier to start / stop single instances for the ops staff ●Want services to be restarted automatically if needed ●Use what is available in WLS
  • 7. sysco.no Prereqs ●WebLogicinstalled, domaincreated ●Node Manager installedand configured onmEnroll onmGenBootStartupProps ●For demo purposes oNot usingSSL (SecureListener=false in nodemanager.properties) oLittle errorhandling
  • 8. sysco.no Sharing ●Feel free to use the scripts “as is” or as a basis for your own enhancements to fit your requirements ●All scripts, some more background information and suggestions for enhancement are in our blog http://sysco.no/blogg
  • 9. sysco.no Components ●Node Manager ●WebLogic Scripting Tool (WLST) ●Shell scripts
  • 10. sysco.no Node Manager Node Manager is a WebLogic Server utility that enables you to ●Start ●Shut down ●Restart Administration Server and Managed Server instances
  • 11. sysco.no Node Manager BeforeWebLogic12.1.2 ●One Node Manager per server ●Central Node Manager config From WebLogic12.1.2 ●One Node Manager per domain(default) ●Node Manager configwithindomainhome
  • 12. sysco.no Starting an Administration Server http://docs.oracle.com/middleware/1213/wls/NODEM/overview.htm#i1074930
  • 13. sysco.no Starting a Managed Server http://docs.oracle.com/middleware/1213/wls/NODEM/overview.htm#i1074951
  • 14. sysco.no Restarting an Administration Server http://docs.oracle.com/middleware/1213/wls/NODEM/overview.htm#i1074976
  • 15. sysco.no Restarting a Managed Server http://docs.oracle.com/middleware/1213/wls/NODEM/overview.htm#i1074995
  • 16. sysco.no WebLogic Scripting Tool (WLST) ●WLST is based on Jython (Python) ●Can do pretty much everything with WLST ●Be sure to have correct path (source setDomainEnv.sh) ●Recording option in Admin Console, might be used as starting point for automation
  • 17. sysco.no Shell scripts called during boot ●Start Node Manager oinit.d / xinit.d scripts for Linux oScript to create a Windows service ●Start WebLogic oCustom bash/cmd script for starting the AdminServer and managed servers
  • 18. sysco.no Different methods Start script Using WLST and Admin Server Using WLST and Node Manager Choose one method and stick with it
  • 19. sysco.no Start scripts Generated when a domain is created <domain home>/startWebLogic.sh <domain home>/bin/startManagedWebLogic.sh Works well, but make sure to use nohupand put the process in the background $ nohupstartWeblogic.sh &
  • 20. sysco.no Using WLST and Admin Server ●Possible to start AdminServer oNot recommended with Fusion Middleware suite products ●Connect to AdminServer to start managed servers oconnect(userConfigFile=userFile, userKeyFile=keyFile, url=adminUrl) ostart(...)
  • 21. sysco.no Using WLST and Admin Server ●Requires oRunning AdminServer oRunning Node Manager oAdminServer communicates with Node Manager ●Node Manager sets the oJAVA_VENDOR, JAVA_HOME, JAVA_OPTIONS oSECURITY_POLICY,CLASSPATH, ADMIN_URL
  • 22. sysco.no Using WLST and Node Manager ●Connect to Node Manager onmConnect ●Start AdminServerand managed servers onmStart ●Does not set the variables with information from AdminServer. Possible to provide this information manually along with nmStart
  • 23. sysco.no Starting from NodeManager nmConnect(userConfigFile=nmUserFile, userKeyFile=nmKeyFile, host=nmHost, port=nmPort, domainName=domain, domainDir=domainPath, nmType=nmType) nmStart('AdminServer') nmStart('ms1')
  • 24. sysco.no Recommendations ●It is recommended to always use Node Manager to start AdminServer and managed servers ●It is recommended to let Node Manager use start script (StartScriptEnabled=true) ●It is recommended to start from AdminServer to give server start arguments and SSL arguments to Node Manager
  • 25. sysco.no Our approach ●Enable start script in Node Manager (StartScriptEnabled=true in nodemanager.properties) ●Connect to Node Manager and start AdminServer ●Connect to AdminServer and start managed servers
  • 26. sysco.no Put it together -wls.py import sys def startAdmin(): print 'Starting AdminServer' nmConnect(userConfigFile=nmUserFile, userKeyFile=nmKeyFile, host=nmHost, port=nmPort, domainName=domain, domainDir=domainPath, nmType=nmType) nmStart('AdminServer') nmDisconnect() return
  • 27. sysco.no wls.py –Part II def stopAdmin(): print 'Stopping AdminServer' connect(userConfigFile=wlsUserFile, userKeyFile=wlsKeyFile, url=adminUrl) shutdown('AdminServer', force='true') return
  • 28. sysco.no wls.py –Part III def startManaged(managed): print 'Starting ', managed connect(userConfigFile=wlsUserFile, userKeyFile=wlsKeyFile, url=adminUrl) start(managed) disconnect() return
  • 29. sysco.no wls.py –Part IV defstopManaged(managed): print'Stopping ', managed connect(userConfigFile=wlsUserFile, userKeyFile=wlsKeyFile, url=adminUrl) shutdown(managed, force='true') disconnect() return
  • 30. sysco.no wls.py –Part V if((len(sys.argv) < 2) | (len(sys.argv) > 3)): print' Wrongnumberofarguments' elif(sys.argv[1] == 'startadmin'): startAdmin() elif(sys.argv[1] == 'stopadmin'): stopAdmin() elif(sys.argv[1] == 'start'): startManaged(sys.argv[2]) elif(sys.argv[1] == 'stop'): stopManaged(sys.argv[2])
  • 31. sysco.no startall.sh wlst.sh -loadPropertiesconfig.properties- skipWLSModuleScanningwls.py startadmin wlst.sh -loadPropertiesconfig.properties- skipWLSModuleScanningwls.py start ms1
  • 32. sysco.no stopall.sh wlst.sh -loadPropertiesconfig.properties- skipWLSModuleScanningwls.py stop ms1 wlst.sh -loadPropertiesconfig.properties- skipWLSModuleScanningwls.py stopadmin
  • 33. sysco.no config.properties adminUrl=t3://wls12c.dev.sysco.no:7001 nmHost=wls12c.dev.sysco.no nmPort=5556 nmUserFile=/u01/app/oracle/config/nmUserFile nmKeyFile=/u01/app/oracle/config/nmKeyFile nmType=plain wlsUserFile=/u01/app/oracle/config/wlsUserFile wlsKeyFile=/u01/app/oracle/config/wlsKeyFile domain=mydomain domainPath=/u01/app/oracle/u_p/domains/mydomain
  • 34. sysco.no Encrypt credentials in 11g Deprecated in 12c but still works For Node Manager: $ java weblogic.Admin -username nodemanager -userconfigfile /u01/app/oracle/config/nmUserFile-userkeyfile /u01/app/oracle/config/nmKeyFileSTOREUSERCONFIG
  • 35. sysco.no Encrypt credentials in 11g Enter the password for user nodemanager: Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Do you want to create the key file? y or n y
  • 36. sysco.no Encrypt credentials in 11g For WebLogic: $ javaweblogic.Admin -usernameweblogic -userconfigfile/u01/app/oracle/config/wlsUserFile-userkeyfile/u01/app/oracle/config/wlsKeyFileSTOREUSERCONFIG
  • 37. sysco.no Encrypt credentials in 12c wls:/offline> nmConnect( ‘nodemanager','welcome1','localhost',5556,'mydomain', '/u01/app/oracle/user_projects/domains/mydomain', 'plain') Currentlyconnectedto Node Manager to monitor thedomainmydomain.
  • 38. sysco.no Encrypt credentials in 12c -NM wls:/mydomain/serverConfig> storeUserConfig( '/u01/app/oracle/config/nmUserFile', '/u01/app/oracle/config/nmKeyFile', 'true') Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Do you want to create the key file? y or n:y
  • 39. sysco.no Encrypt credentials in 12c -WLS wls:/mydomain/serverConfig> storeUserConfig( '/u01/app/oracle/config/wlsUserFile', '/u01/app/oracle/config/wlsKeyFile', 'false') Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Do you want to create the key file? y or n:y
  • 40. sysco.no OS boot scripts -Linux /etc/init.d/nodemanager(dependsonnetwork) Script is availablein theOracle documentation, butyouhave to do somemodifications http://docs.oracle.com/middleware/1213/wls/NODEM/java_nodemgr.htm#BABJIDFD /etc/init.d/weblogic(dependsonnodemanager) # Required-Start: $nodemanager PROGRAM_START="$BOOT_HOME/startall.sh" PROGRAM_STOP="$BOOT_HOME/stopall.sh"
  • 42. sysco.no Thanksfor attending! •Feelfreeto contactus! •https://twitter.com/jphjulstad •https://twitter.com/catoaune •Resources: •http://docs.oracle.com/middleware/1213/wls/index.html •http://sysco.no/blogg
  • 43. sysco.no OS boot scripts -Windows Starting Node Manager as a Windows service is supported out-of-the- box. Follow the instructions in the documentation (or on the next slides) NB! -XrsJVM property for each Managed Server that will be under Node Manager control.
  • 44. sysco.no Windows -Node Manager 1. Log in to the machine with Administrator privileges. 2. Open a DOS command prompt window. 3. Change to the DOMAIN_HOMEbindirectory.
  • 45. sysco.no Windows -Node Manager 4. Enter the following command: installNodeMgrSvc.cmd 5. After a few seconds, the following message is displayed: Oracle WebLogic <domain-name> NodeManager installed.