[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | NAS Message Queuing Bus |
Notice: | KITS/DOC, see 4.*; Entering QARs, see 9.1; Register in 10 |
Moderator: | PAMSRC::MARCUS EN |
|
Created: | Wed Feb 27 1991 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2898 |
Total number of notes: | 12363 |
2898.0. "Need help on XGROUP" by GUIDUK::WU_CH () Fri Jun 06 1997 00:33
Hello,
We are currently building a large scale client/server project.
We have many pieces: NTv3.51, HP-UX, Digital UNIX v4.0 & OpenVMS v7.1.
To make the long story short. This is what I want to achieve:
Platform Purpose GROUP NODE IP PORT
================================================================
HP-UX Server App 9 HPIDS 16.90.48.45 12346
DEC UNIX Client App 8 WWSP04 16.90.48.6 12346
OpenVMS Client App 10 WWSP01 16.90.48.5 5000
We already got the XGROUP going between HP-UX <===> DEC UNIX. (3 apps)
But, we are ABS. no luck from OpenVMS. No luck means, I can't even
get the LOOP test(XGROUP) to work at all. All I can see from
DMQ$MONITOR was 1 msg send, but the HP-UX did not receive anything at
all. All three nodes know one another, we can ping by node name, ftp
by the node name. Also, On OpenVMS, when I ran MGRUTIL, to look at the
detail of my XGROUP-link to HP-UX, (In-bound = never connected;
outbound = connected).
Below are DMQ$INIT.TXT && GROUP.INIT(from HP-UX)... Can someone
quickly point out what we might have done wrong... Thanks
Alex Wu ([email protected])
****************** DMQ$INIT.TXT ***********************
*************************************************************************
*
*
* DECmessageQ Initialization File
*
*
*
*************************************************************************
*
%VERSION 3.0
*
%PROFILE ***** Profile Parameters *****
*
ACCEPT_KILL_CMD NO ! Control MONITOR terminate requests
ENABLE_XGROUP YES ! Enable DECmessageQ cross-group access
XGROUP_VERIFY NO ! Limit incoming cross-group connections
ENABLE_MRS YES ! Enable DECmessageQ Message Recovery
Services
ENABLE_JRN YES ! Enable DECmessageQ Message Journaling
Services
ENABLE_SBS YES ! Enable DECmessageQ Selective Broadcast
Services
ENABLE_QXFER NO ! Enable DECmessageQ MRS Queue Transfer
Services
FIRST_TEMP_QUEUE 200 ! Select start of temp queue pool
(200-950)
XGROUP_TABLE_SIZE 25 ! Select max number of group entries
(25-32000)
NAME_TABLE_SIZE 200 ! Select max number of GNT entries
(100-32000)
RCV_MSG_QUOTA_METHOD MAX ! Select type of rcv msg quota deductions
(MIN | MAX)
ATTACH_TMO 600 ! Select PAMS_ATTACH_Q timeout
(100-36000)
PAMSV25_MODE NO ! Select PAMS V2.5 compatiable DECnet object
*
%EOS
*
%XGROUP ***** Cross-Group Connection Table ******
*
* DMQ
* DMQ Group Gen Buff Recnt --Window---
*Group name ID System Cnt Pool Timer Delay Size
Trnsprt Addr
*--------------- ----- ---------------- --- ---- ----- ----- -----
------- -----
*ONE 1 GVAX01 Y 75 -1 -1 -1
DECNET
*TWO 2 GVAX01 Y -1 0 -1 -1
DECNET
*TWO 2 GVAX02 Y -1 0 -1 -1
DECNET
*TWO 2 GVAX03 Y -1 0 -1 -1
DECNET
TEN 10 WWSP01 A -1 -1 -1 -1
TCPIP 5000
NINE 9 HPIDS A -1 -1 -1 -1
TCPIP 12346
EIGHT 8 WWSP04 A -1 -1 -1 -1
TCPIP 12346
*MVII 75 MVII01 Y 100 30 -1 -1
DECNET
*MVII 75 MVII02 Y 100 30 -1 -1
DECNET
*MVII 75 MVII03 Y 100 30 -1 -1
DECNET
*PC 122 MYPC N 50 -1 -1 -1
DECNET
*THREE 3 riscy N -1 -1 -1 -1
TCPIP 4095
*
%EOS
*
%ROUTING * initial routing table
*
* Target Route-Thru
* Group Group
* ------ ----------
* 1 2
* 2 4
* 3 4
* 4 2
* 5 4
* 6 2
* 7 4
*
%EOS
*
%CLS **** Client Lib Server Configuration Table ****
*
* Maximum #
* Endpoint Transport of Clients
* -------- --------- ----------
5000 TCPIP 16
5001 TCPIP 16
6000 DECNET 32
*
%EOS
*
%BUFFER ***** Buffer Pool Configuration Table *******
* Reserve
*Msg-Block-Type Byte-Size Number Warning-level Count
*-------------- --------- ------ ------------- ---------
SMALL 256 50 10 2
MEDIUM 5000 10 2 1
LARGE 32000 3 1 0
%EOS
*
*
%QCT ***** Queue Configuration Table ******
*
* ---Pool Quota--- UCB Q Q Confrm Perm
Name Check
* Queue Name Num Bytes Msgs Ctrl Send Type Own Style Act
Scope ACL
*------------------- ---- ------- ---- ---- ---- ---- ---- ----- ----
----- ----
* Sample Queues
queue_1 1 64000 100 All . . . II Y
L N
queue_2 2 64000 100 Msg . . . EI Y
L N
queue_3 3 64000 100 Byte . . . EO Y
L N
queue_4 4 64000 100 None . . . . Y
L N
queue_5 5 64000 100 . . . . . Y
L N
queue_6 6 64000 100 . . . . . Y
L N
queue_7 7 64000 100 . . . . . Y
L N
queue_8 8 64000 100 . . . . . Y
L N
queue_9 9 64000 100 . . . . . Y
L N
queue_10 10 64000 100 . . . . . Y
L N
*
* SBS Server uses the following UCB numbers for Optimized Delivery
*
sbs_eth_control 74 0 0 . E . . . .
L N
sbs_eth_chan1 75 0 0 . E . . . .
L N
sbs_eth_chan2 76 0 0 . E . . . .
L N
*
* The following are for the DECmessageQ demo in [DMQ$Vnn.demo.vms]
*
demo_io_server_1 101 64000 100 . . . . . N
L N
demo_io_server_2 102 64000 100 . . . . . N
L N
demo_io_server_3 103 64000 100 . . . . . N
L N
demo_io_server_4 104 64000 100 . . . . . N
L N
demo_io_server_mrq 105 64000 100 . . M . . Y
L N
demo_archive 106 64000 100 . . . . . N
L N
demo_io_broadcast_1 5101 0 0 . . . . . .
L N
demo_io_broadcast_2 5102 0 0 . . . . . .
L N
*
* Queues 90-100 & 150-199 are reserved for DECmessageQ utilities
temporary_q 0 64000 100 . . . . . .
L N
screen_process 0 64000 100 . . . . . .
L N
spare1 90 100000 100 . . . . . Y
L N
all_ucbs 91 0 0 . . . . . .
L N
timer_queue 92 0 0 . . . . . .
L N
null 93 0 0 . . . . . .
L N
internal1 94 64000 100 . . . . . Y
L N
qtransfer_server 95 1000000 1000 None . . . . N
L N
dead_letter_queue 96 64000 100 . . . . . Y
L N
mrs_server 98 1000000 1000 None . . . . N
L N
sbs_server 99 1000000 1000 None . . . . Y
L N
avail_server 99 1000000 1000 None . . . . Y
L N
com_server 100 1000000 1000 None . . . . N
L N
declare_server 100 1000000 1000 None . . . . N
L N
connect_server 100 1000000 1000 None . . . . N
L N
queue_server 100 1000000 1000 None . . . . N
L N
pams_transport 100 1000000 1000 None . . . . N
L N
dmq_loader 150 250000 100 . . . . . N
L N
dcl_by_q_name 151 0 0 . . . . . .
L N
tcpip_ld 152 1000000 1000 None . . . . N
L N
decnet_ld 153 1000000 1000 None . . . . N
L N
reserved_ld 154 1000000 1000 None . . . . N
L N
event_logger 155 1000000 1000 None . . . . N
L N
jrn_server 156 1000000 1000 None . . . . N
L N
mrs_failover 157 0 0 . . . . . N
L N
dmq_fulltest_pq 191 250000 100 . . . . . N
L N
dmq_fulltest_sq 192 250000 100 . . S 191 . N
L N
example_q_1 193 64000 100 . . . . . N
L N
example_q_2 194 64000 100 . . . . . N
L N
IVP_unowned_sq 195 250000 100 . . S . . N
L N
IVP_private_MOT1 4999 0 0 . . . . . .
L N
IVP_universal_MOT1 5001 0 0 . . . . . .
L N
*
%EOS
*
*
%SBS ******* SBS Server Initialization Section ************
*
MOT_MODE DMQ ! DMQ or ETH primary service
MOT_LOW 4800 ! 4000 - 4900
MOT_MID 5000 ! must be 5000
MOT_HIGH 5200 ! 5100 - 6000
*
*ETH_DEVICE ESA0: ! VMS device name of the Ethernet board
*
* <<<<<<<<<<<<<<<<<< Warning >>>>>>>>>>>>>>>>>>>
* The protocol and Ethernet addresses show below are not registered
* and are not guaranteed to not cause a conflict. Use them with
* discretion.
*
* |------ MCA ----| |Prot #| |- UCB queue -|
*CNTRL_CHAN AB-AA-34-56-78-90 81F0 74
*
* |------ MCA ----| |Prot #| |- UCB queue -|
*SET 0 AB-12-34-56-78-90 81F1 75
*MAP 5101 0 ! map a MOT to an Ethernet channel
*MAP 5102 0 ! map a MOT to an Ethernet channel
*
* |------ MCA ----| |Prot #| |- UCB queue -|
*SET 1 AB-12-34-56-78-92 81F2 76
*MAP 5103 1 ! map a MOT to an Ethernet channel
*
%EOS
*
*
%MRS ******* MRS/JRN Servers Initialization Section ************
*
AREA_SIZE 512 ! disk blks per file (min:128, max:16384,
def:512)
NUM_DQF_AREAS 1000 ! min:100, max:1000000, default:1000
NUM_SAF_AREAS 1000 ! min:0, max:1000000, default:1000
NUM_PCJ_AREAS 1000 ! min:0, max:1000000, default:1000
NUM_DLJ_AREAS 1000 ! min:0, max:1000000, default:1000
NUM_MESSAGES 512 ! min:128, max:2147483647, default:512
NUM_QUEUES 128 ! min:128, max:2147483647, default:128
CACHE_PERCENTAGE 90 ! % rcv msg quota for MRS msgs (min:1,
max:100, def:9
0)
USE_HIGH_WATER_MARK YES ! checkpt MRS sizing params to disk (YES/NO)
LOAD_MRS_CTRS YES ! init recoverable msg ctrs on startup
(YES/NO)
RCVR_ONLY_CONFIRM YES ! limit msg confirms to receiving process
(YES/NO)
XGRP_JRN_CTRL NO ! allow JRN cntrl msgs from other groups
(YES/NO)
REDELIVERY_TIMER 10 ! integer seconds (min:0, max:5000,
default:10)
*
PCJ_FILENAME DMQ$MRS:MRS_%bg.PCJ ! char[64] - %bg is a macro that
DLJ_FILENAME DMQ$MRS:MRS_%bg.DLJ ! char[64] - expands to bus_group
*
%EOS
*
%GNT ********* Group Name Table Section *********************
*
* Queue Name Queue Addr Scope
*------------------------------ ---------- -----
*global_queue1 1.234 G
lcl_queue1 134 L
lcl_queue2 135 L
lcl_queue3 136 L
*
%EOS
*
%END
***************************************************
**************** HP-UX ****************************
%VERSION 3.1
%PROFILE
ACCEPT_KILL_COMMAND YES ! accept kill commands from DMQ Monitor
ENABLE_XGROUP YES ! allow cross-group communications
XGROUP_VERIFY NO ! do not verify cross group links
NAME_TABLE_SIZE 200 ! number of names
FIRST_TEMP_QUEUE 200 ! minimum is 101, maximum is 850
GROUP_MAX_LINKS 20 ! size of the group link table
GROUP_MIN_GROUP_NUMBER 001 ! 1 is the minimum
GROUP_MAX_GROUP_NUMBER 010 ! 32000 is the maximum
GROUP_MAX_USER_QUEUE 300 ! 999 is the maximum
GROUP_MAX_MESSAGE_SIZE 8192 ! largest message size permitted in
this group
ENABLE_MRS NO ! Start Recoverable Messaging Servers
%EOS
! MRS SECTION
!
! this section is used to specify the journal paths for the recovery,
! post-confirmation and dead-letter journals.
%MRS
MRS_JOURNAL_PATH /usr/users/york/msg_test/journal/rj_path !
recovery
journal path
MRS_POST_CONFIRMATION_PATH /usr/users/york/msg_test/journal/pcj_path !
post conf
irmation journal path
MRS_DEAD_LETTER_PATH /usr/users/york/msg_test/journal/dlj_path !
dead-lett
er journal path
%EOS
! CLS SECTION
!
! you can start any number of client library server processes (one per
line)
! by enumerating each process and its endpoint below.
!
! ENDPOINT defines the TCP/IP port number or DECnet object name
! that the server uses to accept incoming connections.
! for TCP/IP the value is limited to 1024-65535 inclu-
! sive. for DECnet the value is limited to 1-99999 in-
! clusive.
!
! TRANSPORT the name of the network protocol stack to be used for
! the server. valid values are DECnet and TCP/IP.
!
! MAX_CLIENTS the maximum number clients the server will server at
! any given time. valid value are 1-512 inclusive.
!
! SECURITY_FILE the full path name of the security file. if no file
! is specified then a default file name is used. see
! documentation for details.
%CLS
! Max Security
! EndPoint Transport Clients File
12346 TCPIP 25 /u1/york/fltids/msg_test/dmqclsec.txt
! 67890 DECNET 50
%EOS
%XGROUP
GROUP8 8 wwsp04 Y 2000000 1 10 25000 TCPIP 12346
GROUP9 9 hpids Y 2000000 1 10 25000 TCPIP 12346
GROUP10 10 wwsp01 Y 2000000 1 10 25000 TCPIP 5000
%EOS
%ROUTE
! 7 1
! 10 2
%EOS
%QCT
!Queue Queue Byte Msg Quota UCB Queue Owner Conf Perm Name
!Name Number Quota Quota Enable Send Type Queue Style Active Scope
Security
TEMPLATE 0 256000 100 NONE . P 0 II N L
N
QUEUE1 1 64000 100 NONE . P 0 II N L
N
DMQsrv 2 64000 100 NONE . P 0 II Y G
N
QUEUE3 3 64000 100 NONE . P 0 II Y L
N
QUEUE4 4 64000 100 ALL . M 0 II Y L
N
QUEUE5 5 64000 100 . . S 0 II N L
N
QUEUE6 6 64000 100 . . S 0 II Y L
N
QUEUE7 7 64000 100 . . S 0 II N L
N
! queues that specify ACL security files exist and should be
! checked each time a process attaches one of these queues
QUEUE10 10 64000 100 . . P 0 II N L
Y
QUEUE11 11 64000 100 MSG . S 10 II N L
Y
QUEUE12 12 64000 100 BYTE . S 10 II N L
Y
! queues with differing quotas. quotas also can be turned
! on using the monitor programs (dmqmonc and dmqmonm).
QUEUE13 13 8000 25 ALL . P 0 II N L
N
QUEUE14 14 128000 50 MSG . P 0 II N L
N
QUEUE15 15 32000 100 BYTE . . 0 II N L
N
! queues that require explicit confirmation and allow out
! of order confirmation.
QUEUE16 16 64000 100 NONE . P 0 EI N L
N
QUEUE17 17 64000 100 . . P 0 EO N L
N
QUEUE18 18 64000 100 NONE . S 2 II Y G
N
! the example_q_n queues are used by the example programs
! provided in the DECmessageQ Example Programs subset
EXAMPLE_Q_1 193 64000 100 . . P 0 . N L
N
EXAMPLE_Q_2 194 64000 100 . . P 0 . N L
N
EXAMPLE_Q_3 195 64000 100 . . P 0 . N L
N
EXAMPLE_Q_4 196 64000 100 . . P 0 . N L
N
EXAMPLE_Q_5 197 64000 100 . . P 0 . N L
N
! The DEAD_LETTER_QUEUE is the target for UMA modes of
! xx_DLQ. A user process may attach this queue to collect
! undeliverable messages for application-specific proces-
! sing
DEAD_LETTER_QUEUE 96 100000 500 NONE . P 0 II Y L
N
%EOS
%GNT
TIMER_QUEUE 0.92 L
AVAIL_SERVER 0.99 L
COM_SERVER 0.100 L
QUEUE_SERVER 0.100 L
CONNECT_SERVER 0.100 L
%EOS
T.R | Title | User | Personal Name | Date | Lines |
---|
2898.1 | a few things to look at | WHOS01::ELKIND | Steve Elkind, Digital SI @WHO | Fri Jun 06 1997 00:58 | 17 |
| What is in your group log file on HP-UX, and the group event log on
VMS?
What link state shows up in dmqmonc on HP-UX?
Does netstat -a show any connections from the HP-UX to VMS?
I'm only familiar with v3.0x of VMS DmQ. What does the "A" in gen
connect mean (it's not mentioned in the v3.0x doc set for VMS)?
Usually we have a "Y" on one side of the link, and an "N" on the other.
Since the HP side is set to be a link initiator to VMS, I'm surprised
that you have an outbound link on VMS but never an inbound link.
Just for grins, you might try setting the GROUP_MIN_GROUP_NUMBER to
something higher than 10 (boundary condition) on the HP-UX side.
And, what versions of DmQ are you using?
|