Resource Type: websphere_federate

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

Overview

Manages the federation of WebSphere application servers with a cell.

By default, this resource expects that a data file will be available in Puppet’s ‘$vardir` containing information about the DMGR cell to federate with.

By default, this module’s ‘websphere::profile::dmgr` defined type will export a file resource containing this information. The application servers that have declared `websphere::profile::appserver` will collect that exported resource and place it under `$vardir/dmgr_$dmgr_host_$cell.yaml` For example: `/var/opt/lib/pe-puppet/dmgr_dmgr.example.com_cell01.yaml` This is all automatic behind the scenes.

To federate, the application server needs to know the DMGR SOAP port, which is included in this exported/collected file. Optionally, you may provide it as a parameter value if you’re using this resource type directly.

Essentially, the provider for this resource type executes ‘addNode.sh` to do the federation.

Properties

  • ensure (defaults to: present)

    Valid values: ‘present`, `absent`

    Defaults to ‘present`. Specifies whether this application server profile should be federated or not. Executes `addNode.sh` and `removeNode.sh` under the hood.

    Supported values:
    • present
    • absent
    • federated (alias for: present)

Parameters

  • cell

    Required. The name of the DMGR cell to federate with

  • dmgr_host

    Required. The dmgr host to federate with

  • node

    Required. The node name to federate

  • options

    Custom options to pass to addNode or removeNode.sh

  • password

    The password for federation (for addNode.sh)

  • profile (namevar)

    The profile to federate

  • profile_base

    The base directory that profiles are stored. Example: /opt/IBM/WebSphere/AppServer/profiles

  • provider

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

  • soap_port

    The soap port to connect to for federation

  • user (defaults to: root)

    User to run the federation commands with

  • username

    The username for federation (for addNode.sh)

  • wsadmin_pass

    Specifies the password for using ‘wsadmin’

  • wsadmin_user

    Specifies the username for using ‘wsadmin’