KeirL
16 years agoLevel 6
cp_to_client for upgrading clients
Hi everyone
I found the below white paper which says it's possible to install version 5.0 or 5.1 clients by running the cp_to_client script as an alternative method to pushing out clients. I tried this with version 6.0 client binaries as a way to upgrade from version 5.1 to 6.0 and it seemed to work - backups and restores work fine and it reports as being 6.0 when accessed from the Master server.
Does anyone know if there are any gotcha's with doing this?
I know there are other ways to push out clients, but this particular method very much suits my environment.
Thanks
K
Details of what I found on the Symantec Website follows:
Manual: Installation Guide for VERITAS NetBackup (tm) 5.0 and 5.1 for UNIX
Page: 69 for version 5.0 and page 71 for version 5.1
Modification Type: Addition
Modification: The following method may work as an alternative for installing client binaries on systems that do not have a local CD-ROM and cannot be pushed from the master server.
1. Mount the CD-ROM on a system that is local but has network connectivity to the client that needs to be installed
2. Change directory to <mount_point>/<netbackup_directory>/NBClients/anb/Clients/usr/openv/netbackup/client/<client_type>/<client_os_level>.
For <client_type>, use Solaris, RS600, HP9000-800, Linux, INTEL, etc.
For <client_os_level>, use the appropriate client OS, such as Solaris7, RedHat2.4, HP-UX11.11, etc.
3. Run the following:
./cp_to_client <server_hostname> <client_hostname>
For <server_hostname> use the master server name
For <client_hostname> use the client server name
Use caution when running this command. It has been reported in several cases that the local client has been overwritten when the <server_hostname> and <client_hostname> parameters have been swapped around. As a precaution, after the completion of the installation, cat the /usr/openv/netbackup/bin/version file on the local machine to make sure that the client binaries have not been overwritten.
I found the below white paper which says it's possible to install version 5.0 or 5.1 clients by running the cp_to_client script as an alternative method to pushing out clients. I tried this with version 6.0 client binaries as a way to upgrade from version 5.1 to 6.0 and it seemed to work - backups and restores work fine and it reports as being 6.0 when accessed from the Master server.
Does anyone know if there are any gotcha's with doing this?
I know there are other ways to push out clients, but this particular method very much suits my environment.
Thanks
K
Details of what I found on the Symantec Website follows:
Manual: Installation Guide for VERITAS NetBackup (tm) 5.0 and 5.1 for UNIX
Page: 69 for version 5.0 and page 71 for version 5.1
Modification Type: Addition
Modification: The following method may work as an alternative for installing client binaries on systems that do not have a local CD-ROM and cannot be pushed from the master server.
1. Mount the CD-ROM on a system that is local but has network connectivity to the client that needs to be installed
2. Change directory to <mount_point>/<netbackup_directory>/NBClients/anb/Clients/usr/openv/netbackup/client/<client_type>/<client_os_level>.
For <client_type>, use Solaris, RS600, HP9000-800, Linux, INTEL, etc.
For <client_os_level>, use the appropriate client OS, such as Solaris7, RedHat2.4, HP-UX11.11, etc.
3. Run the following:
./cp_to_client <server_hostname> <client_hostname>
For <server_hostname> use the master server name
For <client_hostname> use the client server name
Use caution when running this command. It has been reported in several cases that the local client has been overwritten when the <server_hostname> and <client_hostname> parameters have been swapped around. As a precaution, after the completion of the installation, cat the /usr/openv/netbackup/bin/version file on the local machine to make sure that the client binaries have not been overwritten.
- To achieve this I used the client name for both switches eg cp_to_client <clientname> <clientname> as I've assumed that this is necessary to determine the source and destination of the client binaries.
<servername> is actually used to generate a SERVER entry in the bp.conf if it doesn't exist already, so I don't think you'd want to replace that with your client's hostname. If it's a pre-existing client, I don't know if it actually gets used at all, though - might want to check your bp.conf on the upgraded client for any spurious/wrong entries to be safe.
I THINK that's all it's used for. (I didn't spend a lot of time scanning through that script but that's how it looked to me.)