[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
|
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
4813.0. "Help with setting up HIST_FM background recording" by MSDOA::REED (John Reed @CBO - DTN: 367-6463 = DNIS) Fri Apr 02 1993 17:42
Hello,
I have been having some trouble with setting up the Historian
with DECmcc (V1.2.1). I think that I am doing everything the
same way that I have on other sites. In fact, the exact procedures
work on another site (running DECmcc (V1.1.0). I am sure that I have
overlooked something painfully simple...
I perpetually receive this error message, no matter what I try,
"Background recording process for this domain is not set up"
I have re-created the domain, repopulated it, ensured that the target
directory exists, and is writable by the background process, and that
it doesn't point to a logical name. The Batch queue was created using
the privs in the manaul. I am stumped.
Here is what I have done. (several Pages separated by form feeds)
This is the BATCH QUEUE I have created for DECmcc Processes
Scott_$ show que /all/full MCC$BATCH
Batch queue MCC$BATCH, on NETMA1::
/BASE_PRIORITY=2 /JOB_LIMIT=4 /OWNER=[CUSTOMER]
/PROTECTION=(S:E,O:D,G:RW,W)
/WSQUOTA=1000
Jobname Username Entry Status
------- -------- ----- ------
MCC_ENABLE_ALL_RULES
ALARM 295 Executing
Submitted 1-APR-1993 10:42
/LOG=NETMA1$DKB500:[MCC.LOGS]MCC_ENABLE_ALL_RULES.LOG;
/PRIORITY=100
File: _NETMA1$DKA200:[SYS0.SYSMGR]MCC_ENABLE_ALL_RULES.COM;7
(executing)
MCC_HISTORIAN_BACKGROUND
MCC 315 Executing
Submitted 2-APR-1993 15:09
/LOG=NETMA1$DKB500:[MCC.LOGS]MCC_HISTORIAN_BACKGROUND.LOG;
/PARAM=("LOCAL_NS:.DOMAIN.REPORTS","60") /PRIORITY=100
/RESTART=MCC$BATCH
File:
_NETMA1$DKA200:[SYS0.SYSCOMMON.SYSMGR]MCC_HISTORIAN_BACKGROUND.COM;4
Scott_$
Here is the User Authorization File for the Account MCC on this machine
UAF> show mcc
Username: MCC Owner: DECmcc Remote
Display
Account: NAM UIC: [155,200]
([CUSTOMER])
CLI: DCL Tables: DCLTABLES
Default: $DISK2:[CUSTOMER]
LGICMD: $DISK2:[CUSTOMER]LOGIN.COM
Flags:
Primary days: Mon Tue Wed Thu Fri
Secondary days: Sat Sun
No access restrictions
Expiration: (none) Pwdminimum: 6 Login Fails: 0
Pwdlifetime: (none) Pwdchange: (pre-expired)
Last Login: 18-MAR-1993 14:55 (interactive), 2-APR-1993 15:09
(non-interactive)
Maxjobs: 0 Fillm: 100 Bytlm: 102400
Maxacctjobs: 0 Shrfillm: 0 Pbytlm: 0
Maxdetach: 0 BIOlm: 800 JTquota: 2048
Prclm: 10 DIOlm: 75 WSdef: 2048
Prio: 4 ASTlm: 2000 WSquo: 4096
Queprio: 4 TQElm: 150 WSextent: 20000
CPU: (none) Enqlm: 2000 Pgflquo: 100000
Authorized Privileges:
CMKRNL CMEXEC SYSNAM GRPNAM ALLSPOOL DETACH DIAGNOSE LOG_IO
GROUP ACNT PRMCEB PRMMBX PSWAPM ALTPRI SETPRV TMPMBX WORLD
OPER EXQUOTA NETMBX VOLPRO PHY_IO BUGCHK PRMGBL SYSGBL MOUNT
PFNMAP SHMEM SYSPRV BYPASS SYSLCK SHARE GRPPRV READALL
SECURITY
Default Privileges:
CMKRNL CMEXEC SYSNAM GRPNAM ALLSPOOL DETACH DIAGNOSE LOG_IO
GROUP ACNT PRMCEB PRMMBX PSWAPM ALTPRI SETPRV TMPMBX WORLD
OPER EXQUOTA NETMBX VOLPRO PHY_IO BUGCHK PRMGBL SYSGBL MOUNT
PFNMAP SHMEM SYSPRV BYPASS SYSLCK SHARE GRPPRV READALL
SECURITY
Here is the Historians's Single Domain for Reporting
DECmcc (V1.2.1)
MCC> show domain .domain.reports all att
Domain LOCAL_NS:.domain.reports
AT 2-APR-1993 15:21:18 All Attributes
DomainName = LOCAL_NS:.domain.reports
Owner ID = "[MCC]"
Directory = dkb500:[mcc.historian]
Location = -- Attribute Not Available
Implementation Desc = "Historian Collection Domain"
Responsible Person = -- Attribute Not Available
Phone Number = -- Attribute Not Available
MAIL Account = -- Attribute Not Available
Remarks = -- Attribute Not Available
Text File = -- Attribute Not Available
MCC>
Here is the Directory that I created for the Data Storage
Scott_$ dir/full dkb500:[mcc]historian.dir
Directory DKB500:[MCC]
HISTORIAN.DIR;1 File ID: (41,19,0)
Size: 3/3 Owner: [CUSTOMER]
Created: 1-APR-1993 09:40:29.18
Revised: 1-APR-1993 09:44:24.65 (3)
Expires: <None specified>
Backup: <No backup recorded>
File organization: Sequential
File attributes: Allocation: 3, Extend: 0, Global buffer count: 0
No default version limit, Contiguous, Directory
file
Record format: Variable length, maximum 512 bytes
Record attributes: No carriage control, Non-spanned
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RWE, World:RE
Access Cntrl List: None
Total of 1 file, 3/3 blocks.
Here is the contents of that directory
Scott_$ dir dkb500:[mcc.historian]/own/prot
Directory DKB500:[MCC.HISTORIAN]
MCC_2C1C000400AA000001CC2E87B3CFBB60.MCC_HIST_ATTR012_1;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2E87B3CFBB60.MCC_HIST_ATTR012_P;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2E87B3CFBB60.MCC_HIST_INST012_1;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2E87B3CFBB60.MCC_HIST_INST012_P;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2E87B3CFBB60.MCC_HIST_Q12_Q;1
[CUSTOMER] (RWD,RWD,RWD,)
MCC_2C1C000400AA000001CC2E8E2B20B7E0.MCC_HIST_ATTR012_1;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2E8E2B20B7E0.MCC_HIST_ATTR012_P;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2E8E2B20B7E0.MCC_HIST_INST012_1;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2E8E2B20B7E0.MCC_HIST_INST012_P;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2E8E2B20B7E0.MCC_HIST_Q12_Q;1
[CUSTOMER] (RWD,RWD,RWD,)
MCC_2C1C000400AA000001CC2F7CE06A1300.MCC_HIST_ATTR012_1;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2F7CE06A1300.MCC_HIST_ATTR012_P;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2F7CE06A1300.MCC_HIST_INST012_1;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2F7CE06A1300.MCC_HIST_INST012_P;1
[CUSTOMER] (RWED,RWED,RWE,RWE)
MCC_2C1C000400AA000001CC2F7CE06A1300.MCC_HIST_Q12_Q;1
[CUSTOMER] (RWD,RWD,RWD,)
Total of 15 files.
I look into the queue, and see that the Historian Background is
executing, and that it has the right directory named domain. But
I cannot start a recording for a node in that domain.
MCC> show node4 magic all counter, in domain .domain.reports
Node4 11.25
AT 2-APR-1993 15:29:12 Counters
Examination of Attributes shows:
Counter Creation Time = 1-APR-1993 21:16:57.84
Seconds Since Last Zeroed = >65535 Seconds
User Bytes Received = 3293218 Bytes
User Bytes Sent = 3116319 Bytes
Total Messages Received = 61994 Messages
Total Messages Sent = 61514 Messages
Connects Received = 118 Connects
Connects Sent = 76 Connects
Response Timeouts = 14 Timeouts
Received Connect Resource Errors = 0
Maximum Logical Links Active = 103 Links
Aged Packet Loss = 0 Packets
Node Unreachable Packet Loss = 15814 Packets
Node Out-of-Range Packet Loss = 40 Packets
Oversized Packet Loss = 0 Packets
Packet Format Error = 0
Partial Routing Update Loss = 0
Verification Reject = 0
MCC>record node4 magic partition counter, in domain .domain.reports
Node4 magic
AT 2-APR-1993 15:30:05
Background recording process for this domain is not set up
MCC>
If anyone knows of something I have missed, Please send me a reply. I
looked through all of the other entries in this file, and I didn't
see any other errors with this message. I am also having a hard time
getting DECnet notification sinking to work on the same node. I have
gotten the router, to sink DECnet 4.* events to me, and I receive them
via OPCOM messages, and I have run the EVL com file (edited to replace
<os_node> with my nodename), and enabled notication any event in this
domain, and set up targetting to circuit up, circuit down. But I don't
get any notifications. I am wondering if these things are related.
thanks for any help.
JR
Thanks for any assistance.
T.R | Title | User | Personal Name | Date | Lines |
---|
4813.1 | part=COUNTERS | CTHQ::WOODCOCK | | Fri Apr 02 1993 18:14 | 14 |
| >>> MCC>record node4 magic partition counter, in domain .domain.reports
Although I get a different error the above doesn't work for me. Have you tried
MCC>record node4 magic partition=counters, in domain .domain.reports
I'm not sure if it's your problem but the above command should work once you
get by the first hurdle.
Notification: In addition to changing the node name in the startup also ensure
the pass commands and uncommented for the same events (4.*)
best regards,
brad...
|
4813.2 | Still Fighting with "Background Not set up" | MSDOA::REED | John Reed @CBO - DTN: 367-6463 = DNIS | Fri Apr 09 1993 15:09 | 129 |
| Thanks for the suggestion. I tried the command syntax, every way that
I could, and I got several errors when I typed in the wrong domain
name,
record node4 magic partition=nothing, in domain .domain.reporter
Node4 magic
AT 9-APR-1993 11:39:15
No such Domain
MCC> When I give it a good domain, it errors, telling me that the
background isn't running...
Scott_$ set def mcc_common
Scott_$ sho dev/file/nosys mcc_common:
Files accessed on device NETMA1$DKB500: on 9-APR-1993 11:43:15.68
Process name PID File name
ELMS$NIMUX 00000111 [ELMS$DIRECTORY]ELMS$DATABASE.DNE;1
ELMS$NIMUX 00000111 [ELMS$DIRECTORY]ELMS$DATABASE.DSE;1
ELMS$NIMUX 00000111 [ELMS$DIRECTORY]ELMS$STATE_CHANGE.LOG;1
MCC_DNA4_EVL 00000328 [MCC]MCC_DNA4_EVL.COM;2
MCC_EVC_SINK 00000329 [MCC]MCC_EVC_SINK.COM;1
BATCH_315 0000047C [MCC]MCC_FDICTIONARY.DAT;1
BATCH_315 0000047C [MCC]MCC_MIR_DIRECTORY.DAT;5
BATCH_315 0000047C [MCC]MCC_MIR_ATTRIBUTE.DAT;5
BATCH_315 0000047C [MCC]MCC_DNS_ENT.DAT;1
BATCH_315 0000047C [MCC]MCC_DNS_ENT.DAT;1
BATCH_315 0000047C [MCC]MCC_DNS_ATT.DAT;1
BATCH_315 0000047C [MCC]MCC_DNS_ATT.DAT;1
BATCH_315 0000047C [MCC.LOGS]MCC_HISTORIAN_BACKGROUND.LOG;15
BATCH_315 0000047C
[MCC.HISTORIAN]MCC_2C1C000400AA000001CC2F7CE06A1300.MC
C_HIST_INST012_P;1
LTM$DC 00000604 [DECSERVER]LTM$DC.LOG;76
NAM_1 0000061E [ETHERNIM]ENIM$SESSION_STARTUP.COM;6
NAM_1 0000061E [ETHERNIM]ENIM$SCREENS.HLB;2
NAM_1 0000061E [ETHERNIM]ENIM$MESSAGES.HLB;2
Scott_$
The last lines of the MCC_HISTORIAN_BACKGROUND.LOG file look like this:
$ IF SVRT THEN GOTO OKAY
$ OKAY:
$ WAIT 00:00:30
$!
$! end_of wait procedure
$!
$ BTS == "$SYS$SYSTEM:MCC_HISTORIAN_FM_BG.EXE"
$ BTS "LOCAL_NS:.DOMAIN.REPORTS" "60"
Scott_$
I have re-enrolled the MCC_HISTORIAN_FM, and rebooted the machine, and
done almost everything but rebuild MCC from the dist kit (that's next).
Before I trash my system, does anyone have any other suggestions for
why my background process cannot be seen? Is there a way that I can
look for sure, at what domain the historian is really set up for? I
want the historian background process to monitor .domain.reports, and
that is how I set it up, but it instead is using .DOMAIN.REPORTS (all
capitals). Is the VMS domain name for the historian case sensitive?
If so, How can I make it lower case ?? Or upper case only ? I tried
to create the domain using all caps, but the domain name always showed
up in lower case letters when I did the dir, or show command. And the
the HISTORIAN background job is forcing the input to UPPER CASE.
Is this a problem ??
Thanks,
JR
Scott_$ show que MCC$BATCH /full /all
Batch queue MCC$BATCH, on NETMA1::
/BASE_PRIORITY=2 /JOB_LIMIT=4 /OWNER=[CUSTOMER]
/PROTECTION=(S:E,O:D,G:RW,W)
/WSQUOTA=1000
Jobname Username Entry Status
------- -------- ----- ------
MCC_HISTORIAN_BACKGROUND
MCC 315 Executing
Submitted 2-APR-1993 15:09
/LOG=NETMA1$DKB500:[MCC.LOGS]MCC_HISTORIAN_BACKGROUND.LOG;
/PARAM=("LOCAL_NS:.DOMAIN.REPORTS","60") /PRIORITY=100
/RESTART=MCC$BATCH
File:
_NETMA1$DKA200:[SYS0.SYSCOMMON.SYSMGR]MCC_HISTORIAN_BACKGROUND.COM;4
Scott_$ fcl
DECmcc (V1.2.1)
MCC> record node4 magic partition=counters, in domain .domain.reports
Node4 magic
AT 9-APR-1993 11:26:03
Background recording process for this domain is not set up
MCC>
MCC> exit
Scott_$ sho que /bat /all
Batch queue LTM_REPORT, stopped, on NETMA1::
Batch queue MCC$BATCH, on NETMA1::
Jobname Username Entry Status
------- -------- ----- ------
MCC_ENABLE_ALL_RULES
ALARM 295 Executing
MCC_HISTORIAN_BACKGROUND
MCC 315 Executing
Batch queue SYS$BATCH, on NETMA1::
Scott_$ type SYS$COMMON:[SYS$STARTUP]MCC_STARTUP_DNA4_EVL.COM
lotsa stuff,
!
PASS node4 NETMA1 outbound stream NETMA1 remote sink MONITOR class = 4,-
event type = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
!
lots more stuff...
|
4813.3 | LOCAL_NS: out of param | CTHQ::WOODCOCK | | Fri Apr 09 1993 18:09 | 6 |
| Here's a shot into the dark.
Take LOCAL_NS: out of the parameter. Or add it to the RECORD command.
best regards,
brad...
|
4813.4 | The UIC's must match on all processes | MSDOA::REED | John Reed @CBO - DTN: 367-6463 = DNIS | Mon Apr 12 1993 21:32 | 60 |
| Well, it works now.
It seems that the parent Batch Queue must have the same UIC, as the
submitted job MCC_HISTORIAN_BACKGROUND, and the same as the process
that wants to record an entity's partitions. It doesn't fail with
any error messages about protections, or ownerships. It just says
that "the background recording process for this domain is not set up".
It failed when I was doing my submit during the system startup, because
it was coming in as user "SYSTEM", instead of the account I needed.
record snmp LOCAL_NS:.ip.gatehouse.ethertwist.one -
PARTITION = characteristics, in domain LOCAL_NS:.domain.record
SNMP LOCAL_NS:.ip.gatehouse.ethertwist.one
AT 12-APR-1993 19:19:50
Background recording process for this domain is not set up
MCC> spawn show queue /batch /all
Batch queue SYS$BATCH, on CRDME::
Jobname Username Entry Status
------- -------- ----- ------
MCC_ENABLE_ALL_RULES
SYSTEM 535 Executing
MCC_HISTORIAN_BACKGROUND
SYSTEM 575 Executing
(Notice the Username of System, which works for alarms, but not for
the historian)
$ stop/entry=575
$ SUBMIT SYS$MANAGER:MCC_HISTORIAN_BACKGROUND.COM /user=NAM -
/PARAM=("LOCAL_NS:.domain.record")/NOPRINT
Job MCC_HISTORIAN_BACKGROUND (queue SYS$BATCH, entry 576) started
(wait the requisite 40 seconds for the job to begin)
$ FCL
MCC> record snmp LOCAL_NS:.ip.gatehouse.ethertwist.one -
PARTITION = characteristics, in domain LOCAL_NS:.domain.record
SNMP LOCAL_NS:.ip.gatehouse.ethertwist.one
AT 12-APR-1993 19:27:04
Recording of "Characteristics" partition started
MCC> exit
$ lo
The SYS$STARTUP historian call, and any subsequent startups of the
historian must be the same /USER="your_primary_mcc_account", as the
account UIC from which you initiate the recording of entities.
If you startup the historian from MCC_STARTUP_BMS.COM, then use the
/USER= flag, to ensure that the same account that initiated the
recordings is keeping them alive.
Thanks for the help.
JR
|