Resource Type: websphere_node

Defined in:
lib/puppet/type/websphere_node.rb
Providers:
wsadmin

Overview

Manages the an “unmanaged” WebSphere node in a cell. For example, adding an IHS server to a cell.

In ‘wsadmin` terms using jython, this basically translates to the `AdminTask.createUnmanagedNode` task.

#### Example

websphere_node { ‘IHS Server’:

node         => 'ihsServer01',
os           => 'linux',
hostname     => 'ihs01.example.com',
cell         => 'CELL_01',
dmgr_profile => 'PROFILE_DMGR_01',
profile_base => '/opt/IBM/WebSphere/AppServer/profiles',
user         => 'webadmins',

}

Exported resource example

An IHS server can export a resource:

@@websphere_node { $::fqdn:

node     => $::fqdn,
os       => 'linux',
hostname => $::fqdn,
cell     => 'CELL_01',

A DMGR can collect it and append its profile information to it:

Websphere_node <<| cell == ‘CELL_01’ |>>

dmgr_profile => 'PROFILE_DMGR_01',
profile_base => '/opt/IBM/Websphere/AppServer/profiles',
user         => 'webadmins',

Properties

  • ensure (defaults to: present)

    Defaults to ‘true`. Specifies whether this node should exist or not.

    Supported values:
    • present
    • absent

Parameters

  • cell

    The cell that this node should be a part of.

    The purpose of this parameter is so that a DMGR instance can determine which nodes belong to it when collecting exported resources.

  • dmgr_host

    The DMGR host to add this node to.

    This is required if you’re exporting the node for a DMGR to collect. Otherwise, it’s optional.

  • dmgr_profile

    The dmgr profile that this node should be managed under Example: dmgrProfile01

  • hostname

    The hostname for the unmanaged node.

  • name (namevar)

    The name of the resource.

  • node

    The name of the node to manage. Defaults to the ‘name` parameter value.

  • os (defaults to: linux)

    The node’s operating system. Defaults to ‘linux’

  • profile_base

    The base directory that profiles are stored.

    Example: /opt/IBM/WebSphere/AppServer/profiles“

  • provider

    The specific backend to use for this ‘websphere_node` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • user (defaults to: root)

    The user to run ‘wsadmin’ with

  • wsadmin_pass

    The password for wsadmin authentication

  • wsadmin_user

    The username for wsadmin authentication