Scheduling Remote Jobs

You can schedule reverse engineering jobs on a remote server using the scheduler. Before scheduling a remote job, ensure that you configure your remote server.

Configuring Remote Server

You can use erwin DM Scheduler to schedule reverse engineering (RE) jobs on a remote instance of erwin Data Modeler. You can configure multiple remote machines as servers and set up jobs to run in parallel on these servers. This saves time and provides you with an improved performance by distributing reverse engineering jobs across multiple servers.

To use remote servers to run RE jobs, ensure that:

  • the remote server is running
  • the remote server configuration is set up on your local Scheduler
  • the local server configuration is set up on your remote Scheduler

To set up remote server configuration, follow these steps:

  1. On the ribbon, go to Remote > Remote Server Configuration.
    The Remote Server Configuration screen appears.

  2. Configure the remote server based on your requirement. Refer to the following table for field descriptions.

    Section

    Option

    Description

    Local ConfigurationServer (IP)Specifies the IP address of the local host.
    PortSpecifies the service port number for the remote scheduler. This field displays the default port number. Click Change to update the port number.
    Server ConfigurationServerSpecifies the IP address of the remote server.
    Port

    Specifies the port number for remote server.

    Ensure that the remote server is running before testing the connection.

    DescriptionSpecifies the description for the remote server.
    LabelSpecifies the label color to categorize the server configuration.

  3. Once you have added remote server configuration, click Test.
    The erwin DM Scheduler screen appears on a successful connection.

  4. Click Add.
    The remote server configuration is added to the list of remote servers.

    Once you have set up a remote server configuration, use one of the following options:

    • New: Use this option to set up another remote server. Selecting this option resets any information entered on the screen.
    • Save: Use this option to save any changes to selected remote server configuration.
    • Delete: Use this option to delete any selected remote server configurations.
    • Import: Use this option to import an existing remote server configuration. Select a server and click Import. This imports the This option is available when server information is configured under Server Configuration section.

      The import replaces the existing server configuration with the latest configuration.

  5. Once you have set up a remote server configuration, use one of the following options:

    • New: Use this option to set up another remote server. Selecting this option resets any information entered on the screen.
    • Save: Use this option to save any changes to selected remote server configuration.
    • Delete: Use this option to delete any selected remote server configurations.
    • Import: Use this option to import an existing remote server configuration. Select a server and click Import. This imports the remote server and replaces the existing remote server configurations.

      The import replaces the existing server configuration with the latest configuration.

    Click OK.
    Remote server configuration is saved and is available in the Predefined Server Configuration list on the erwin DM Scheduler Event Details screen.

Once you have set up remote servers, to use them, on the ribbon, in the Remote group, click either of the following options:

  • Start Remote Services: Use this option start a remote service.
  • Stop Remote Services: Use this option to stop a remote service.

Scheduling Remote Jobs

Before scheduling a remote job, ensure that you start scheduler services and remote services on both, local and the remote instances of erwin DM Scheduler:

  • To start a service, on the ribbon, under the Home tab, click Start Service option in the Services group.
  • To start a remote service, on the ribbon, under the Home tab, click Start Remote Service option in the Remote group.

To schedule remote reverse engineering (RE) jobs, do the following:

  1. Create an event in one of the following ways:
    • On the ribbon, under the Home tab, click New.
    • In the Calendar view, double-click a time slot under the day of your choice.
    • In the Calendar view, right-click a time slot under the day of your choice and click Add new event.
  2. The erwin DM Scheduler Event Details page appears.

  3. On the erwin DM Scheduler Event Details page, configure the following options.

    Option

    Description

    Additional Information

    Job NameSpecifies the name of the job 
    Job StatusDisplays the status of the job 
    LabelSpecifies the color of the job label 
    Start DateSpecifies the start date for a job
    • Jobs are run serially. Hence, schedule a reasonable job duration. Ensure that you consider the DB, its size, and the approximate job duration of the current jobs, and then schedule a new job accordingly.
    • Also, in case of multiple jobs scheduled at the same time with the Schedule Now option, it randomly selects a job to run. Therefore, it is recommended that you do not schedule multiple jobs to run at the same time.
    Start TimeSpecifies the start time for a job 
    End DateSpecifies the end date for a job 
    End TimeSpecifies the end time date for a job 
    All day eventIndicates whether it is an all day eventSelecting this option disables the Start Time and End Time options.
    Schedule NowIndicates whether to schedule the job nowSelecting this option disables the Start Time, Start Date, End Time, and End Date options and schedule the job now.
    RecurrenceSpecifies whether to schedule a job on recurrence bases for the jobs that you do repeatedly. This opens the Scheduling Recurrence page.To schedule a recurrence job, refer to the Setting Recurrence topic.
    DatabaseSpecifies the database for reverse engineering

    If you set Redshift as the database, ensure that you do the following:

    1. On the ODBC Data Source Administrator dialog box, go to the System DNS tab.
    2. Select the Redshift data source and click Configure. The Amazon Redshift ODBC Driver DSN Setup dialog box opens.
    3. Under Encrypt Password For, ensure that the All Users of This Machine check box is selected.
    VersionSpecifies database version for reverse engineering 
    Predefined ListDisplays a list of predefined databases for reverse engineering 
    Reverse EngineerSpecifies reverse engineering options for connecting with the selected database. The Reverse Engineering Wizard appears.

    On the Reverse Engineering Wizard, click Connections to set up database connections. For more information on database specific connection parameters, refer to the Database Connection Parameters topic.

    You can also configure the reverse engineering options available on the wizard. For more information, refer to the Setting Reverse Engineering Options topic.

    RemoteIndicates whether to use a remote server for reverse engineering 
    Predefined Server ConfigurationDisplays the lists of predefined remote servers for reverse engineering 
    Server New  
    PortSpecifies the port number for the remote server 
    Remote TestClick this option to test the remote server connection  
  4. Click OK.
    Your RE job is scheduled. It runs as configured, and the job status and its event log is displayed.

    Depending on the settings you make and the job duration that you set, the job tile displays the following information about the job:
    • Name
    • Status
    • Start and end times
    • Run time