Josh_Goodin
18 years agoLevel 4
customize netbackup client install
We are looking to customize the netbackup client install so it automatically poplutes the master server field during install. Can this be done?
- Hi Bob,I'm not a UNIX guy!... but for Windows, the NBU kits come with a silentclient.cmd and silentpatch.cmd procedure. You just have to set a few parameters and then can do an unattended install just by running it on the client. See example below for silentclient. Silentpatch.cmd has no parameters to setup.Cheers!REM $Id: silentclient.cmd,v 1.11 2005/03/07 16:20:32 $
REM
REM bcpyrght
REM *******************************************************************************
REM $VRTScprght: Copyright 1993 - 2005 Symantec Corporation, All Rights Reserved $
REM *******************************************************************************
REM ecpyrght
REM@ECHO OFFREM Change the following lines to reflect the name of this master server, and any other servers
REM allowed to access this client. These options have no effect when reinstalling NetBackup.SET CLIENT=%COMPUTERNAME%
SET MASTERSERVER=swigva01-bck-01REM Remove this line if you have no other media servers that will be allowed to access this machineREM SET ADDITIONALSERVERS=media2,media3,media4REM Destination directory goes here.SET INSTALLDIR=C:\Program Files\VERITAS\REM Use 1 to Install the Debug Symbols, 0 to not install them.SET INSTALLDEBUG=0REM Installation options go here (1 to install the option, 0 otherwise)SET INSTALLVSP=0
SET INSTALLDOCS=0REM This can be either 1 for Automatic or 0 for Manual.SET SERVICESTARTTYPE=1REM Use Automatic to set the services to automatically start, Manual to manually start them.
REM This option has no effect when reinstalling NetBackup.SET SERVICESTARTTYPE=AutomaticREM Set to 1 to start the Job Tracker at every login, 0 otherwise. This option has no effect
REM when reinstalling NetBackup.SET STARTTRACKER=0REM NetBackup Port NumbersSET BPCD_PORT=13782
SET BPRD_PORT=13720
SET VNETD_PORT=13724
SET VOPIED_PORT=13783REM Stop NetBackup Processes
REM WARNING please make sure no NetBackup jobs are active and all databases are shutdown.SET STOP_NBU_PROCESSES=0REM Stop Window Processes
REM WARNING terminating windows processes may result in instability or termination of Windows applications.SET STOP_WINDOWS_PROCESSES=0REM Abort install if reboot is requiredSET ABORT_REBOOT_INSTALL=0REM --------------------------------------
REM Do not change anything after this line
REM --------------------------------------REM Package File nameSET PACKAGEFILE="VERITAS NetBackup Client.msi"SET LOGFILE="%TEMP%\NetBackup Install.log"SET LOG=/l*v %LOGFILE%SET MSIEXEC="%SYSTEMROOT%\System32\msiexec.exe"
%MSIEXEC% %LOG% /i %PACKAGEFILE% /qn INSTALLDIR="%INSTALLDIR%" MASTERSERVERNAME="%MASTERSERVER%" ADDITIONALSERVERS="%ADDITIONALSERVERS%" NETBACKUPCLIENTINSTALL=1 SERVERS="%MASTERSERVER%,%ADDITIONALSERVERS%" CLIENTNAME="%CLIENT%" NBOTMINSTALL="%INSTALLVSP%" NBINSTALLDOCS="%INSTALLDOCS%" NBSTARTTRACKER="%STARTTRACKER%" STARTUP="%SERVICESTARTTYPE%" NBSTARTSERVICES="%SERVICESTART%" BPCD_PORT="%BPCD_PORT%" BPRD_PORT="%BPRD_PORT%" CLIENTSLAVENAME="%CLIENT%" SILENTINSTALL="1" NUMERICINSTALLTYPE="1" INSTALLDEBUG="%INSTALLDEBUG%" STOP_NBU_PROCESSES="%STOP_NBU_PROCESSES%" STOP_WINDOWS_PROCESSES="%STOP_WINDOWS_PROCESSES%" ABORT_REBOOT_INSTALL="%ABORT_REBOOT_INSTALL%" REBOOT="ReallySuppress"