Delete proxy servers using the job manager

We can submit the Delete proxy server job to remove a server from the flexible management environment. The job can delete a proxy server from a stand-alone server or a federated node of a dmgr.

Start the job manager and the target nodes. If a target node is a stand-alone appserver, also start the administrative agent. To submit the Delete proxy server job, the target node must support proxy servers.

Each proxy server to delete must be a managed resource of the job manager.

Use the admin console of the job manager to delete a proxy server from one or more managed nodes. From the job manager console, choose the Delete proxy server job, specify server and job options, review the summary, and submit the job.

The job stops the proxy server, if it is running, and removes the proxy server from the flexible management environment.

Instead of using the job manager console, we can run the deleteProxyServer job script in the AdministrativeJobs command group. See the Administrative job types topic.

 

  1. Click Jobs > Submit from the navigation tree of the job manager administrative console.

  2. Choose a job to delete a proxy server.

    1. Select the Delete proxy server job type from the list.

    2. Optionally specify a description of the job.

    3. Click Next.

  3. Choose the job targets from which to delete the proxy server.

    1. Select a group of nodes from the list, or select Node names.

    2. If you selected Node names, then specify a node name and click Add, or click Find and specify the chosen nodes on the Find nodes page.

    3. If user authentication is required, specify the user name and password.

    4. Click Next.

  4. Specify parameters for the delete proxy server job.

    1. For Server name, specify the name of the proxy server to delete. To see the names of existing servers on the target nodes, click Find on the Specify job parameters page. On the Find node resources page, specify the target nodes and click Find. For example, suppose a managed node, myNode01, has a server named proxy_server_2 to delete. Specify the server name:
      proxy_server_2
      

    2. If the target node is in a WAS, ND cell, specify the node name in the cell from which to delete the server.

      You do not have to specify the node name for a base (stand-alone) node. For example, suppose the managed node, myNode01, is a federated node in a WAS, ND cell. Specify the node name:

      myNode01
      

    3. Click Next.

  5. Schedule the job.

    1. Optionally specify one or more e-mail addresses where notifications are sent when the job finishes.

      If you specify multiple e-mail addresses, separate them with commas.

    2. Select when the job is available for submission.

    3. Select the job expiration.

    4. Optionally specify a recurring interval for the job, a start date and time for the interval, and an end date and time for the interval.

    5. Click Next.

  6. Review the summary, and click Finish to submit the job.

 

Results

The target nodes run the job and attempt to delete a proxy server.

 

Next steps

On the Job status page, click the ID of the delete proxy server job and view the job status. If the job is not successful, view any error messages that result from running the job, correct the error condition, and submit the job again.

If the job is successful, click Jobs > Node resources. The names of deleted servers are not in the list of resources.



Related tasks
Starting and stopping the job manager
Starting and stopping the admin agent
Check job status
Create proxy servers using the job manager

Related reference
Administrative job types using wsadmin scripting
Find nodes
Find node resources
Node resources collection

   



Last updated Nov 10, 2010 8:23:07 PM CST