Veritas-bu

Re: [Veritas-bu] Unified Logging Gone Wild

2009-08-11 21:22:00
Subject: Re: [Veritas-bu] Unified Logging Gone Wild
From: Dominik.X.Pietrzykowski AT nab.com DOT au
To: "Martin, Jonathan" <JMARTI05 AT intersil DOT com>
Date: Wed, 12 Aug 2009 11:18:50 +1000

Hi Martin,

Here are some exerts from my cheat sheet. try to set a "number of days" to keep the logs.
It's set to 5 in this case, maybe you'll need to change it to 1 or 2 ?

The tech note at the bottom looks good, but only for background info on how it all works.

vxlogcfg -  is the answer to your issues
vxlogmgr - will only solve the symptom and not the problem.

Anyway, have a look below and email me any questions etc

Good luck,

Let me know how you go.

Dominik



######################### turn log recycling on etc

To enable log recycling as the default for all NetBackup originators run:
# vxlogcfg -a -p 51216 -o Default -s LogRecycle=true

# ./vxlogcfg -a -p 51216 -o Default -s NumberOfLogFiles=5
Note: It will be necessary to restart NetBackup for these changes to take effect.

To configure the log cleanup for PBX run the following command.
# ./vxlogcfg -a -p 50936 -o 103 -s NumberOfLogFiles=5
Note: It will be necessary to restart PBX for these changes to take effect.

To change the number of days to keep logs on the command line use:  
# /usr/openv/netbackup/bin/bpconfig -kl <days>


### Info about this one below: (turn off OS logging duplicate)

  UNIX:
       cd /opt/VRTSicsco/bin
       ./vxlogcfg -a -p 50936 -o 103 -s LogToOslog=false

The Veritas Private Branch Exchange (PBX) software is installed along with
  Veritas NetBackup 6.5.x  Depending on how NetBackup is installed, PBX may log
  messages by default to the UNIX system logs  /var/adm/messages or
  /var/adm/syslog, or to the Windows Event Log.  This can cause additional
  system logging that the system administrator may not desire.  The messages
  written to the system logs are the same as those written to the PBX logs
  (/opt/VRTSpbx/log on UNIX and <install_path>\VxPBX\log on Windows).

  To disable PBX logging to the system or event logs after NetBackup has been
  installed, enter the following commands:

  UNIX:
       cd /opt/VRTSicsco/bin
       ./vxlogcfg -a -p 50936 -o 103 -s LogToOslog=false

  Windows:
       cd <install_path>\VERITAS\VRTSicsco
       vxlogcfg –a –p 50936 –o 103 –s LogToOslog=false

  It should not be necessary to restart PBX for this setting to take effect.
  Any future PBX log information should no longer appear in the system logs.

  For more information about this issue or information on how to disable the
  option, refer to the following TechNote on the Symantec Support Web site.

  http://entsupport.symantec.com/docs/280746

************ run these !!!!!!!!!!!!!


vxlogcfg -a -p 51216 -o Default -s LogRecycle=true

vxlogcfg -a -p 51216 -o Default -s NumberOfLogFiles=5

vxlogcfg -a -p 50936 -o 103 -s NumberOfLogFiles=5

vxlogcfg -a -p 51216 -o Default -s DebugLevel=0 -s DiagnosticLevel=0

bpconfig -kl 5

#################################

DOCUMENTATION: How to configure log file rotation for Unified logging using "vxlogcfg".
http://support.veritas.com/docs/279541  

DOCUMENTATION: How to configure automatic cleanup and recycling of unified log files with
Veritas NetBackup (tm) 6.0
http://support.veritas.com/docs/279590

DOCUMENTATION: How to configure Veritas NetBackup (tm) 6.x to write unified log files to
a different directory
http://support.veritas.com/docs/281360

All Veritas NetBackup (tm) 6.0 logging should reside on a dedicated file system to
prevent corruption of the NetBackup Enterprise Media Manager database when a disk full
condition occurs.
http://support.veritas.com/docs/282805    

DOCUMENTATION: A comprehensive list of NetBackup (tm) 6.0 directories and commands
relating to Unified Logging.
http://support.veritas.com/docs/278572




"Martin, Jonathan" <JMARTI05 AT intersil DOT com>
Sent by: veritas-bu-bounces AT mailman.eng.auburn DOT edu

11/08/2009 11:38 PM

To
<veritas-bu AT mailman.eng.auburn DOT edu>
cc
Subject
[Veritas-bu] Unified Logging Gone Wild






I've recently set unified logging to verbose for a couple of trouble
tickets with Symantec and they've proceeded to take over my disk space.
I've been running vxlogmgr -d -a -q to delete them (and manually
deleting them as well.)  I've also run vxlogcfg -a -p 51216 -o ALL -s
DebugLevel=0 -s DiagnosticLevel=0 to reset the logging to its lowest
level but I'm still producing 100GB of logs weekly.  Unfortunately, the
logs are on a 60GB partition, so I'm frequently having to intervene.
Does anyone know exactly how I can reset the logging to zero?  Obviously
I'm doing something wrong.

-Jonathan
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


This e-mail is sent by or on behalf of the named sender identified above.
If:

(a) you do not wish to receive any e-mail marketing material from this person in the future, please forward the contents of this email to unsubscribe AT nab.com DOT au with the word "unsubscribe" in the subject box.

(b) you wish to unsubscribe from all central e-mail marketing lists used by our business, please forward the contents of this e-mail to unsubscribeall AT nab.com DOT au with the message "unsubscribe from a ll central e-mail marketing lists" in the subject box.

If you do not forward the contents of this e-mail with your unsubscription then it may not be able to be implemented.

The information contained in this e-mail communication may be confidential. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. If you are not the intended recipient of this e-mail communication, please immediately notify us by e-mail to postmaster AT nab.com DOT au, or reply by e-mail direct t o the sender and then destroy any electronic and paper copy of this message. Any views expressed in this e-mail communication are those of the individual sender, except where the sender specifically states them to be the views of a member of the National Australia Bank Group of companies. Any advice contained in this e-mail has been prepared without taking into account your objectives, financial situation or needs. Before acting on any advice in this e-mail, National Australia Bank Limited recommends that you consider whether it is appropriate for your circumstances. If this e-mail contains reference to any financial products, the National recommends you consider the Product Disclosure Statement (PDS) or other disclosure document before making any decisions regarding any products. The National Australia Bank Group of companies does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus or interference.


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>