Regenerating the node plug-in configuration using scripting

 

Regenerating the node plug-in configuration using scripting

Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.

Perform the following steps to regenerate the node plug-in configuration:

  1. Identify the plug-in and assign it to the generator variable, for example: Using Jacl:
    set generator [$AdminControl completeObjectName type=PluginCfgGenerator,node=mynode,*]
    Using Jython:
    generator = AdminControl.completeObjectName('type=PluginCfgGenerator,node=mynode,*')

  2. Regenerate the node plug-in: Using Jacl:
    $AdminControl invoke $generator generate "profile_root/config mycell mynode myWebServer false"
    Using Jython:
    AdminControl.invoke(generator, 'generate', "profile_root/config mycell mynode myWebServer false")

    where profile_root is the directory that contains your profile. The default value is /QIBM/UserData/WebSphere/AppServer/V6/Base/profiles/profileName for WebSphere Application Server and WebSphere Application Server Express, and /QIBM/UserData/WebSphere/AppServer/V6/ND/profiles/profileName for WebSphere Application Server Network Deployment.




Related concepts
AdminControl object for scripted administration

Related reference
Commands for the AdminControl object