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:
-
On the ribbon, go to Remote > Remote Server Configuration.
The Remote Server Configuration screen appears. -
Configure the remote server based on your requirement. Refer to the following table for field descriptions.
Section Option
Description
Local Configuration Server (IP) Specifies the IP address of the local host. Port Specifies the service port number for the remote scheduler. This field displays the default port number. Click Change to update the port number. Server Configuration Server Specifies 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.
Description Specifies the description for the remote server. Label Specifies the label color to categorize the server configuration. -
Once you have added remote server configuration, click Test.
The erwin DM Scheduler screen appears on a successful connection. -
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.
-
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:
- 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.
- The erwin DM Scheduler Event Details page appears.
- On the erwin DM Scheduler Event Details page, configure the following options.
Option
Description
Additional Information
Job Name Specifies the name of the job Job Status Displays the status of the job Label Specifies the color of the job label Start Date Specifies 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 Time Specifies the start time for a job End Date Specifies the end date for a job End Time Specifies the end time date for a job All day event Indicates whether it is an all day event Selecting this option disables the Start Time and End Time options. Schedule Now Indicates whether to schedule the job now Selecting this option disables the Start Time, Start Date, End Time, and End Date options and schedule the job now. Recurrence Specifies 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. Database Specifies the database for reverse engineering If you set Redshift as the database, ensure that you do the following:
- On the ODBC Data Source Administrator dialog box, go to the System DNS tab.
- Select the Redshift data source and click Configure. The Amazon Redshift ODBC Driver DSN Setup dialog box opens.
- Under Encrypt Password For, ensure that the All Users of This Machine check box is selected.
Version Specifies database version for reverse engineering Predefined List Displays a list of predefined databases for reverse engineering Reverse Engineer Specifies 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.
Remote Indicates whether to use a remote server for reverse engineering Predefined Server Configuration Displays the lists of predefined remote servers for reverse engineering Server New Port Specifies the port number for the remote server Remote Test Click this option to test the remote server connection - 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
Copyright © 2023 Quest Software, Inc. |