Overview

control a managed server or cluster state like running,stop,restart

Type for managed server control like start, running, abort and stop a managed server or a cluster. Also supports subscribe with refreshonly when you only want to execute the restart when something has changed.

Here is an example on how you should use this:

wls_managedserver{'JMSServer1_Wls1036:':
  ensure                    => 'running',   #running|start|abort|stop
  target                    => 'Server', #Server|Cluster
  server_name               => 'JMSServer1',
  domain_name               => hiera('domain_name'),
  os_user                   => hiera('wls_os_user'),
  weblogic_home_dir         => hiera('wls_weblogic_home_dir'),
  weblogic_user             => hiera('wls_weblogic_user'),
  weblogic_password         => hiera('domain_wls_password'),
  jdk_home_dir              => hiera('wls_jdk_home_dir'),
  adminserver_address       => hiera('domain_adminserver_address'),
  adminserver_port          => hiera('domain_adminserver_port'),
}

Here is an example with refreshonly. In this example, the restart will only be executed when the domain Wls1036 is changed. A restart will be executed.

wls_managedserver{'JMSServer1_Wls1036':
  ensure                    => 'restart',   #running|start|abort|stop
  target                    => 'Server',    #Server|Cluster
  server_name               => 'JMSServer1',
  domain_name               => hiera('domain_name'),
  os_user                   => hiera('wls_os_user'),
  weblogic_home_dir         => hiera('wls_weblogic_home_dir'),
  weblogic_user             => hiera('wls_weblogic_user'),
  weblogic_password         => hiera('domain_wls_password'),
  jdk_home_dir              => hiera('wls_jdk_home_dir'),
  adminserver_address       => hiera('domain_adminserver_address'),
  adminserver_port          => hiera('domain_adminserver_port'),
  refreshonly               => true,
  subscribe                 => Wls_domain['Wls1036'],
}

Attributes

Attribute Name Short Description
adminserver_address The adminserver address.
adminserver_port The adminserver port.
domain_name The weblogic domain name.
ensure Whether to do something.
jdk_home_dir The jdk home dir.
name The title.
os_user The weblogic operating system user.
provider resource.
refreshonly refresh mechanism for when a dependent object is changed.
server_name The adminserver name.
target The weblogic type.
weblogic_home_dir The weblogic home folder.
weblogic_password The weblogic user password.
weblogic_user The weblogic user.

adminserver_address

The adminserver address.

Back to overview of wls_managedserver

adminserver_port

The adminserver port.

Back to overview of wls_managedserver

domain_name

The weblogic domain name.

Back to overview of wls_managedserver

ensure

Whether to do something.

Valid values are start (also called running), stop (also called abort). Back to overview of wls_managedserver

jdk_home_dir

The jdk home dir.

Back to overview of wls_managedserver

name

The title.

Back to overview of wls_managedserver

os_user

The weblogic operating system user.

Back to overview of wls_managedserver

provider

The specific backend to use for this wls_managedserver resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.Available providers are:

wls_managedserver

Back to overview of wls_managedserver

refreshonly

The command should only be run as a refresh mechanism for when a dependent object is changed.

Valid values are true, false. Back to overview of wls_managedserver

server_name

The adminserver name.

Back to overview of wls_managedserver

target

The weblogic type.

Back to overview of wls_managedserver

weblogic_home_dir

The weblogic home folder.

Back to overview of wls_managedserver

weblogic_password

The weblogic user password.

Back to overview of wls_managedserver

weblogic_user

The weblogic user.

Back to overview of wls_managedserver