Netbackup Client (solaris9) handmatig toevoegen

Over het handmatig installeren van een NB-client op een Solaris9 server

– op de NB-master
– in /usr/openv/netbackup/client/Solaris
Staat een directory Solaris9
– doe daar tar cvf sol9.tar Solaris9
– scp de tar sol9.tar naar een solaris9 systeem waarvan je de NB-client wilt upgraden
– pak daar de tar uitclient_bin.tar
– in de directory Solaris9 die je net hebt uitgepakt staat een bestand client_bin.tar.Z
– gunzip client_bin.tar.Z
– in /usr staat openv
– tar deze als backup
tar cvf openv.tar openv
– gzip -9 openv.tar
– kopieer nu client_bin.tar uit de uitgepakte directory Solaris9 naar /usr
– tar xvf client_bin.tar
– in de uitgepakte directory Solaris9 staat een script move_libs
– run dat, (de nieuwe libraries worden nu hernoemd van *_new naar de juiste naam)
– kopieer Solaris9/version naar /usr/openv/netbackup/bin/ en /usr/openv/netbackup/
– kopieer Solaris9/fsanalyze naar /usr/openv/netbackup/bin/
– kopieer Solaris9/tar naar /usr/openv/netbackup/bin/
– kopieer nbj.conf /usr/openv/netbackup/ en /usr/openv/java/
– Maak een bestand /usr/openv/netbackup/nblog.conf
Met de onderstaande inhoud:

#$Id: nblog.conf.template,v 1.41 2005/08/04 21:11:56 $#
#$VRTScprght: Copyright 1993 - 2005 VERITAS Software Corporation, All Rights Reserved $
#PLEASE DO NOT EDIT THIS FILE MANUALLY. USE COMMAND LINE INTERFACE
#vxlogcfg INSTEAD.
#Please do not edit the L10nResource related settings

Default.LogDirectory=/usr/openv/logs
Default.DebugLevel=1
Default.DiagnosticLevel=1
Default.LogToStdout=false
Default.LogToStderr=false
Default.LogToOslog=false
Default.L10nLib=/usr/openv/lib/libvxexticu.so
Default.L10nResourceDir=/usr/openv/resources
Default.RolloverMode=FileSize
Default.RolloverAtLocalTime=00.00
Default.NumberOfLogFiles=3
Default.MaxLogFileSizeKB=5120
Default.LogFilePermissions=664
Default.SyslogIdent=VRTS-NB
Default.SyslogOpt=0
Default.SyslogFacility=LOG_LOCAL5


#Originators
102.L10nResource=nbwrg
102.OIDNames=nbwrg

111.L10nResource=emm
111.OIDNames=nbemm

113.L10nResource=nbcim
113.OIDNames=nbcim

116.L10nResource=nbpem
116.OIDNames=nbpem

117.L10nResource=nbjm
117.OIDNames=nbjm

118.L10nResource=nbrb
118.OIDNames=nbrb

119.L10nResource=bmrd
119.OIDNames=bmrd,bmrbd
119.L10nLib=/usr/openv/lib/libvxexticuST.so

121.L10nResource=bmrsavecfg
121.OIDNames=bmrsavecfg
121.L10nLib=/usr/openv/lib/libvxexticuST.so

122.L10nResource=bmrc
122.OIDNames=bmrc
122.L10nLib=/usr/openv/lib/libvxexticuST.so

123.L10nResource=bmrs
123.OIDNames=bmrs
123.L10nLib=/usr/openv/lib/libvxexticuST.so

124.L10nResource=bmrmedia
124.OIDNames=bmrcreatefloppy
124.L10nLib=/usr/openv/lib/libvxexticuST.so

125.L10nResource=bmrsrt
125.OIDNames=bmrsrtadm
125.L10nLib=/usr/openv/lib/libvxexticuST.so

126.L10nResource=bmrprep
126.OIDNames=bmrprep
126.L10nLib=/usr/openv/lib/libvxexticuST.so

127.L10nResource=bmrsetup
127.OIDNames=bmrsetupmaster,bmrsetupboot
127.L10nLib=/usr/openv/lib/libvxexticuST.so

128.L10nResource=bmrcommon
128.OIDNames=bmrcommon,bmrlibs,bmrmisc              
128.L10nLib=/usr/openv/lib/libvxexticuST.so

129.L10nResource=bmrconfig
129.OIDNames=bmrconfig
129.L10nLib=/usr/openv/lib/libvxexticuST.so

130.L10nResource=bmrpkg
130.OIDNames=bmrcreatepkg
130.L10nLib=/usr/openv/lib/libvxexticuST.so

131.L10nResource=bmrrestore
131.OIDNames=bmrrestore
131.L10nLib=/usr/openv/lib/libvxexticuST.so

132.L10nResource=nbsl
132.OIDNames=nbsl

134.L10nResource=ndmpagent
134.OIDNames=ndmpagent
134.L10nLib=/usr/openv/lib/libvxexticuST.so

137.L10nResource=libraries

140.L10nResource=mmui
140.OIDNames=mmui

142.L10nResource=bmrepadm
142.OIDNames=bmrepadm
142.L10nLib=/usr/openv/lib/libvxexticuST.so

143.L10nResource=emm
143.DebugLevel=2
143.OIDNames=mds

144.L10nResource=emm
144.OIDNames=da

151.L10nResource=ndmp
151.OIDNames=ndmp

153.L10nResource=nbgenjob
153.OIDNames=nbgenjob

154.L10nResource=bmrovradm
154.OIDNames=bmrovradm

#TAO debug level
156.DebugLevel=0

157.L10nResource=nbnos
157.OIDNames=nbnos

163.L10nResource=nbsvcmon
163.OIDNames=nbsvcmon

Als laatste run dit commando:

/usr/openv/netbackup/bin/vxlogcfg -a -p 51216 -c /usr/openv/netbackup/nblog.conf -n NB,nb

Geeft deze output:
The configuration settings were added successfully.
Netbackup weet nu wat en waar er wordt gelogd.
Als je dit commando niet runt krijg je deze foutmelding in de activetylog “Error bpbrm ERR – Error occurred during initialization. Could not read logging configuration file. ” De backup loopt dan wel.

– Controleer nu of de backup het doet en watvoor versie van de client er wordt gerapporteerd door de GUI onder host properties en clients.

Rollback
In geval van dat je een rollback moet doen, kan je /urs/openv moven naar /usr/openv.org oid en restore de orginele /usr/openv met de tar-file openv.tar

Bookmark de permalink.

Geef een reactie

Je e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *