Use the wsadmin tool with the AdminConfig object to enable Web Services Distributed Management (WSDM) in your environment. WSDM is an OASIS approved standard that supports managing resources through a standardized web service interface.
The WSDM application is installed as a system application and is disabled by default. In order to use the WSDM functionality, use the script in this topic to enable WSDM.
In a multinode environment, the management code runs across a distributed network of Java virtual machines with a central access point as the deployment manager process for the entire network or cell. Enable WSDM on the deployment manager to manage Java virtual machines within a cell. The WSDM application acts as an administrative client to the managed application server. You can manage the WSDM application from the application server on which it is deployed only.
deployment = AdminConfig.getid('/Deployment:WebSphereWSDM/') deployedObject = AdminConfig.showAttribute(deployment, 'deployedObject') targetMappings = AdminConfig.showAttribute(deployedObject, "targetMappings") mappings = targetMappings[1:len(targetMappings)-1].split(" ") for target in mappings: AdminConfig.modify(target, '[[enable true]]') AdminConfig.save()
set deployment [$AdminConfig getid /Deployment:WebSphereWSDM] set deployedObject [$AdminConfig showAttribute $deployment deployedObject] set targetMappings [lindex [$AdminConfig showAttribute $deployedObject targetMappings] 0] $AdminConfig modify $targetMappings {{enable true}} $AdminConfig save
In this information ...Related tasks
Related reference
| IBM Redbooks, demos, education, and more(Index) |