To load a configuration file on an InfoHub from the shell, execute a command like:
$ $gtm_dist/mumps -run InfoHub --action=configure --file=<ConfigFileName> [--verbose[=filename]]
$$configure^InfoHub("InfoHubID","/path/to/ConfigFileName")
![]() | InfoHub Internals |
---|---|
As IDs, and possibly Names, may have meaning for tools that report on ^InfoHubInfo data, the Infohub configuration processing rejects attempts to change the association between an ID and a Name. A user with sufficient understanding of, and access to, the InfoHub database can change such associations programmatically using GT.M code. |
$ $gtm_dist/mumps -run InfoHub --action=configure --file=samples/SimpleMonitor.conf
This example uses the CLI for InfoHub to load an InfoHub Configuration File.
GTM>if $$configure^InfoHub("","samples/SimpleMonitor.conf")
This example loads the server1.conf Configuration File on InfoHub.
GTM>if $$configure^InfoHub("","samples/SimpleMonitor.conf") Loading the configuration file samples/SimpleMonitor.conf GTM>if $$configure^InfoHub("","samples/SimpleMonitor.conf") Loading the configuration file samples/SimpleMonitor.conf Configuration unchanged GTM>
This example attempts to load the same SimpleMonitor.conf twice using 7421 as the InfoHub ID.