Posts

Showing posts from June, 2015

HTML format output for wlst scripts - Threadpool and server status

Image
1. Download the HTML.py module from the following link http://www.decalage.info/python/html and place this in wlserver_10.3/common/wlst/modules 2. Below script will generate html file upon successful execution and it will be placed in the same directory from where you execute the script #!/usr/bin/python import sys sys.path.insert(0,'/u01/app/oracle/product/fmw/wlserver_10.3/common/wlst/modules/HTML.py') import HTML tohtmlfile=open('ThreadPoolStatusHTMLFILE.html', 'w') def connection():     try:         connect(wls_username,wls_password,url);     except:         "Unable to connect to the Admin Server, Please check!"         def Threadpoolstatus():     tabledata=HTML.Table(header_row=['Server Name','Status','Completed Requests','Hogging Threads','Total Threads','Idle Threads','Pending','Queue Length','Throughput']);     urldict...

Vagrant setup for Oracle SOA environment

Setup the Vagrant layer for SOA 11g on VirtualBox  Download the Centos7 box from below URL https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box  create a directory for the centos and copy the box to this directory  Create a folder in your local machine for the shared folder which will host your SOA installations   Open the command prompt and go to the centos folder which you created in the step # 3  enter vagrant init , this will create vagrantfile in the same directory, Open the file and delete all the lines and copy below code into it and save the file # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "centos7.box" config.vm.hostname = "Centos7forOracleSOA" config.vm.network :private_network, ip: "192.168.33.101" config.vm.synced_folder "E:/Software", "/u01/app/software" config.vm.synced_folder "E:/virtualboxes...