Administer > System configuration parameters > Enter a parameter in sm.cfg or the server’s OS command prompt

Enter a parameter in sm.cfg or the server’s OS command prompt

Applies to User Roles:

System Administrator

You can enter client and server parameters in the server's sm.cfg file or operating system command line. When you do this, prefix each parameter with a space and a dash (-).

To enter a parameter in sm.cfg or the server’s operating system command prompt, follow these steps:

  1. Open the operating system command prompt, and then navigate to the directory in which the Service Manager executable file is located. By default, the file is located in the C:\Program Files\Micro Focus\Service Manager <x.xx>\Server\RUN folder.

    Alternatively, open the <SM installation path>\Server\RUN\sm.cfg file in a text editor.

  2. Type the command and the parameters, as demonstrated in the following examples:
    • One parameter

      sm -<parameter_name>:<parameter_value>

    • Multiple parameters

      sm -<parameter_name>:<parameter_value> -<parameter_name>:<parameter_value>

Setting startup parameters from the server's operating system command prompt

Startup parameters that you set by using the server's operating system command prompt must always follow the sm command. Precede startup parameters with a dash (-) when you call them from the command line.

When you call a startup parameter from the server's operating system command prompt, use the following syntax:

C:\<installation directory>\RUN>sm -<start up parameter>:<setting>

For example, you type the following command:

C:\Program Files\Micro Focus\ Service Manager\Server\RUN>sm -httpPort:12345

Related topics

System configuration parameters
System parameters
Web tier parameters

Related topics

Enter a parameter in the sm.ini file
Enter a parameter in the web client URL
Enter a parameter in the web.xml file
View parameters by function