Forum Discussion

Josh_Goodin's avatar
18 years ago
Solved

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 OFF
    REM 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-01
    REM Remove this line if you have no other media servers that will be allowed to access this machine
    REM SET ADDITIONALSERVERS=media2,media3,media4
    REM 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=0
    REM Installation options go here (1 to install the option, 0 otherwise)
    SET INSTALLVSP=0
    SET INSTALLDOCS=0
    REM This can be either 1 for Automatic or 0 for Manual.
    SET SERVICESTARTTYPE=1
    REM 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=Automatic
    REM Set to 1 to start the Job Tracker at every login, 0 otherwise. This option has no effect
    REM when reinstalling NetBackup.
    SET STARTTRACKER=0
    REM NetBackup Port Numbers
    SET BPCD_PORT=13782
    SET BPRD_PORT=13720
    SET VNETD_PORT=13724
    SET VOPIED_PORT=13783
    REM Stop NetBackup Processes
    REM WARNING please make sure no NetBackup jobs are active and all databases are shutdown.
    SET STOP_NBU_PROCESSES=0
    REM Stop Window Processes
    REM WARNING terminating windows processes may result in instability or termination of Windows applications.
    SET STOP_WINDOWS_PROCESSES=0
    REM Abort install if reboot is required
    SET ABORT_REBOOT_INSTALL=0
    REM --------------------------------------
    REM Do not change anything after this line
    REM --------------------------------------
    REM Package File name
    SET 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"
  • Yes. I don't know the particulars but I seem to remember there being a README file that details what must be done. perhaps some kind person will reply and explain in their post.
     
     
  • Maybe I did not understand the question correctly, but it semes to me that you just have to enter the master server name (and other parameters you want) in SilentClient.cmd and run it on your client. There is also a SilentPatch.cmd to install the latest MP.
  • Michel,
    You are spot on. I am a UNIX guy and do not know the particulars of the silent installs. If you have and docs/information on their useage then please either post it or send me a private message. Thanks!
     
     
  • 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 OFF
    REM 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-01
    REM Remove this line if you have no other media servers that will be allowed to access this machine
    REM SET ADDITIONALSERVERS=media2,media3,media4
    REM 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=0
    REM Installation options go here (1 to install the option, 0 otherwise)
    SET INSTALLVSP=0
    SET INSTALLDOCS=0
    REM This can be either 1 for Automatic or 0 for Manual.
    SET SERVICESTARTTYPE=1
    REM 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=Automatic
    REM Set to 1 to start the Job Tracker at every login, 0 otherwise. This option has no effect
    REM when reinstalling NetBackup.
    SET STARTTRACKER=0
    REM NetBackup Port Numbers
    SET BPCD_PORT=13782
    SET BPRD_PORT=13720
    SET VNETD_PORT=13724
    SET VOPIED_PORT=13783
    REM Stop NetBackup Processes
    REM WARNING please make sure no NetBackup jobs are active and all databases are shutdown.
    SET STOP_NBU_PROCESSES=0
    REM Stop Window Processes
    REM WARNING terminating windows processes may result in instability or termination of Windows applications.
    SET STOP_WINDOWS_PROCESSES=0
    REM Abort install if reboot is required
    SET ABORT_REBOOT_INSTALL=0
    REM --------------------------------------
    REM Do not change anything after this line
    REM --------------------------------------
    REM Package File name
    SET 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"