04-30-2014 06:57 AM
Hello,
I'm updating Java on our Solaris 10, RHEL 5 and SLES 11 servers. I'm using NetBackup 7.5. The current version of the java the NetBackup is using is 1.7.0_25. The current version of Java is 1.7.0_55. The client versions are located here; /usr/openv/java/jre/bin/sparcv9/java and /usr/openv/java/jre/bin/java.
I used to use this document from this site - http://www.symantec.com/business/support/index?page=content&id=TECH148257 This article is for an older client, which uses Java 6. Also this doesn't work on the media and master servers.
So my question is how do we upgrade Java on the clients. None of my servers have Java 7 installed, meaning a non-embedded system version. So I can't use the .nbjconf file to direct the client to the system Java.
Solved! Go to Solution.
05-01-2014 09:13 PM
I followed the instrucions in TECH148257 with JRE 7 Update 55, Solaris 10 SPARC and NetBackup 7.6.0.1. It works! Login window comes up and I can connect to the server.
$ sh -x /usr/openv/netbackup/bin/jnbSA : + /usr/java/jre1.7.0_55/bin/java -Dvrts.NBJAVA_CONF=/usr/openv/java/nbj.conf -showversion -d64 -Dvrts.common.server.LCCTYPE="ja" -Dvrts.common.server.LOG_CMDLINES=false -Djava.library.path=/usr/openv/lib -Dvrtsat.datadir=/usr/openv/var/vxss/at -Dvrtsat.home=/usr/openv/netbackup/sec/at -Dvrts.common.utilities.DEBUG_PROPERTIES=/usr/openv/java/Debug.properties -Dvrts.nbe.HOSTNAME= -Dvrts.nbe.INST_REL=760000 -Dvrts.nbe.BUILDNO=20131113 -Djava.util.prefs.PreferencesFactory=vrts.common.launch.PropertiesPreferencesFactory -Xms256M -Xmx512M vrts.nbe.AdminConsole
05-01-2014 03:02 AM
The technique written in this technote is common and independent from version of JRE and NetBackup. Have you already tried it?
Anyway, you need to install JRE onto your host to use up-to-date JRE. Steps described in tjis technote seems best. I think there are no safe way other than installing JRE into alternative path and modifying PATH environment.
05-01-2014 05:52 AM
Thanks for replying to my post.
I have been using the technique from the technote I linked to, for so time. The fix in the technote doesn't work on the NetBackup Media and Master servers though. The Java console window (jnbSA) will not work, it errors out.
The JRE on the NetBackup client servers are Java 5 or 6 and a lot of the Linux servers have no java installed at all, other then the one from NetBackup.
The fact that the NetBackup client is now using Java 7 made me wonder if I could still use this method. The system Java is still Java 5 on a lot of systems.
05-01-2014 06:12 AM
>>The Java console window (jnbSA) will not work, it errors out.
What is the exact error text?
05-01-2014 08:29 AM
I made the change as directed by the technote and it is not giving me the error. I guess something else was causing the error.
05-01-2014 09:13 PM
I followed the instrucions in TECH148257 with JRE 7 Update 55, Solaris 10 SPARC and NetBackup 7.6.0.1. It works! Login window comes up and I can connect to the server.
$ sh -x /usr/openv/netbackup/bin/jnbSA : + /usr/java/jre1.7.0_55/bin/java -Dvrts.NBJAVA_CONF=/usr/openv/java/nbj.conf -showversion -d64 -Dvrts.common.server.LCCTYPE="ja" -Dvrts.common.server.LOG_CMDLINES=false -Djava.library.path=/usr/openv/lib -Dvrtsat.datadir=/usr/openv/var/vxss/at -Dvrtsat.home=/usr/openv/netbackup/sec/at -Dvrts.common.utilities.DEBUG_PROPERTIES=/usr/openv/java/Debug.properties -Dvrts.nbe.HOSTNAME= -Dvrts.nbe.INST_REL=760000 -Dvrts.nbe.BUILDNO=20131113 -Djava.util.prefs.PreferencesFactory=vrts.common.launch.PropertiesPreferencesFactory -Xms256M -Xmx512M vrts.nbe.AdminConsole
05-05-2014 10:17 AM
Ok,
I'm asking if there is anther way to patch Java that comes with NetBackup if there is no sytem Java installed.
05-05-2014 12:51 PM
There is no other way I think.