Network Deployment (Distributed operating systems), v8.0 > Set up the application serving environment > Administer nodes and resources > Administer nodes remotely using the job manager > Submit jobs > Submit jobs to manage servers


Stop clusters using the job manager

In a flexible management environment, you can submit the Stop cluster job to stop a running cluster that is on a managed target of the job manager.

Start the job manager if it is not running already.

To submit the Stop cluster job, the dmgr node on which the cluster resides must be a managed target of the job manager. The cluster must be running.

Your ID at the job manager must be authorized for the administrator role or the operator role to submit jobs. When you submit a job, you can specify a user name and password for authentication and authorization at the target or targets. When you submit a job to multiple targets, the user name and password or the credentials for the submitter must be applicable to all the job targets.

We can use the admin console of the job manager or the dmgr to stop clusters on one or more managed targets. From the console, choose the Stop cluster job, specify job options, review the summary, and submit the job.

Instead of using a console, you can run the stopCluster job script in the AdministrativeJobs command group. See the Administrative job types topic.


Procedure

  1. Click Jobs > Submit from the navigation tree of the admin console.

  2. Choose a job to stop a cluster.

    1. Select the Stop cluster job type from the list.

    2. Optionally specify a description of the job.

    3. Click Next.

  3. Choose the job targets.

    1. Select a group of targets from the list, or select Target names.

      Only groups of targets that are valid for the job type that you selected are displayed in the list of target groups.

    2. If you selected Target names, then specify a target name and click Add, or click Find and specify the chosen targets on the Find targets page.

    3. If user authentication is required, specify a user name, password, or any other authentication values as needed.

    4. Click Next.

  4. Specify parameters for the stop cluster job.

    1. For Cluster name, specify the name of cluster to stop.

      To see the names of existing clusters on the targets, click Find on the Specify job parameters page. On the Find target resources page, specify the targets and click Find. For example, suppose a managed target, node1, has a cluster named cluster2 to stop. Specify the name:

      cluster2
      

    2. Optionally, for Timeout in minutes specify the maximum number of minutes to wait for the cluster to stop before returning the cluster state.

    3. Click Next.

  5. Schedule the job.

    The times and dates that you specify are relative to the job manager.

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

      If you specify multiple email 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 targets run the job and attempt to stop the cluster.


What to do next

On the Job status page, click the ID of the stop cluster job and view the job status. Click the status refresh icon to refresh the displayed 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, the status on the Target resources page of the cluster is Stopped. Click Jobs > Target resources > resource_name to see the resource status.

After stopping the cluster, you can run the following jobs:


Set up a job manager environment
Start and stop the job manager
Start and stop the dmgr
Start and stop a node
Create clusters using the job manager
Check job status
Delete clusters using the job manager
Start clusters using the job manager


Related


Administrative job types using wsadmin.sh
Find targets
Find target resources
Target resources collection

+

Search Tips   |   Advanced Search