Configuring the Edition Component

This task explains how to configure the Edition component.

This task shows you how to:

Configure the Hypervisor Service

You can configure the Hypervisor service, which is part of the Edition component.

  1. Edit the CATSevHypervisorService.conf file located in APACHE_PATH/webapps/3DSpace/WEB-INF/classes to define the list of available services.
  2. Define the following parameters:

    Key Value
    dataPath The directory containing compiled data for the Hypervisor service.
    serviceList The list of available services to be defined in Step 3.

  3. For each service, define the following parameters:

    Key Value
    protocol The communication protocol with the server.
    port The port number.
    host Either the server name or the IP address.
    name The service name.
    type One service type between:
    • Builder (for the Build service).
    • Deploy (a Deploy service must be defined for each Build service).
    • ExecNode (for the Run service).
    • Monitor (a Monitor service must be defined for the server where the Edition component is installed).

Example

The dataPath used in the following example is an example.

{
  "dataPath": "<HOME_USER>/SEV/hypervisorData",
  "serviceList": [
    { "protocol": "HTTP",
      "port": "10490",
      "host": "127.0.0.1",
      "name": "monitorServlet-local",
      "type": "Monitor" },
    {"protocol": "HTTP",
      "port": "10490",
      "host": "127.0.0.1",
      "name": "deployServlet-local",
      "type": "Deploy" },
    { "protocol": "HTTP",
      "port": "10490",
      "host": "127.0.0.1",
      "name": "execNodeServlet-local",
      "type": "ExecNode" },
    { "protocol": "HTTP",
      "port": "10490",
     "host": "127.0.0.1",
      "name": "buildServlet-local",
      "type": "Builder" }
  ]
}

Configure the Monitor Service

You can configure the Monitor service, which is part of the Edition component.

  1. Edit the CATSevMonitorService.conf file located in APACHE_PATH/webapps/3DSpace/WEB-INF/classes to define the list of available services.
  2. Define the following parameters:

    Key Value
    simulationTimeout The delay without monitoring after which the simulation processes automatically stops. The default value is 86400 seconds, which corresponds to a day.