Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1

[Contents][Glossary][Index][Back][Next]


13.2 Environment setting parameter settings

This section describes how to change common definition information that has already been registered.

You can use the following methods to change the common definition information that has already been registered:

For details about the environment setting parameter settings necessary for registration in the common definition information, see 2. Environment Setting Parameters in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 2.

The following describes how to use each method.

Organization of this section
(1) Using the jajs_config command
(2) Using the jbssetcnf command

(1) Using the jajs_config command

To use the jajs_config command to change the settings in the common definition information:

  1. Stop the JP1/AJS3 service.
    Execute the following commands to confirm that all processes have stopped:
     
    # /etc/opt/jp1ajs2/jajs_stop#1
    # /opt/jp1ajs2/bin/jajs_spmd_status
     

    #1:
    Confirm that automatic termination has been set.
  2. Change the settings in the common definition information.
    Use the following command to specify new environment setting parameter settings in the common definition information:
     
    jajs_config[Figure]-k[Figure]definition-key[Figure]"parameter-name-1"=value-1[Figure]["parameter-name-2"=value-2] ...
     

    Legend:
    [Figure]: One-byte space

    Example:
    jajs_config -k [JP1_DEFAULT\JP1AJSMANAGER\AJSROOT1] "LOGSIZE"=dword:00002800 "AJSLOG"="all"
     
  3. Restart JP1/AJS3.
    The changes in the common definition information are applied to JP1/AJS3.

(2) Using the jbssetcnf command

To use the jbssetcnf command to replace the settings in the common definition information with new settings specified in a configuration file:

  1. Stop the JP1/AJS3 service.
    Execute the following commands to confirm that all processes have stopped:
     
    # /etc/opt/jp1ajs2/jajs_stop#1
    # /opt/jp1ajs2/bin/jajs_spmd_status
     

    #1:
    Confirm that automatic termination has been set.
  2. Create a configuration file that contains the new settings.
    Use a text editor such as vi to create a configuration file that contains the additional or new environment setting parameter settings.
    Assign any name to the configuration file.
    The following shows an example of specifying settings in the configuration file.
    In this example, the environment setting parameter settings shown in the following table will be used.
    Definition key Parameter Value
    [JP1_DEFAULT\JP1AJSMANAGER\AJSROOT1] "LOGSIZE"= 00002800 (hexadecimal)
    "AJSLOG"= "all"
     
    To specify the above settings, create a configuration file as follows:
     
    [JP1_DEFAULT\JP1AJSMANAGER\AJSROOT1]
    "LOGSIZE"=dword:00002800
    "AJSLOG"="all"
     
  3. Save the configuration file.
  4. Change the common definition information.
    Execute the following command, which will change the common definition information based on the specified configuration file:
     
    jbssetcnf configuration-file
     
    The jbssetcnf command is located in the /opt/jp1base/bin/jbssetcnf directory.
  5. Restart JP1/AJS3.
    The changes in the common definition information are applied to JP1/AJS3.

[Contents][Back][Next]


[Trademarks]

Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.