Configure a new resource environment entry
An example configuring a new resource environment entry follows:
- Identify the parent ID and assign it to the newrep variable.
set newrep [$AdminConfig getid /Cell:cellname/Node:nodename/ResourceEnvironmentProvider:REP1/]
An example of this output follows:
REP1(cells/cellname/nodes/nodename:resources.xml#ResourceEnvironmentProvider_1)- Identify the required attributes:
$AdminConfig required ResourceEnvEntry
An example of this output follows:
Attribute Type name String jndiName String referenceable Referenceable@- Set up the required attributes:
set name [list name REE1] set jndiName [list jndiName myjndi] set newref [$AdminConfig getid /Cell:cellname/Node:nodename/Referenceable:/] set ref [list referenceable $newref] set reeAttrs [list $name $jndiName $ref]- Create the resource environment entry:
$AdminConfig create ResourceEnvEntry $newrep $reeAttrs
An example of this output follows:
REE1(cells/cellname/nodes/nodename:resources.xml#ResourceEnvEntry_1)- Save changes:
$AdminConfig save
Configure custom properties for resource environment entries using wsadmin
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.