The Objective
The post is about how to do Weblogic Active Grid Link Data source creation using WLST. We are giving WLST script here to accomplish the same.
It has some nice features like
- Duplicate Validation
- Test Connection
- Database Credential validation
- Bulk Datasource creation.
We hope you would find it useful.
It is a property based script, So make sure you update the property file before you run the script.
We hope the Script and the properties file are self-explanatory. Feel free to let us know for help over comments.
This script has been created in the same structure to our previous script WebLogic domain creation using WLST so you can refer the post for further reference.
The Properties
The Script
Credits
Thanks to My Friend Gopi Kumar for crafting this and sharing it with middlewareinventory.
If you have such scripts and want to share with the world. Please let us know in comments or email us at [email protected] with your name and linked in/facebook profile link.
We will post it here and give your name as an Author with your linkedin/fb link.
Leave your ratings here [ratings]
Follow me on Linkedin My Profile
Follow DevopsJunction onFacebook orTwitter
For more practical videos and tutorials. Subscribe to our channel
Signup for Exclusive "Subscriber-only" Content
More from Middleware Inventory
-
Weblogic domain creation script - WLSTIn a continuation of our previous weblogic wlst scripts and automation tools. Here comes the weblogic domain creation script to create a new domain with the feature of creating managed servers, machines, clusters. This script is tested in weblogic11g and 12c Overview: This is a python script that can be…
-
weblogic server status script - WLSTA Small and Simple script to get all the server status from the weblogic domain, Including AdminServer & Managed Server. The Jython Script How to Execute this script Copy the preceding script content to a file, let's say /tmp/get_wls_serverstate.py cd domain/bin . ./setDomainEnv.sh java weblogic.WLST /tmp/get_wls_serverstate.py Script Output Hope this…
-
Weblogic User Creation Script WLSTThe Objective The purpose of this post to share the WLST script which helps in creating a new user in weblogic 11g or 12c and map them to righteous Group for privileges. Like Administrators, Deployers, Monitors etc. Version Compatibility Weblogic 12c (or) 11g The Properties file This is…
-
Weblogic Application Status Script WLSTTo Get the Deployed Application Status in the Weblogic Domain, you can use the following python script and run it with WLST. It has nice Formatting and this post also covers "How to ignore or avoid the weblogic informational messages while running the WLST script" Copy the Script given below…
-
Weblogic Start All Managed Servers WLST ScriptThe Objective In this post, we are going to share the WLST jython script we have created to start all the managed servers in the weblogic domain. To be more precise, The Script will start the servers which are not already started or down from the specific weblogic domain. Once…