Prerequisites

Overview

Production Scheduler consists of the following:

  • An application server. Sage refer to this as the scheduler server. It is a Windows service.
    Production Scheduler is installed and runs on this server. This is also where the planning data is located and processed.
  • An IIS web server. This server hosts the Production Scheduler application front-end. This application is deployed on an IIS website, with HTTPS if necessary. You connect to your planning application through the IIS website on this server.
The application server and the web server must be on the same machine.

Prerequisites

System prerequisites

Before attempting to install Production Scheduler your system must meet the minimum configuration requirements described below. This is especially important for the Windows Management Framework (see table below), which is mandatory to execute the setup.

For higher performances, host Production Scheduler on a dedicated server.
Category Configuration requirements
Operating system

Microsoft Windows 2012 R2 64-bit with IIS 8 / 8.5

Microsoft Windows 2008 R2 64-bit with IIS 7.5

.NET framework 4.5.2, full package x64 (mandatory version)
Package manager

Nuget v2.8.5

To install nuget v2.8.5.208, launch the Windows PowerShell then execute the following command. Make sure you perform this as an administrator.

>> Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.208 -Force

Windows Management Framework (WMF)

5.0

This framework is required for the PowerShell® tools you will need to deploy the planning software components. Refer to this (Microsoft®) page for more details on this framework and on how to get it.

Disk space

300 MB for each running instance of Production Scheduler.

100 MB required for the .NET framework.


The disk space, the memory size, and the network bandwidth all depend on the amount of data in the production plan: number of work orders, operations, links, and resources. You need a minimum of dedicated memory for each user accessing Production Scheduler concurrently.

Below are some standard configurations for one Production Scheduler instance and one user. Use these as a starting point for your sizing analysis.

A Production Scheduler instance corresponds to a Sage X3 endpoint.
Number of operations in the plan CPU RAM RAM additional concurrent user Bandwidth Storage
Up to 4,000 2 vCPU XEON 2.2 (2.7) Ghz 4 GB 200 MB 450 Mbps 1 GB
Up to 8,000 2 vCPU XEON 2.5 (3.3) Ghz 8 GB 300 MB 750 Mbps 1.5 GB
Up to 16,000 4 vCPU XEON 2.8 (3.6) Ghz 12 GB 400 MB 1,000 Mbps 2 GB
More than 16,000 4 vCPU XEON 3.2 (3.6) Ghz 16 GB 600 MB 2,000 Mbps 4 GB


Disk bandwidth is not critical because it is only used during startup and when saving the plan (which is a background process).

The sequencing and scheduling processes compute intensive activities. The more data you have and the more complex your business model is, the faster the CPU and the more memory you need. The scheduling engines are not distributable therefore, the CPU frequency is more important than the number of CPUs.

Defining users

Sage X3 user

Open: Setup > Users > Users

You need a Sage X3 user (also called a classic user) for the installation. You define Sage X3 users in the Users function (GESAUS).

You can use the user delivered by default with Sage X3 (PLN). PLN is linked to the PLN menu profile and PLN function profile. Alternatively, you can create a dedicated user, based on the PLN user.

Sage X3 Web server user

Open: Administration > Administration > Users > Users

You need a Sage X3 Web user for the connection to the Web server. In this guide we call this Sage X3 Web user the Syracuse user.

This user is referred to as the Common Name (parameter -cn) in the certificate creation command, if you choose the client certificate authentication mode (refer to Client certificate authentication).

Follow the steps below to create a dedicated Syracuse user for Production Scheduler:

  1. Open the Roles function.
  2. Click New role, or go to an existing role that you want to use for Production Scheduler.

  3. Enter all requested information. Sage recommends the following:
    1. In the Badges section, use the ERPTRAN badge (for cost and performance reasons, as it is the lowest-level badge).
    2. In the Security profile section, use the User security profile.
  4. Open the Groups function.
  5. Click New group, or go to an existing group that you want to use for Production Scheduler.

  6. Enter all requested information. In the Roles section, make sure you select the role you are going to use for Production Scheduler.
  7. Open the Users function.
  8. Click New user.

  9. Enter all requested information, and:
    1. In the Administration section, make sure you select the group you are going to use for Production Scheduler.
    2. In the Endpoints login table:
      1. Make sure you select all the endpoints you want Production Scheduler to access.
      2. If the login of the Sage X3 user you are going to use for Production Scheduler (Setup > Users > Users) is:
        • The same as the Syracuse user, you do not need to specify a login.
        • Different from the Syracuse user, enter the Sage X3 user login that will be used to access the endpoint.
        • Reminder: Sage X3 user loginYou can find the Sage X3 user login in the Users function (GESAUS) > General section, Login field.

Client certificate authentication

You can install Production Scheduler in basic authentication mode, or in client certificate authentication mode.

If you decide to use client certificate authentication mode, you must perform the steps described in this section.

Prerequisites

  • The Sage X3 Web server must be correctly installed using load balancer mode.
  • The host certificate must be installed in the Certificates function (Administration > Administration > Certificates > Certificates). This should have been done during the Sage X3 installation process.

Enabling client certificate authentication

Open: Administration > Administration > Servers > Notification servers

To enable client certificate authentication you must configure a host that supports HTTPS, as follows:

  1. Select the host configuration. Click Edit to add a new connection.
  2. Enter the following values in the Connections table:
  3. Port. 8443 (or any other suitable value).

    Active. True (select the check box).

    SSL. True (select the check box).

    Client authentication. True (select the check box).

    Server certificate. Enter the certificate created during the Sage X3 installation.

Creating a client certificate

  1. Open a command prompt.
  2. Go to the cert_gen folder in the installation directory of the Web server.
  3. Use the certgen tool to generate a certificate using the following command:

    certgen -create -pass pwd_to_use -capass pwd_ca -cn login_em -days 730 -notransfer certificate_name

    Where:

    pwd_to_use is the password for the certificate you are creating.

    pwd_ca is the passphrase for the CA certificate used during host configuration.

    login_em is the common name, that is, the Syracuse user.

    certificate_name is the name of the certificate you are creating.

  4. Combine the .crt and the .key files in a .pfx file (pkcs12 format) by running the following command:

    openssl pkcs12 -export -out certificate_name.pfx -inkey certificate_name.key -in certificate_name.crt

    You must have OpenSSL installed on your computer for this step.
  5. If you have curl installed on your computer you can test the certificate using the following command:

    curl -v -s -k --cert certificate_name.crt:pwd_to_use --key certificate_name.key https://x3-web-server:8443/api1/syracuse/collaboration/syracuse/users

    If everything was correctly configured you should have 200 status in the output.

If you ever have to enable client certificate authentication after the Production Scheduler installation (or if the installation fails), you can refer to the PlannerOne documentation available in the <installation_path>\<version>\docs\Install folder. Follow the steps described in the Settings for certificate authentication chapter of the howto_deploy page.

HTTPS connection on the IIS server

If you want to have an HTTPS connection on the IIS server, you must first generate the SSL certificate, or obtain it from a trusted certificate authority. You must then place it in the IIS server personal store.

For security reasons it is recommended that you enable the HTTPS connection.