Hulenv restore commands

To restore the fields of the System Environment Settings (also called 'hulenv') that are used by HULFT daemons, use the hulenv restore commands for each daemon.

Each of these commands acquires from the specified file the fields of the System Environment Settings that each daemon uses.

Send Hulenv Restore command

hulclustersnd -set [-f infilename] [-m] [-timeout timeout]

Receive Hulenv Restore command

hulclusterrcv -set [-f infilename] [-m] [-timeout timeout]

Observe Hulenv Restore command

hulclusterobs -set [-f infilename] [-m] [-timeout timeout]

Parameter explanation

-f infilename

Restoration file name (optional)

Specify an alphanumeric string within 256 bytes. For the file name, specify using the absolute path.

You cannot specify '-m' or '-timeout' for the file name in 'infilename.'

If you omit this parameter, the System Environment Settings file (hulenv.conf) is used.

Note

If you restore the settings by specifying '-f infilename,' the setting values that you restore are not reflected in the System Environment Settings file (hulenv.conf).

After the daemon is restarted or a failover occurs, the setting values that you changed return to their original values.

-m

Display of error messages (optional)

The command outputs error messages.

If you omit this parameter, the command outputs only the message of the argument check error.

-timeout timeout

Send daemon response time-out (sec.) (optional)

Specify a value from '10' to '3600.' When the specified time elapses, even if the restoration processing for the Send daemon is not completed, the command returns control. Note that in this case, the command does not return the result of the System Environment Settings restoration processing.

If you omit this parameter, '10' is set.

Points to be noted

If you started the daemon with arguments, you can change the values by reconfiguring (restoring) the values. Restore the values carefully to prevent unintentional changes in the values used by the active daemon.

Remarks

  • If you specify "1" for any message level (I, W, E) in Output to Trace Log (tracelog), you must restore the setting for Trace Output File Name (tlogfile).

  • Even if the restoration file contains a field that cannot be restored, no error occurs. In this case, only the fields that can be restored are used.