< Previous | Next >

Lesson 2.2: Customize and configure the eXtreme Scale server

Use this lesson to customize and add the server properties to the WebSphere® eXtreme Scale server.

  1. Edit the wxs_sample_osgi_root/projects/server/properties/collocated.server.properties file.
    1. Change the traceFile property to equinox_root/logs/trace.log.
  2. Save the file.
  3. Enter the following lines of code in the OSGI console to create the server configuration from the file. The following example is displayed on multiple lines for publication purposes.
    osgi> cm create com.ibm.websphere.xs.server
    osgi> cm put com.ibm.websphere.xs.server objectgrid.server.props 
    wxs_sample_osgi_root/projects/server/properties/collocated.server.properties
  4. To view the configuration, run the following command:
    osgi> cm get com.ibm.websphere.xs.server
    Configuration for service (pid) "com.ibm.websphere.xs.server"
    (bundle location = null)
    key                      value
    ----                     ----
    objectgrid.server.props  wxs_sample_osgi_root/projects/server/properties/collocated.server.properties
    service.pid              com.ibm.websphere.xs.server

Lesson checkpoint

In this lesson, you edited the wxs_sample_osgi_root/projects/server/properties/collocated.server.properties file to specify server settings, such as the working directory and the location for the trace log files.

< Previous | Next >