jpcconf hc enable
- Organization of this page
Format
jpcconf hc enable
Function
The jpcconf hc enable command enables the health check function. When a logical host environment has been created for PFM - Manager, the command enables the health check function of PFM - Manager in the logical host environment.
Hosts that can execute the command
-
PFM - Manager
Execution permission
- In Windows:
-
User with Administrators permissions
- In UNIX:
-
User with root user permissions
Installation directory
- In Windows:
-
installation-folder\tools\
- In UNIX:
-
/opt/jp1pc/tools/
Arguments
None
Notes
-
You cannot execute this command if a Performance Management service is running on the physical host or a logical host.
-
You cannot enable the health check function when the status management function is not enabled on the physical host on which you execute the command.
-
If you enable the health check function, the health check agent starts at the same time that PFM - Manager starts.
-
If the health check function is enabled for PFM - Manager on the logical host environment, the jpcconf ha export command needs to be used to export the logical host environment definition, and the jpcconf ha import command needs to be used to import it to the standby host.
-
If the monitoring is suspended, the health check function can be enabled but the monitoring remains suspended.
Return values
0 |
The command ended normally. |
1 |
An argument is specified incorrectly. |
2 |
The user does not have execution permission for the command. |
4 |
The services on the PFM - Manager host have not stopped. |
5 |
The command is executed on a host that is not the PFM - Manager host. |
10 |
The command is being executed. |
11 |
Processing was canceled by the user or the system. |
100 |
The Performance Management environment is invalid. |
101 |
The status management function is not enabled. |
200 |
A memory shortage occurred. |
211 |
The file or directory cannot be accessed. |
230 |
Execution of an internal command failed. |
231 |
Registration of a health check agent service failed (Windows only). |
232 |
Deletion of a health check agent service failed (Windows only). |
233 |
Setting up dependencies among services failed (Windows only). |
234 |
Rollback of the processing failed. |
255 |
An unexpected error occurred. |
Usage example
The following example enables the health check function:
jpcconf hc enable