neal ec5ca53161 adding coop puppet scripts 5 лет назад
..
manifests ec5ca53161 adding coop puppet scripts 5 лет назад
templates ec5ca53161 adding coop puppet scripts 5 лет назад
License ec5ca53161 adding coop puppet scripts 5 лет назад
Modulefile ec5ca53161 adding coop puppet scripts 5 лет назад
README.md ec5ca53161 adding coop puppet scripts 5 лет назад
metadata.json ec5ca53161 adding coop puppet scripts 5 лет назад

README.md

Oracle WebLogic orautils puppet module

changes

  • 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",
    osDomainParam          => "osbSoaDomain",
    osDomainPathParam      => "/opt/oracle/wls/Middleware11gR1/user_projects/domains/osbSoaDomain",
    nodeMgrPathParam       => "/opt/oracle/wls/Middleware11gR1/wlserver_10.3/server/bin",
    nodeMgrPortParam       => 5556,
    wlsUserParam           => "weblogic",
    wlsPasswordParam       => "weblogic1",
    wlsAdminServerParam    => "AdminServer",
} 

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,
 }

only for WebLogic 10 or 11g

 orautils::nodemanagerautostart{"autostart weblogic 11g":
    version     => "1111",
    wlHome      => $osWlHome, 
    user        => $user,
 }

Generates WLS Scripts in /opt/scripts/wls

cleanOracleEnvironment.sh
Remove all Oracle WebLogic existence so you can deploy again
Actions

  1. Remove domain pack files, ${osDownloadFolder}/domain_.
  2. Remove mdwhome, $osOracleHome
  3. Remove beahome list of user $oraUser
  4. Remove /etc/oraInst.loc
  5. Remove ${osDownloadFolder}/osb
  6. Remove ${osDownloadFolder}/soa
    7 Remove ${osDownloadFolder}/*.xml

showStatus.sh

  1. Shows if the AdminServer, Soa and OSB server is running plus the PIDs
  2. Shows if the NodeManager is running plus the PID

startNodeManager.sh
Starts the nodemanager

stopNodeManager.sh
Stops the nodemanager

startWeblogicAdmin.sh

  1. Checks first if the nodemanager is running
  2. Check if the AdminServer is already started
  3. Start the WebLogic Adminserver from the nodemanager

stopWeblogicAdmin.sh

  1. Checks first if the nodemanager is running
  2. Check if the AdminServer is running
  3. Stops the WebLogic Adminserver from the nodemanager