cancel
Showing results for 
Search instead for 
Did you mean: 

How can I update and start a configuration from the command line?

Support_Sydney
Moderator

How can I update and start a configuration from the command line?

How can I update and start a configuration from the command line?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Support_Sydney
Moderator

Re: How can I update and start a configuration from the command line?

How can I update and start a configuration from the command line?

This document describes how to use IRCMD command to update and start a configuration from the command prompt.
This is possible using the IRCMD program and requires you to create a file with the following format which you will then pass to ircmd as an input file:

START CONFIGURATION <Configuration Name>
TEXT
<Content of configuration but without the “SUBSYS” line
END_TEXT
END_CONFIGURATION

See KB Attachment "EXAMPLEONLY.txt" for an example of how a typical PROGNOSIS Configuration file would be configured.

Note: For <Configuration Name> just insert the appropriate configuration name. For the configuration content, it is important you remove the standard first line of the configuration I.e. SUBSYS PROGNOSIS. This is not needed because when using ircmd the configuration name is provided as part of the 'START CONFIGURATION' parameter. The Configuration content can be obtained by using the IRCNFUTL command, or from a previously saved copy (Refer to KB #2080 for ircnfutl steps)

Once this file is configured and uploaded to the location you can use the following syntax to run it:

HpNonStop:

RUN IRCMD <filename>

Windows:

Open the command prompt and navigate to the Configuration directory below your Prognosis installation, and then execute the following command:

..\IRCMD <filename>

Unix:

../ircmd <filename>

Advantages of using this method over “ircnfutl update_conf” is that this method is aimed at updating the configuration and starting it on a running PROGNOSIS system, whereas “ircnfutl update_conf” on a running system will update the configuration but will not start the configuration.

View solution in original post

1 REPLY 1
Support_Sydney
Moderator

Re: How can I update and start a configuration from the command line?

How can I update and start a configuration from the command line?

This document describes how to use IRCMD command to update and start a configuration from the command prompt.
This is possible using the IRCMD program and requires you to create a file with the following format which you will then pass to ircmd as an input file:

START CONFIGURATION <Configuration Name>
TEXT
<Content of configuration but without the “SUBSYS” line
END_TEXT
END_CONFIGURATION

See KB Attachment "EXAMPLEONLY.txt" for an example of how a typical PROGNOSIS Configuration file would be configured.

Note: For <Configuration Name> just insert the appropriate configuration name. For the configuration content, it is important you remove the standard first line of the configuration I.e. SUBSYS PROGNOSIS. This is not needed because when using ircmd the configuration name is provided as part of the 'START CONFIGURATION' parameter. The Configuration content can be obtained by using the IRCNFUTL command, or from a previously saved copy (Refer to KB #2080 for ircnfutl steps)

Once this file is configured and uploaded to the location you can use the following syntax to run it:

HpNonStop:

RUN IRCMD <filename>

Windows:

Open the command prompt and navigate to the Configuration directory below your Prognosis installation, and then execute the following command:

..\IRCMD <filename>

Unix:

../ircmd <filename>

Advantages of using this method over “ircnfutl update_conf” is that this method is aimed at updating the configuration and starting it on a running PROGNOSIS system, whereas “ircnfutl update_conf” on a running system will update the configuration but will not start the configuration.