[Name]
resethanet - Initializes the information of virtual interface configuration and reactivates a Redundant Line Control Function.
[Synopsis]
/opt/FJSVhanet/usr/sbin/resethanet -i | -s
[Feature description]
resethanet commands initializes the information of virtual interface configuration and reactivates a Redundant Line Control Function. The initialized configuration information is as follows.
The subnet mask information (the definition information set by hanetmask command)
The information of virtual interface configuration (the definition information set by hanetconfig command)
The monitor-to information (the definition information set by hanetpoll command)
The information of virtual gateway configuration (the definition information set by hanetgw command)
The setting information of the network monitoring function (the definition information set by hanetpathmon command)
The parameters set by hanetpoll on command, hanetparam command, hanetobserv param command are not initialized.
[Option]
Specify the following options:
Specify to initialize the information of virtual interface configuration. Do not specify this option except to stop using a Redundant Line Control Function during the operation, or to recreate the information of virtual interface configuration. If even one virtual interface is registered as cluster resources in the corresponding system, it is not possible to initialize.
Specify to reactivate a Redundant Line Control Function. This option validates changed content of the setting without rebooting a system when changed the information of virtual interface configuration. If RMS is activated at PRIMECLUSTER operation in a corresponding system, it is not possible to reactivate.
[Notes]
When the configuration information is initialized with the command, it cannot be returned to the original state prior to initialization.
Users are recommended to save the information using the hanetbackup command.
When you execute this command, please stop RMS beforehand.
If you execute the "resethanet -s" command during operation, all virtual interfaces are re-activated, which may cut off communication between user applications.
If a virtual bridge is connected to a virtual interface used in Virtual NIC mode, disconnect the bridge before executing this command.
The virtual interface on the Virtual NIC mode in the single system configuration cannot be restarted. When changing the setting of the activated virtual interface, deactivate it with the stphanet command and then activate it with the strhanet command.
In RHEL7 or later, execute the dsphanet command after executing the resethanet -s command to check if the status of virtual interface is displayed. If the status is not displayed, the Redundant Line Control Function may fail to restart. Execute the resethanet -s command again.
[Examples]
The following is an example of initialize the configuration information of a virtual interface.
# /opt/FJSVhanet/usr/sbin/resethanet -i |
The following is an example of reactivates a Redundant Line Control Function.
# /opt/FJSVhanet/usr/sbin/resethanet -s |