-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration of Rundeck (Server Server DB) from Windows to Linux caused Quartz Scheduler misbehaving #9497
Comments
I think I should try this |
I have created the required indexes mentioned #1305 here for workflow_workflow_step and increased the JVM HEAP memory (Max 4GB and Min 1GB) and thread pool count (100) |
Have you tried to export and import your projects? |
No, I haven't tried it. I have terminated my older (windows) rundeck server and db belonging to this as well. |
Would give it try on the new instance. It's possible that missing db records would recreated while importing a project. |
Yes, it would recreate while using export/import feature of rundeck but currently I don't have previous server's database. |
Upon checking the logs for the service.log
|
I understood that. But why not try exporting the project in the new instance and importing it into a new project? |
After migrating the Rundeck server and database from Windows to Linux, the Quartz Scheduler is not triggering jobs at the appropriate time as defined in the cron schedules. This behavior was not present in the original Rundeck server on Windows.
1. Old Rundeck Server:
2. New Rundeck Server:
AWS Region: Both servers are running in the same AWS region: us-east-1
Steps to Reproduce
1.Migrate the Rundeck database from the old server (Windows) to the new server (Linux) using AWS DMS to avoid impacting the original database.
2. Confirm that the data, including job definitions, has been successfully migrated.
3. Start the new Rundeck server and enable job schedules and executions.
4. Observe that jobs do not get triggered as per their defined schedules.
Expected behavior
Jobs should trigger at the correct times based on the defined cron schedules. Most jobs are scheduled to the Asia/Kolkata timezone.
What I tried
Additional context
The migration steps were executed as follows:
1. Used AWS DMS to migrate the PostgreSQL database from rundeck (Windows) to rundeck2 (Linux).
2. Verified the data and job definitions were migrated successfully.
3. Despite these efforts, the Quartz Scheduler does not behave as expected, causing job execution failures to trigger.
4. Please let me know if additional configurations are required to troubleshoot this.
The text was updated successfully, but these errors were encountered: