5 Creating and Editing Jobs

This chapter describes how to use Enterprise Manager to create and edit jobs for the Sybase ASE target.

Follow the steps below to create and edit jobs:

  1. From the Enterprise menu, select Job, then click Activity.

  2. On the Job Activity page, select a job type from the Create Job menu and click Go. Select one of the following:

    • Startup Sybase ASE

      • Performs a Startup of the Sybase Adaptive Server Enterprise.

      • When Sybase ASE is shut down, the Startup job icon will be accessible in the Summary section of the Target Home page

      • Requires the STARTSERVER and the RUNFILE environmental variables to be set correctly on the Sybase ASE host.

      Note:

      For Windows systems, the Startup Sybase ASE job requires that the SYBSERVICE environment variable be set to the name of the Sybase Service. For example:
      SYBSQL_NODS16WIN12.
      
    • Shutdown Sybase ASE

      • Performs a Shutdown of the Sybase Adaptive Server Enterprise.

      • When Sybase ASE is running, the Shutdown job icon will be accessible in the Summary section of the Target Home page.

      • Requires Admin Sybase ASE Credentials to be configured as a Preferred Credential.

    Note:

    All jobs available for the Sybase ASE plug-in are only available when the plug-in is set up for local monitoring of the database. Preferred Credentials are required to be set for use.
  3. In the General tab of the Create <Job Type> Job page, provide a name for the job and add the individual targets or one composite target such as a Group. If you are editing a job, then modify the job name and the selected targets.

  4. These jobs do not require and parameters to be set in the Parameters tab of the Create <Job Type> Job page.

  5. In the Credentials tab of the Create <Job Type> Job page, select an appropriate option for credentials.

    You can choose to use the preferred credentials that are already set or override the preferred credentials with new credentials. In either case, you need to provide the credentials for agent host and database host.

    To set the preferred credentials, click Preferences at the top-right corner of the Cloud Control console. From the left-vertical navigation bar, click Preferred Credentials. Cloud Control displays the Preferred Credentials page. On this page, you can set the preferred credentials.

  6. In the Schedule tab of the Create <Job Type> Job page, schedule the job.

  7. In the Access tab of the Create <Job Type> Job page, define or modify the access you want other users to have to this job.

  8. Click Submit to create the job.

Note:

To enable use of the Job buttons found in the Summary section of the Target home page, be sure to set the Preferred Credentials for the Sybase Adaptive Server Enterprise target type.