[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

680.0. "What's CMgr Archive Area Full ?" by BACHUS::WILLEMSG (Geert Willems MCS-Belgium) Tue Apr 18 1995 13:52


	Hi ,

	I need some info on archiving :
	PCM V1.5a, OpenVMS V6.1.

	In PCM you have :
>	PCM Edit> sh file


>    When the logging disk capacity reaches the warning threshold, a warning
>    message will be issued. When the capacity reaches the critical level,
>    the archiving procedure will be activated. If no procedure is found,
>    the oldest console data will be deleted.

>    Filespace summary
>    -----------------

>    Check disk capacity every 600 seconds
>    File space warning threshold  = 60% full
>    File Space critical threshold = 62% full


	By my knowledge when there is less than the 'File Space critical
	threshold' an archive is started.
	What do you mean with : When the capacity reaches the critical level,
	the archiving procedure will be activated. Which procedure ?
	And what do you mean with : If no procedure is found,
	the oldest console data will be deleted ?
	This archive is not the CONSOLE$ACTIONS:CONSOLE$ARCHIVE_CLEANUP.COM
	but PCM Edit> sh archive


>    The oldest console log data will be archived when the disk
>    is 62.9 percent full. This amount represents the number of hours
>    of data that will be moved from the current logging location
>    to the new location.
>    When the archive procedure is invoked, 12 hours of data will be
>    removed from the live log file and placed in the archive location.
>    If no archive location is specified, the data will be deleted

>    Archive Summary
>    ---------------

>Archive hours    = 12
>Archive location = CONSOLE$ARCHIVE


	I'm looking how the CONSOLE$ACTIONS:CONSOLE$ARCHIVE_CLEANUP.COM
	is activated. I looked in the manuals and the notesfile
	but I didn't find a clue.
	So, I start digging in PCM and I found that there is a
	event 'CMgr Archive Area Full' with associated text :
	CONSOLEmanager Archive Area is FULL. When this event is seen,
	a dispatch Archive Clean-up(action is console$archive_cleanup)
	is done.
	My question is what does the CMgr Archive Area Full mean ?
	And how can I simulate this 'CMgr Archive Area' event ?
	I need this because a customer had 15 Archive Cle xx processes
	on his system.

	Any help/feedback is welcome.

	Thanks in advance.

	Rgds,

	Geert
T.RTitleUserPersonal
Name
DateLines
680.1BACHUS::WILLEMSGGeert Willems MCS-BelgiumThu Apr 20 1995 11:3811
    
    
    	Hi ,
    
    	Is there nobody that can answer on .0 ?
    
    	Help is very much appreciated by me and the CUSTOMER.
    
    	Rgds,
    
    	Geert
680.2YOSSAM::PHILIPAnd through the square window...Thu Apr 20 1995 11:5924
Geert,

  Archive area full means just that, the archive area you have told PCM
  you want to use is in fact full. This event will occur when an archive
  process can no longer write data in the archive area! This event will
  cause the archive cleanup procedure to run.

  The threshold values are completely unrelated, these determine when the
  archive procedure is executed (you get an event at the warning threshold
  and an event plus an archive procedure when the critical threshold is
  reached). The archive procedure executed is simply a "CONSOLE ARCHIVE"
  command with the appropriate qualifiers in order to archive the default
  number of hours you specified in the database as well as the systems on
  the device which has reached its critical threshold.

  Finally, if you want to simulate the archive area full event, simply fill
  up the disk you are using to archive to then perform an archive, when this
  archive fails, the archive area full event should happen.

  Has your customer read the documentation? Is it not clear enough? What
  extra details would they like it to cover?

Cheers,
Phil
680.3BACHUS::WILLEMSGGeert Willems MCS-BelgiumThu Apr 20 1995 12:1118
    
    
    	Hi Phil,
    
    	Thanks for the feedback. I think I have it --> The Archive
    	Area Full is only relevant when putting your archive on
    	another disk and indeed if that disk gets full ...
    
    	Rgds,
    
    	Geert
    
    PS 	There's a mistake in your archive cleanup procedure.
    	Change the following line : $           Delete ''Archive_File'
    	in 			  : $           Delete 'Archive_File
    	and it will work. Who has written this ? A UNIX guru ?
    	Anyway thanks for your help, once again. And goodluck with V1.6.
    	I'm very interested ...
680.4YOSSAM::PHILIPAnd through the square window...Thu Apr 20 1995 12:5819
>>Thanks for the feedback. I think I have it --> The Archive
>>Area Full is only relevant when putting your archive on
>>another disk and indeed if that disk gets full ...

  No, even if the archive area is on the same disk as the log
  files this will happen if it fills up.

>>    PS 	There's a mistake in your archive cleanup procedure.
>>    	Change the following line : $           Delete ''Archive_File'
>>    	in 			  : $           Delete 'Archive_File
>>    	and it will work. Who has written this ? A UNIX guru ?
>>    	Anyway thanks for your help, once again. And goodluck with V1.6.
>>    	I'm very interested ...

  Thanks for the bug report, we will get it fixed for V1.6.

Cheers,
Phil