Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
Perform the following steps to configure a new resource environment provider:Steps for this task
Using Jacl:
set node [$AdminConfig getid /Cell:mycell/Node:mynode/]
node = AdminConfig.getid('/Cell:mycell/Node:mynode/') print node
mynode(cells/mycell/nodes/mynode|node.xml#Node_1)
Using Jacl:
$AdminConfig required ResourceEnvironmentProvider
print AdminConfig.required('ResourceEnvironmentProvider')
Attribute Type name String
Using Jacl:
set n1 [list name REP1] set repAttrs [list $name]
n1 = ['name', 'REP1'] repAttrs = [n1]
Using Jacl:
set newrep [$AdminConfig create ResourceEnvironmentProvider $node $repAttrs]
newrep = AdminConfig.create('ResourceEnvironmentProvider', node, repAttrs) print newrep
REP1(cells/mycell/nodes/mynode|resources.xml#ResourceEnvironmentProvider_1)
Related concepts
AdminConfig object for scripted administration
Related reference
Commands for the AdminConfig object