Planning and Scheduling Optimization Integration (SCH360) - Maintenance

This document describes some pre- and post- activities needed during maintenance of IFS Applications that has the Planning and Scheduling Optimization (PSO) Integration.

When to use this information:

Use this guide during maintenance activities of IFS Applications (e.g., delivery installation, database cloning, oracle patch installation, etc) where the IFS Middleware Server requires a restart. This guide is only applicable if the customer has IFS PSO Integration installed.

Note: 360 Scheduling is renamed to Planning and Scheduling Optimization (PSO), and therefore some artifacts containing the string 360 still occur in this documentation.

Contents

Before Starting the Maintenance Activity

Before starting the maintenance activity, the scheduled tasks for Load and Change messages for the dataset must be deactivated and all messages in the PSO_REQUEST queue must have been processed (i.e., status is Finished). To do so

  1. Go to the Scheduled Database Tasks window and search for the respective schedule. You can search for '%Load%' and '%Change%'.
  2. Right-click on the respective schedule and click View Schedule.
  3. On the detailed window click the View background jobs for this Task link and verify that all background jobs have been processed.
  4. Next in the Explore Application Messages verify that the PSO_REQUEST queue does not have any pending messages to be processed (all messages should display the status Finished).
  5. Once verified go back the detail window of the Schedule Task (step 3) and unselect the Active check box. Note: Steps 1-5 has to be done for all Load and Change database tasks.

You can now proceed with your maintenance activity.

After the Maintenance Activity

Once the maintenance activity is complete and IFS Middleware Server is restarted follow the steps below:

  1. Activate the scheduled task for the Load message (on the detailed window for the Load scheduled task select the Active check box). Note: Do not activate the scheduled task for the Change message.
  2. Execute the schedules task for the Load message; right-click on the scheduled task and click Run. There should be an Application Message entry against the PSO_REQUEST queue, and the message should be in the state Finished.
  3. Open the Scheduling Workbench window and login to the Planning and Scheduling Optimization using the credentials for the admin user.
  4. Go to Workspace (Administration), click on the System tab and click Events. Check that there are no errors.
  5. Click Workbench and in the dialog that opens select Messages and verify that messages are coming into iSWB on a minutely basis.
  6. Next login to the server where Planning and Scheduling Optimization is installed, open the Event Viewer and check that there are no errors registered under the windows services related to PSO.
  7. Go back to IFS Enterprise Explorer and check the application messages under the PSO_RESPONSE queue. There should be a message per minute (approximately).
  8. Go to the Scheduled Work Tasks window and query for records. If there are no records in the wondow, the PSO_RESPONSE messages have failed to process.
  9. Next on the same window, select a work task that is allocated through the iSWB (i.e., a work task where there is a value against the Resource ID column and the Scheduling Status is set to Allocated.
  10. Right-click on the selected work task and click Work Task.... On the Work Task window, right-click and click Appointment Booking.
  11. On the Appointment Booking window you will receive the message asking if you want to rebook the appointment. Click OK. Verify that the window shows available slots and click Exit. Note: This step is to verify that all services are running correctly, therefore do not click the Accept button.
  12. Next activate the schedule task for the Change message, run the task, and confirm the task executed successfully.