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.
Before you begin
Start the job manager if it is not running already.
To
submit the Stop cluster job, the deployment
manager 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.
About this task
You can use the administrative console of the job manager
or the deployment manager 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
- Click from the navigation tree of the administrative console.
- Choose a job to stop a cluster.
- Select the Stop cluster job type
from the list.
- Optionally specify a description of the job.
- Click Next.
- Choose the job targets.
- 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.
- 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.
- If user authentication is required, specify a user name,
password, or any other authentication values as needed.
- Click Next.
- Specify parameters for the stop cluster job.
- 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, myNode01, has
a cluster named cluster2 that you want to stop. Specify
the name:cluster2
- Optionally, for Timeout in minutes specify
the maximum number of minutes to wait for the cluster to stop before
returning the cluster state.
- Click Next.
- Schedule the job.
The times and dates that
you specify are relative to the job manager.
- 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.
- Select when the job is available for submission.
- Select the job expiration.
- 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.
- Click Next.
- 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 to see the resource status.
After stopping the
cluster, you can run the following jobs:
- Start cluster
- Delete cluster