Forum Discussion

GDYR_MPD's avatar
GDYR_MPD
Level 4
14 years ago

Client update from a different location

I am running v6.5.6 on an HP-UX 11.31 (Master) server.  I am trying to push out the 6.5.6 client to other Unix servers operating on HP-UX 11.11, 11.23, and 11.31.

The clients are running either: 5.1MP3, 5.1MP5, 6.5, 6.5.1, 6.5.3.1 or 6.5.5.

When I run the command /usr/openv/doco/proc/update_clients -Install_Client_Bins -ClientList <clients> on the Master server the information is copied to the remote clients /tmp directory.

The /tmp directory is not that large.  I would like to binary to be installed from /var/tmp.

I have edited the script update_clients variable TMPDIR=/var/tmp yet still get numerous errors. 

Update of /var/tmp/bp_inst.18541/java/nbj.conf completed for client serverA
CLIENT_CMD_SOCK from bpcd = 4
CLIENT_STAT_SOCK from bpcd = 5
BPCD connected
Couldn't read from file /usr/openv/netbackup/version on client serverA
Client read errno = 9
Version files do not match - updating.
Couldn't write to file /tmp/bp_inst.18541/bin_net.tar on client serverA
Client write errno = 0
client_bin.tar.Z size = 114536586
Couldn't write to file /tmp/bp_inst.18541/java/NB-Java.tar.Z on client serverA
Client write errno = 0
Couldn't write to file /tmp/bp_inst.18541/java/extract_java on client serverA
Client write errno = 0
Couldn't write to file /tmp/bp_inst.18541/java/JRE.tar.Z on client serverA
Client write errno = 0
Couldn't write to file /tmp/bp_inst.18541/bp_client_name on client serverA
Client write errno = 0
move_libs size = 2975
version size = 27
tar size = 885112
.sizes size = 14
client_config size = 52973
File /tmp/bp_inst.18541/bin_net.tar and/or /tmp/bp_inst.18541/bin.tar.Z is missing on serverA.  Cannot complete the client install.
client_config_failed

INF OTHER - EXIT STATUS = 1
EXIT STATUS = 1

Looks like /tmp is still trying to be used???

Anybody know how to install newer binaries from an alternate location?

  • Rather edit  'install_client' for each OS the master server.

    Exctract from /usr/openv/netbackup/client/Solaris/Solaris10/install_client on my Lab master:

    # Intentionally set TMPDIR to /tmp.
    TMPDIR=/tmp
    OPENV_DIR=/usr/openv
    BP_DIR=${OPENV_DIR}/netbackup
    BP_BIN=${BP_DIR}/bin
    DEST_DIR=/tmp/bp.${pid}
    DEST_JAVA_DIR=${DEST_DIR}/java

11 Replies