Edit Rename Changes History Upload Download Back to Top

MMS Deployment

The MMS is deployed as a number of headless VisualWorks processes. All of the processes use the same headless image into which they all load the same OSkMMS parcel. The startup parameters to the image specify the task of a particular image.

Setting up the runtime directory structure

Here we explain what needs to be done to set up a new host from scratch.

Set up users and groups

Set up the directory structure

The aim here is to have a directory structure that allows us to use the right VisualWorks VM with the right base image for the desired MMS system version.

Populate the directories

Make sure needed packages are installed

Creating the base headless image.

Here is how to make a base image within which the MMS can run. Note, a base image may well be good for several versions of the system. You'll only need to build a new mms.im image if there is a new version of VisualWorks, or you change the OSkMMSBaseImageElements bundle.

  1. Start a clean VisualWorks image using the target version of VisualWorks
  2. Load the version of the OS MMS DEVELOPMENT bundle you wish to build a base image for.
  3. Save the OSkMMSBaseImageElements bundle as a parcel.
  4. Close the image (no need to save it).
  5. Start another clean image (do not load Store or any other development tools into this image).
  6. Load the OSkMMSBaseImageElements parcel into the image. This will pull in all the prerequisite parcels needed by the MMS system.
  7. Evaluate: "MMSBootstrap makeHeadlessImageAndSaveAs: 'mms'". This will save a headless image called "mms.im". This is your new base image.
  8. Exit from the image without saving it.

Prepare the parcels and start script

Create the MMS.pcl and MMS.pst files:

  1. Start a clean VisualWorks image as before.
  2. Load the OS MMS DEVELOPMENT bundle you wish to deploy.
  3. Save the OSkMMS bundle as a parcel.

Edit Rename Changes History Upload Download Back to Top