[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

1037.0. "Archiving not working" by 48243::MENICACCI () Thu Oct 12 1995 11:23

	I have declared two systems (they are identical : dual-host cluster with
same disk system).

I was doing some testing a=of archiving ...

first command :

console archive clichy /conf/before=25-sep-1995 works fine :

POLYCENTER Console Manager
Archive facility Version V1.6-110
Copyright (c) 1995 Digital Equipment Corporation. All Rights Reserved

Starting archive procedure for system clichy
Timefile  Pass 1: Working ... done.
Timefile  Pass 2: Working ... done.
Logfile   Pass 1: Working ... /
Logfile   Pass 2: Working ... done.
Eventfile Pass 1: Working ... done.
Updating  Pass 1: Working  ... done 

Archive procedure for system clichy completed successfully


second command : 

console archive halles /conf/before=25-sep-1995 :

$ console archive halles /conf/before=25-sep-1995
POLYCENTER Console Manager
Archive facility Version V1.6-110
Copyright (c) 1995 Digital Equipment Corporation. All Rights Reserved

$

The archive procedure doesn't start ??? 

I tried to shutdown/restart PCM. Same thing.

Regards,

Maria MENICACCI.
French CSC.


T.RTitleUserPersonal
Name
DateLines
1037.1with console$debug all48243::MENICACCIMon Oct 16 1995 07:3777
	Hi here is the output when console$debug is defined.

when it works :

$ console archive clichy
POLYCENTER Console Manager
Archive facility Version V1.6-110
Copyright (c) 1995 Digital Equipment Corporation. All Rights Reserved

CMShm: Returning HEADER record
CMShm: Mapped to section, reference count = 1
CMShm: Get Archive flag
CMShm: Returning HEADER record
CMShm: Set Archive flag
CMShm: Returning HEADER record
CMShm: Get Reconfigure flag
CMShm: Returning HEADER record
CMCreateEventPort: Opening local transport event port <ENS>
CMCreateEventPort: Open succeeded
CMShm: Get Reconfigure flag
CMShm: Returning HEADER record
Starting archive procedure for system clichy
CMShm: Searching for system : clichy
CMShm: Set system user name
CMShm: Searching for system : clichy
CMShm: Get system archive flag
CMShm: Searching for system : clichy
CMShm: Set system archive flag
Attempting connect to Controller for host <clichy>
Connected to Controller for host successfully
Writing <CMCtrlMsgBeginArchive> to controller
Write of <CMCtrlMsgBeginArchive> Succeeded, waiting for Ack
<CMCtrlMsgEndArchive> Got Ack Message
Timefile  Pass 1: Working ... done.
Timefile  Pass 2: Working ... done.
Logfile   Pass 1: Working ... done.
Logfile   Pass 2: Working ... done.
Eventfile Pass 1: Working ... done.
Updating  Pass 1: Working ... done.
CMShm: Searching for system : clichy
CMShm: Reset system archive flag
CMShm: Get Reconfigure flag
CMShm: Returning HEADER record
Archive procedure for system clichy completed successfully
CMShm: Searching for system : clichy
CMShm: Set system archive time
CMCloseEventPort: Closing Event Port <ENS>
CMCloseEventPort: Closing socket associated with event port ...
                  closed.
CMShm: Reset Archive flag
CMShm: Returning HEADER record
CMShm: Reference count == 0, deleting shared memory from process space


when it doesn't work :

$ console archive halles
POLYCENTER Console Manager
Archive facility Version V1.6-110
Copyright (c) 1995 Digital Equipment Corporation. All Rights Reserved

CMShm: Returning HEADER record
CMShm: Mapped to section, reference count = 1
CMShm: Get Archive flag
CMShm: Returning HEADER record
CMShm: Set Archive flag
CMShm: Returning HEADER record
CMShm: Get Reconfigure flag
CMShm: Returning HEADER record
CMShm: Reset Archive flag
CMShm: Returning HEADER record
CMShm: Reference count == 0, deleting shared memory from process space


I have no error messages ...

Maria.
1037.2Is it related ???...48243::MENICACCIMon Oct 16 1995 11:1217
	Hi,

what I noticed is that :


from sh dev/fil/nosys sys$sysdevice:

Console Ctrl 01 20203E31  [CONSOLE.LOG]CLICHY.TIMES;1
Console Ctrl 01 20203E31  [CONSOLE.LOG]CLICHY.EVENTS;1
Console Ctrl 01 20203E31  [CONSOLE.LOG]CLICHY.LOG;1


Console Ctrl 01 is opening log files for clichy (archiving is ok).
Console Ctrl 01 is NOT opening log files for halles (archiving not working).

maria.

1037.329067::BUTTERWORTHGun Control is a steady hand.Tue Oct 17 1995 18:197
    Based on your sysmptoms it seems we have some issue with the global
    section. WHat I would like you to do is get all PCM interfaces shutdown
    and restart the software or just reboot the system and see what
    happens.
    
    Regs,
      Dan
1037.461017::TSG_TASMr MassTue Oct 17 1995 23:4321
Maria seems to be describing the same problem we are seeing. We used to do a
cons arch all, but it would hang with the archive process in LEF, the cons stat
display showing the next node to be archived, but that nodes new and old files
in console$archive not created. The way out was to blow away the archive process
(which would leave PCM knowing that the next system was currently being
archived) and restart PCM disconnecting all connections.

Then we created a command procedure that archived systems one by one. It worked
for a time, then it got stuck in exactly the same way. Used DECamds to force
exit the process which then went on to the rest of the command procedure
archiving all other systems correctly (all the while the cons stat showed the
stuck node as the currently archived node unless the system actually being
archived were shown and it too was archive in progress). After all this a PCM
restart disconnecting all sessions cleared the stuck node which could then be
archived.

Most recently even using DECamds failed. Node after node's archive failed in the
same manner. We had to restart PCM disconnecting all connections and were only
successful by entering each archive command by hand...

Tony Sherrard
1037.5Pb still there48243::MENICACCIWed Oct 18 1995 13:587
1) console shutdown ... archive not working

2) reboot ... archive not working


Maria.
1037.6new kit or new ECO48243::MENICACCIWed Oct 18 1995 14:506
	Hi,

is there any date for a new kit or ECO ...


??
1037.7Mea culpa ...48243::MENICACCIThu Oct 19 1995 10:5716
	Hi,

my problem of archiving wasn't a bug ... (no process was LEF in my case).

The answer was in .2 ...

In fact after investigating, I found that for some obscure reason/mistake,

event logfile wasn't enabled for HALLES.

So, console edit modify system in order to have LOGGING ENABLED and stored in
console$logfiles.

And now archiving is OK.

Maria.
1037.829067::BUTTERWORTHGun Control is a steady hand.Thu Oct 19 1995 17:536
    The you have found a problem as the Archive function should *not* have
    hung. it should have output a message indicating that there was no
    file or data found.
    
    Regs,
       Dan