This section explains how to switch from Push mode to Pull mode during operation.
Required privileges
Windows
The user must have the privileges of a member of the Administrators group.
UNIX
The user must have the privileges of the system administrator (superuser).
Note
If redundant Manager operation is being performed, first cancel the redundant operation, then switch from Push to Pull, and then set up redundant operation again.
To cancel redundancy, use the procedure described in Section 1.4, "sqcHaSetup (Agent/Proxy Manager Setup Command for Redundant Manager Operation)" in the Reference Guide.
Define the agentlist.cfg file by referring to "4.4.1 Defining Pull communications".
Before performing this procedure
If Agent or Proxy Manager resident processes are running, refer to "A.8 How to Start and Stop Resident Processes" and stop the service or daemon and the thttpd service if it is being used. Also check that the resident processes have stopped correctly.
Procedure
Changing the definition file
The definition file is stored in the following location:
Windows
<Variable file storage directory>\control\DSAconfiguration.txt |
UNIX
/etc/opt/FJSVssqc/DSAconfiguration.txt |
The method used to change the definition file is explained below.
Make a backup copy of DSAconfiguration.txt before making any changes to the file.
Delete the following section in its entirety.
Note
The following example applies to Windows. In UNIX, specify "/opt/FJSVssqc/bin/dsa_file" for path and "/var/opt/FJSVssqc/DelayXfer" for out_dir.
The absolute path to the Delayxfer directory in the actual installation directory must be specified for out_dir.
[DsaForwarder] execute_style=on path=dsa_forwarder.exe input=SQC3PDBDSREG input=SQC3PDBCONSOL input=SQC3PDBRYG input=SQC3PDBXML server= port=2344 input_expire=0 connect_timeout=30 send_timeout=30 retry_count=30 retry_sleep=30 retry_no_sleep=30 SSL=0 SSL_CAlist=%CONTROL_DIRECTORY\cert.pem [DsaForwarder_sum] execute_style=on path=dsa_forwarder.exe input=SQC3PDBDSREG input=SQC3PDBSUMMARY input_expire=1 server= port=2344 connect_timeout=30 send_timeout=30 retry_count=30 retry_sleep=30 retry_no_sleep=30 SSL=0 SSL_CAlist=%CONTROL_DIRECTORY\cert.pem |
Add the following section:
[DelayXfer] execute_style=on path=dsa_file.exe input=SQC3PDBDSREG input=SQC3PDBESREG input=SQC3PDBCONSOL input=SQC3PDBSUMMARY input=SQC3PDBRYG input=SQC3PDBXML input=SQC3PDBMANAGE input=SQC3PDBEVENT out_dir=%WORKING_DIRECTORY\DelayXfer out_file=%c_delayxfer.txt check_interval=3 operation=SWAP |
Definition of the using port number
UNIX
Define the port number which is used for the Pull communication indicated in the "4.4.1 Defining Pull communications" to /etc/services.
Definition method
thttpd 23440/tcp |
Execute the commands
Windows
Use the following method to set up the Pull communication environment. (This will increase the security risk.)
Execute the following two commands:
C:\> <Installation directory>\bin\sqcSetFileSec.exe -u <Variable file storage directory>\temp |
C:\> <Installation directory>\bin\sqcSetFileSec.exe -u <Variable file storage directory>\spool\Delayxfer |
UNIX
Execute the Pull communication setup command shown below. (This will increase the security risk.)
Execute the following command:
/opt/FJSVssqc/bin/pullsetup.sh |
Note
Web server settings are needed when Pull operation is used. Perform the setup procedure by referring to "Chapter 5 Setting Up the Communication Environmentt".
If redundant Manager operation is being performed, first cancel the redundant operation, then switch from Push to Pull, and then set up redundant operation again.
Start the Agent/Proxy Manager service or daemon and confirm that it operates normally
Start the service or daemon, and the thttpd service (if it is to be used), by referring to "A.8 How to Start and Stop Resident Processes". Also check that the resident processes have started correctly.