Command EDHCTL (option 7 of EDH menu) starts the supervision job, according to defined parameters. Starting this job performs the following steps:
Start TCP/IP daemon PMSYSDEMON on the Recovery system.
Start subsystem PMEDHUSR/PMEDH on the Recovery system.
Start replication if it is not active for defined environment.
Start supervision job on the Recovery system.
Do a permanent loop.
Check if replication is active.
Check communication, using the ping command.
Supervision job will stay permanently active until running command EDHCTL OPTION(*END).
EDH_XX on source system, in subsystem QSYSWRK
EDHCTL_XX on target system, in subsystem QSYSWRK
Attention: To start remote functions, the CLP program uses the RUNRMTCMD command. This command needs to have the TCP/IP server *REXEC active on the Recovery system. Start server as follows:
STRTCPSVR *REXEC
You can start automatically the server, using TCP/IP configuration:
CFGTCP
⮡Option 20 – Configure TCP/IP applications
⮡Option 17 – Change REXEC attributes
Note: Command EDHCTL includes start of replication. It can replace PMEDHSTR in your start procedure.
If you require to end the environment, end EDHCTL first; or use EDHSTOP command.