Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.4K Intelligent Advisor
- 75 Insurance
- 537.7K On-Premises Infrastructure
- 138.7K Analytics Software
- 38.6K Application Development Software
- 6.1K Cloud Platform
- 109.6K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.3K Infrastructure Software
- 105.4K Integration
- 41.6K Security Software
Weblogic 10.3.6 manage servers startup arguments
Our organization is running EBS 12.2.10 which relies on WLS 10.3.6. Recently, we modified the startup arguments for our managed servers, but when we clone the instance, the updated startup arguments are not in the clone target's managed servers. I opened an SR with Oracle to ask how to manage this issue within EBS, but no solution was provided - other than updating them after the clone by logging into the weblogic admin console (not feasible since there are a lot of managed servers and we clone frequently). Searching for a template I could modify to preserve these startup arguments during cloning. Any help would be appreciated.
Thank you,
Sean.
Answers
-
Hi,
You could try creating a python script that would navigate through JDBCDataSources, ConnectionPools, and Managed Server settings and update the value defined in the python file.
The python file can then be invoked using WLST. Here is a sample code to connect to the WL.
username = "epm_admin"
password = "*******"
#============= ===========
#Connect To Domain
#========================
if username != "":
connect(username, password, 't3://localhost:7001')
print 'Successfully connected to the domain\n'
else:
connect(userConfigFile=UCF, userKeyFile=UKF, url=admurl)
print 'Successfully connected to the domain\n'
except:
print 'The domain is unreachable. Please try again\n'
exit()
Regards,
Ankur