NetBackup: set exclude_list on Windows clients
Posted on November 30th, 2011
You need to set an exclude list for windows client using Unix Netbackup server.
# bpgetconfig -M win_client EXCLUDE EXCLUDE = C:\Program Files\Veritas\NetBackup\bin\*.lock EXCLUDE = C:\Program Files\Veritas\NetBackup\bin\bprd.d\*.lock EXCLUDE = C:\Program Files\Veritas\NetBackup\bin\bpsched.d\*.lock EXCLUDE = C:\Program Files\Veritas\Volmgr\misc\* EXCLUDE = C:\Program Files\Veritas\NetBackupDB\data\*
Then just append desired path to exclude and save the list back to client:
# bpgetconfig -M win_client EXCLUDE > /tmp/exclude_list.txt echo "H:\oracle\NWO\sapdata*" >> /tmp/exclude_list.txt # bpsetconfig -h win_client /tmp/exclude_list.txt
Filed under Veritas NetBackup | No Comments »
How to keep job history longer in NetBackup
Posted on November 17th, 2011
That is simple.
# echo KEEP_JOBS_HOURS = 192 | bpsetconfig # echo KEEP_JOBS_SUCCESSFUL_HOURS = 192 | bpsetconfig
Filed under Uncategorized | No Comments »
How to reset iLOM root password on Sun/Oracle X server
Posted on November 17th, 2011
if you’ve lost root password on Sun/Oracle X server, you can recovery it using ipmitool. This was tested on Sun X4600 M2, Solaris 10 installed.
# ipmitool user list 1 ID Name Callin Link Auth IPMI Msg Channel Priv Limit 1 false false true NO ACCESS 2 root false false true ADMINISTRATOR 12 radproxy true true true OPERATOR 13 ilomint true true true ADMINISTRATOR 14 ldapproxy true true true OPERATOR 15 pamproxy-admin true true true ADMINISTRATOR 16 pamproxy-oper true true true OPERATOR # ipmitool user set password 2 new-password
Now you can login using new-password.
$ ssh root@ilom Password: <new-password> Sun(TM) Integrated Lights Out Manager Version 2.0.2.5 Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. ->
Filed under Solaris, Sun Hardware | 1 Comment »
FreeBSD: how to get rid of annoying option asking during port install
Posted on November 15th, 2011
As you may notice, sometimes you install package using ports you have been asking about some compile time options shown as dialog(1) window. That is not bad but when you need to do massive port installation or portupgrade many hundreds ports at once this can be a real pain. So, you want to trust default option set and forget about build-time-decision-making. All you need is one string in /etc/make.conf
BATCH=yes
Filed under FreeBSD | No Comments »
FreeBSD: How to set certain packages not to be updated with portupgrade
Posted on November 15th, 2011
Suppose you need some packages remain intact while updating other ones with portupgrade. Then you need to tell to do so via /usr/local/etc/pkgtools.conf
HOLD_PKGS = [
'bsdpan-*',
'tomcat-*',
'jdk-*',
'javavmwrapper-*',
'diablo-*',
]Next time you run pkgtools you see that some packages are marked as “held”
# portversion -v | grep needs ... diablo-jdk-1.6.0.07.02_16 < [held] needs updating (port has 1.6.0.07.02_17) glib-2.28.8_1 < needs updating (port has 2.28.8_2) gnutls-2.12.12 < needs updating (port has 2.12.14) jdk-1.6.0.3p4_26 < [held] needs updating (port has 1.6.0.3p4_27) ...
Filed under FreeBSD | No Comments »
Disabling mpxio in Solaris 10
Posted on September 16th, 2011
When using Vertias DMP you should disable MPxIO in /kernel/drv/fp.conf:
mpxio-disable="yes";
And reboot.
Otherwise you will get single path on all of your disks over scsi_vhci
and only one controller visible for VxDMP
root@rtx1 # vxdmpadm getctlr all LNAME PNAME VENDOR CTLR-ID ====================================== c10 /scsi_vhci - -
Filed under Solaris, Veritas SF | 1 Comment »