How to Set Up JobServer Professional Quickly Setting up JobServer Professional does not need to be a time-consuming process. By following a structured approach, you can have your central job scheduling system running efficiently in less than an hour. This guide covers the essential steps to get your environment ready, install the software, and execute your first automated task. Phase 1: Prepare Your Environment
Before launching the installer, ensure your system meets the core technical prerequisites to prevent installation errors.
Verify Java Runtime: JobServer Professional requires Java. Ensure JDK or JRE 11 or higher is installed and configured in your system path.
Allocate Ports: Open port 8080 for the web management console and port 4444 for agent communication.
Database Readiness: Prepare an empty database instance (PostgreSQL, MySQL, or Oracle) along with a user account holding read/write privileges. Phase 2: Core Installation
With your environment prepared, you can proceed to install the central server component.
Download the Package: Extract the JobServer Professional archive (.tar.gz or .zip) into your preferred installation directory, such as /opt/jobserver.
Configure Database Connections: Open the conf/context.xml or conf/jobserver.properties file. Input your database URL, username, and password.
Initialize the Schema: Navigate to the installation bin directory via your terminal. Run the initialization script: ./db-init.sh (Linux) or db-init.bat (Windows).
Start the Server: Launch the application using ./startup.sh or startup.bat. Phase 3: Initial Web Console Configuration
Once the server is running, you must complete the setup through the graphical user interface.
Access the UI: Open your web browser and navigate to http://localhost:8080/jobserver.
Set Admin Credentials: Log in using the default credentials (typically admin / admin) and immediately change the password when prompted.
License Activation: Go to Settings > License Management, upload your commercial license file, and click Activate. Phase 4: Deploy Agents and Run a Test Job
To execute tasks across your network, you need to connect execution agents to your central JobServer.
Download the Agent: Download the lightweight agent package from the central web console’s downloads section.
Configure Agent Connection: Edit the agent’s config.properties file to point to your main JobServer IP address.
Start the Agent: Run ./agent-start.sh on the target machine. Check the Agents tab in your web console to confirm it shows a “Connected” status.
Create a Test Job: Navigate to Job Definitions > New Job. Select Simple Command, enter echo “Hello World”, assign it to your new agent, and click Run Now.
Verify Results: Check the Job Monitor tab to confirm the status changes to “Success” and review the log output.
To help tailor any further troubleshooting or advanced configuration, please share:
Your target operating system (Windows Server, Red Hat, Ubuntu, etc.)
The specific database you plan to connect (PostgreSQL, MySQL, SQL Server)
The types of jobs you need to schedule (Shell scripts, Python, ETL packages)
Leave a Reply