Configure a new resource environment provider

An example configuring a new resource environment provider follows:

  • Identify the parent ID and assign it to the node variable.

    set node [$AdminConfig  getid  /Cell:cellname/Node:nodename/]
    

    An example of this output follows:

    nodename(cells/cellname/nodes/nodename:node.xml#Node_1)
    

  • Identify the required attributes:

    $AdminConfig required ResourceEnvironmentProvider
    

    An example of this output follows:

    Attribute     Type
    name     String
    

  • Set up the required attributes and assign it to the repAttrs variable:

    set n1 [list name REP1]
    set repAttrs [list $name]
    

  • Create a new resource environment provider:

    set newrep [$AdminConfig create ResourceEnvironmentProvider $node $repAttrs]
    

    An example of this output follows:

    REP1(cells/cellname/nodes/nodename:resources.xml#ResourceEnvironmentProvider_1)
    

  • Save changes:

    $AdminConfig save
    


Configure custom properties for a resource environment provider using wsadmin
Configure a new referenceable using wsadmin
Configure a new resource environment entry using wsadmin

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.