הצטרפו לקבוצות שלנו לקבלת עדכונים מרוכזים פעם בשבוע:

ווטסאפ:
http://wa.dwh.co.il
טלגרם:
http://telegram.dwh.co.il

How can PWXCMD send commands to multiple PWXCCL

More
13 years 8 months ago #6400 by Or Pelach
How can PWXCMD send commands to multiple PWXCCL or multiple PowerExchange Listeners?
Answer:
The difficulty with using PWXCMD with multiple PWXCCL, or with multiple PowerExchange Listeners, is that PWXCMD looks in the default DBMOVER.CFG to find information on SVCNODE and CMDNODE statements.

If you have multiple PWXCCL, or multiple PowerExchange Listeners, on the same host, then you need to put the SVCNODE and CMDNODE statements for all of them in the default DBMOVER.CFG, which is $PWX_HOME\dbmover.cfg.

You also need to have appropriate CONDENSENAME statements in the PWXCCL.CFG used by each PWXCCL.
Example:
If you have two PowerExchange Listeners and two PWXCCL, then you might have things set up as follows:

In the PWXCCL.CFG for one PWXCCL:
CONDENSENAME=PWXCCL1

In the PWXCCL.CFG for the other PWXCCL:
CONDENSENAME=PWXCCL2

In $PWX_HOME\dbmover.cfg:
SVCNODE=(PWXLST1,2481)
CMDNODE=(PWXLST1,LISTENER,127.0.0.1,2481)
SVCNODE=(PWXLST2,2482)
CMDNODE=(PWXLST2,LISTENER,127.0.0.1,2482)
SVCNODE=(PWXCCL1,2491)
CMDNODE=(PWXCCL1,CONDENSE,127.0.0.1,2491)
SVCNODE=(PWXCCL2,2492)
CMDNODE=(PWXCCL2,CONDENSE,127.0.0.1,2492)

To send PWXCMD commands to PWXLST1, you could use:
pwxcmd <command> -sv PWXLST1

To send PWXCMD commands to PWXLST2, you could use:
pwxcmd <command> -sv PWXLST2

To send PWXCMD commands to PWXCCL1, you could use:
pwxcmd <command> -sv PWXCCL1

To send PWXCMD commands to PWXCCL2, you could use:
pwxcmd <command> -sv PWXCCL2

All of the above could also use -service, instead of -sv.
Applies To:
Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
Product: PowerExchange, PowerExchange 8.6, PowerExchange 8.6.1, PowerExchange 9.0, PowerExchange 9.0.1

Please התחברות to join the conversation.

Moderators: Laromme Barr
Time to create page: 0.229 seconds