changes
- 0.2.8 weblogic 12.1.3 support and cleanenv script fix
- 0.2.7 cleanup of init.pp
- 0.2.6 allow to change group param for the scripts
- 0.2.5 Custom Identity and Trust store support in all the scripts
- 0.2.4 JSSE option, stopWebLogicAdmin localhost bugfix and nodemanager service script fix
- 0.2.2 nodemanager address param for the startWebLogicAdmin script ( instead of localhost)
- 0.2.0 new way to overide the params , use params.pp or use the variables
- 0.1.8 updated license to Apache 2.0
- 0.1.7 BugFixes for nodemanager startup & showStatus
- 0.1.6 Autostart of the Nodemanager ( chkconfig )
- 0.1.5 WebLogic 12.1.2 support for NodeManager
- 0.1.4 added Suse SLES as Operating System
- 0.1.3 bug fixes
- 0.1.1 support for Solaris
usage:
change the params.pp class so the defaults match with your environment or add extra values based on the hostname
use:
include orautils
or override the defaults which does not match with your environment and call the class orautils with the necessary parameters
osDomainTypeParam => soa|admin|web|oim
use:
class{'orautils':
osOracleHomeParam => "/opt/oracle",
oraInventoryParam => "/opt/oracle/oraInventory",
osDomainTypeParam => "soa",
osLogFolderParam => "/data/logs",
osDownloadFolderParam => "/data/install",
osMdwHomeParam => "/opt/oracle/wls/Middleware11gR1",
osWlHomeParam => "/opt/oracle/wls/Middleware11gR1/wlserver_10.3",
oraUserParam => "oracle",
oraGroupParam => "dba",
osDomainParam => "osbSoaDomain",
osDomainPathParam => "/opt/oracle/wls/Middleware11gR1/user_projects/domains/osbSoaDomain",
nodeMgrPathParam => "/opt/oracle/wls/Middleware11gR1/wlserver_10.3/server/bin",
nodeMgrPortParam => 5556,
nodeMgrAddressParam => 'localhost',
wlsUserParam => "weblogic",
wlsPasswordParam => "weblogic1",
wlsAdminServerParam => "AdminServer",
jsseEnabledParam => false,
}
or with hiera ( include orautils )
orautils::osOracleHomeParam: "/opt/oracle"
orautils::oraInventoryParam: "/opt/oracle/oraInventory"
orautils::osDomainTypeParam: "admin"
orautils::osLogFolderParam: "/data/logs"
orautils::osDownloadFolderParam: "/data/install"
orautils::osMdwHomeParam: "/opt/oracle/wls/Middleware11gR1"
orautils::osWlHomeParam: "/opt/oracle/wls/Middleware11gR1/wlserver_10.3"
orautils::oraUserParam: "oracle"
orautils::oraGroupParam: "dba"
orautils::osDomainParam: "Wls1036"
orautils::osDomainPathParam: "/opt/oracle/wlsdomains/domains/Wls1036"
orautils::nodeMgrPathParam: "/opt/oracle/middleware11g/wlserver_10.3/server/bin"
orautils::nodeMgrPortParam: 5556
orautils::nodeMgrAddressParam: 'localhost'
orautils::wlsUserParam: "weblogic"
orautils::wlsPasswordParam: "weblogic1"
orautils::wlsAdminServerParam: "AdminServer"
orautils::jsseEnabledParam: true
install auto start script for the nodemanager of WebLogic ( 10.3, 11g, 12.1.1 ) or 12.1.2
only for WebLogic 12.1.2 and higher
orautils::nodemanagerautostart{"autostart ${wlsDomainName}":
version => "1212",
wlHome => $osWlHome,
user => $user,
domain => $wlsDomainName,
logDir => $logDir,
jsseEnabled => false,
}
only for WebLogic 10 or 11g
orautils::nodemanagerautostart{"autostart weblogic 11g":
version => "1111",
wlHome => $osWlHome,
user => $user,
jsseEnabled => false,
}
cleanOracleEnvironment.sh
Remove all Oracle WebLogic existence so you can deploy again
Actions
- Remove domain pack files, ${osDownloadFolder}/domain_.
- Remove mdwhome, $osOracleHome
- Remove beahome list of user $oraUser
- Remove /etc/oraInst.loc
- Remove ${osDownloadFolder}/osb
- Remove ${osDownloadFolder}/soa
7 Remove ${osDownloadFolder}/*.xml
showStatus.sh
- Shows if the AdminServer, Soa and OSB server is running plus the PIDs
- Shows if the NodeManager is running plus the PID
startNodeManager.sh
Starts the nodemanager
stopNodeManager.sh
Stops the nodemanager
startWeblogicAdmin.sh
- Checks first if the nodemanager is running
- Check if the AdminServer is already started
- Start the WebLogic Adminserver from the nodemanager
stopWeblogicAdmin.sh
- Checks first if the nodemanager is running
- Check if the AdminServer is running
- Stops the WebLogic Adminserver from the nodemanager