cancel
Showing results for 
Search instead for 
Did you mean: 

NetBackup Java GUI on Solaris - 2 versions 6.5 and 5.1

Thomas_Anthony
Level 5

Can the NB 5.1 Solaris Java GUI be installed on 6.5.4 Solaris clients without interfering with the working 6.5.4 client Java GUI ?

We‘ve recently migrated several NB 5.1 Solaris clients from a legacy NB 5.1 master to a new NB 6.5.4 Master environment.  The Solaris clients are now running 6.5.4.

We’re having problems with self-service restores.  The owners of the Solaris 6.5.4 clients are able to use their NBU Java GUI to restore their own files from the 6.5.4 Master server.  However, because the legacy 5.1 backup images are still going to reside on the legacy 5.1 Master, the Solaris 6.5.4 clients can no longer search or access their legacy 5.1 backup images.

We though that maybe we could install the NB 5.1 Java GUI on the NB 6.5.4 Solaris clients so they can access their 5.1 backup images.

Q:  If this is possible, how could we install the 5.1 GUI on these Solaris clients so it doesn’t interfere with the working 6.5.4 Java GUI ?

Q:  What NB 5.1 Java file would be used for install ?

 

Thanks for any assistance.

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Not sure that it can be done on a Solaris client ...

Solaris clients install by default to /usr/openv. Client binaries includes jbpSA. There is no option to specify a different path during installation.

The only way I can see is to rename the 6.5 /usr/openv to something like /usr/openv6.5. Then install 5.1 client. When done with restore, rename the 5.1 version in /usr/openv to /usr/openv5.1, then rename /usr/openv6.5 to /usr/openv. I haven't tested this (never tried it and no access to our lab machines right now - I'm on leave this week) but as far as I'm aware, all install files reside in the one folder - no system files are updated during a client installation.

View solution in original post

14 REPLIES 14

wizard_s32
Level 4

I guess when u build the 6.5.4 u should have imported the catalog of 5.1 in 6.5.4 that would have helped.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Yes, you can install 5.1 Java as well. I personally had 3 Java versions installed at one stage - 6.5, 6.0 and 5.1. No problem.

 Just do a Custom install and specify a different installation folder, e.g C:\Program Files\VERITAS\Java51\

Find the Java 'setup.exe' on the Windows installation cd under Addons\JavaInstallFiles.

Thomas_Anthony
Level 5

Thank you both for your rapid response !

Not importing the 5.1 backup images to the 6.5 master is a project limitation imposed by management due to the storage allocated to the 6.5 master.  Perhaps in the near future...

I've used with much success, your multiple Windows Java version install article found on this very forum.  I'm searching for a similar best practice for installing the 6.5, 6.0, 5.1 Java GUIs on a Solaris client. 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Not sure that it can be done on a Solaris client ...

Solaris clients install by default to /usr/openv. Client binaries includes jbpSA. There is no option to specify a different path during installation.

The only way I can see is to rename the 6.5 /usr/openv to something like /usr/openv6.5. Then install 5.1 client. When done with restore, rename the 5.1 version in /usr/openv to /usr/openv5.1, then rename /usr/openv6.5 to /usr/openv. I haven't tested this (never tried it and no access to our lab machines right now - I'm on leave this week) but as far as I'm aware, all install files reside in the one folder - no system files are updated during a client installation.

Thomas_Anthony
Level 5

Would this work ? 

Restore a copy of the Solaris client's legacy NB 5.1 /openv/ directories to a subdirectory location under the client's current 6.5 /openv/ directory.

All the 5.1 binaries and Java file would be in place, the bp.conf would be a known working configuration, the 5.1 config would never be referenced by the 6.5 config since the NB 5.1 directory name is unique. The user(s) could just set an alias to the 6.5 and the 5.1 GUI.

Will need to see if the Java 5.1 GUI is hardcoded to use a bp.conf default path (/usr/openv/netbackup/), or if the paths could be edited in some 5.1 file.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

I would personally keep the 6.5 and 5.1 installations separate (as per my previous post). Each copy would have it's own bp.conf where 1st SERVER entry will point to the relevant Master.

If you decide to test either method (yours or mine), please make a backup of /usr/openv folder (using tar) so that you can recover to a known state.

Will_Restore
Level 6

Put away the computer & GO HAVE SOME FUN!  smiley

(thanks for all your help on this forum)

CRZ
Level 6
Employee Accredited Certified

I BELIEVE we still provide a 5.1 jar file with 6.5!   (Check /usr/openv/java for files including a "_51" substring.)

Try `jnbSA -r 5.1` and see what comes up.  With any luck, it WON'T be a Java exception.  ;)

Please note: The 5.1 console is removed in 7.0 - on my test system, only "6.0", "6.5" and "7.0" are valid values for the "-r" command line switch.  (Obviously, the default is "7.0," which is what you get when you just enter `jnbSA` without the switch)

 

Thomas_Anthony
Level 5

Hello Chris,  thanks for the great info ! Using the 6.5.4 Java GUI with the compatibility parameter is great. (i.e. jnbSA -r 5.1), and works great when logged in as root.

However, when logged in as regular user I get the following permission errors creating the java log. 

$ ./jnbSA
./jnbSA: /usr/openv/netbackup/logs/user_ops/nbjlogs/jbp.pcaprice.jnbSA.16162.log: cannot create, etc, etc...

$ ./jbpSA
./jbpSA: /usr/openv/netbackup/logs/user_ops/nbjlogs/jbp.pcaprice.jbpSA.15432.log                                                                   : cannot create, etc, etc...

Due to operational limitations on some of the servers, I cannot change the permissions of the log directory.

drwxrwxr-x   2 root     bin          512 Nov  7  2009 nbjlogs

Is there a work-around ?  (i.e. disable java logging)

Thanks

CRZ
Level 6
Employee Accredited Certified

I don't think so, unfortunately.

Shoot, we almost had you set up!

Would it be possible to set up a group of console users and then `chgrp` the nbjlogs directory from bin to that new group?  That might work...but it might be something that you have to remember you did down the line in case the directory ever gets re-created with the original bin group.

Thomas_Anthony
Level 5

Thanks, I was able to get approval to change the permissions of the /user_ops/nbjlogs/ directory to 777 since there are other Netbackup log directories that also have 777 permissions.

The next problem is that when the NB Java GUI starts up, the non-root users are prompted for their username and password, but the access fails with invalid password. I'm gueesing the GUI is looking for a root password, but these are users with less account access.  Would it be better if they use the jbpSA ?

bectaylor76
Level 3

Hello all!!

I have a similar situation here where we have migrated clients to a 6.5 master and also upgraded the clients to 6.5.  Now we have users wanting to do restores from the legacy 5.1 master images.  I thought at first that just leaving the migrated clients at 5.1 and then installing the 5.1 GUI separately that could work.  Then I thought about the server lists and bp.conf.  That would need to be changed every single time you do a restore to the legacy master and media servers right?  Then back to the new server list or bp.conf when the restore is completed? 



Thanks,

BT

edson_francisco
Not applicable

1/10/2011 10:49:42 AM - begin Restore
1/10/2011 10:49:43 AM - 1 images required
1/10/2011 10:49:43 AM - media 7E6452 required
1/10/2011 10:49:47 AM - restoring image svr-powertrack_1294584556
1/10/2011 10:49:49 AM - requesting resource 7E6452
1/10/2011 10:49:50 AM - started process bptm (5724)
1/10/2011 10:49:50 AM - mounting 7E6452
1/10/2011 10:49:50 AM - connecting
1/10/2011 10:49:50 AM - granted resource 7E6452
1/10/2011 10:49:50 AM - granted resource HP.ULTRIUM3-SCSI.001
1/10/2011 10:49:57 AM - mounted; mount time: 00:00:07
1/10/2011 10:49:57 AM - positioning 7E6452 to file 83
1/10/2011 10:49:58 AM - connected; connect time: 00:00:08
1/10/2011 10:49:58 AM - positioned 7E6452; position time: 00:00:01
1/10/2011 10:49:58 AM - begin reading
1/10/2011 10:50:00 AM - Warning bpbrm(pid=5808) from client svr-restore: WRN - can't create directory: \\?\UNC\Svr-restore\restore (WIN32 5: Access is denied. )
1/10/2011 10:50:00 AM - Warning bpbrm(pid=5808) from client svr-restore: WRN - can't create file: \\Svr-restore\restore\Cuca-SA.pdb (WIN32 5: Access is denied. )
1/10/2011 10:50:42 AM - Warning bpbrm(pid=5808) from client svr-restore: WRN - can't create file: \\Svr-restore\restore\Cucca-SA.pdb (WIN32 5: Access is denied. )
1/10/2011 10:50:51 AM - Warning bpbrm(pid=5808) from client svr-restore: WRN - can't create file: \\Svr-restore\restore\EMPTY.BAK (WIN32 5: Access is denied. )
1/10/2011 10:50:51 AM - Warning bpbrm(pid=5808) from client svr-restore: WRN - can't create file: \\Svr-restore\restore\plugtask.dat (WIN32 5: Access is denied. )
1/10/2011 10:50:51 AM - Warning bpbrm(pid=5808) from client svr-restore: WRN - can't create directory: \\?\UNC\Svr-restore\restore\PositionExport (WIN32 5: Access is denied. )
1/10/2011 10:50:51 AM - Warning bpbrm(pid=5808) from client svr-restore: WRN - can't create file: \\Svr-restore\restore\POWERTRACK.PDB (WIN32 5: Access is denied. )
1/10/2011 10:50:51 AM - Warning bpbrm(pid=5808) from client svr-restore: WRN - can't create file: \\Svr-restore\restore\vehidx.80 (WIN32 5: Access is denied. )
1/10/2011 10:50:52 AM - end reading; read time: 00:00:54
1/10/2011 10:50:53 AM - restored image svr-powertrack_1294584556 - (the restore failed to recover the requested files(5)); restore time 00:01:06
1/10/2011 10:50:53 AM - Warning bprd(pid=4596) Restore must be resumed prior to first image expiration on 3/12/2011 3:49:16 PM
1/10/2011 10:50:53 AM - end Restore; elapsed time: 00:01:11
the restore failed to recover the requested files(5)

please help-me 

Will_Restore
Level 6

Please open a new thread as yours is unrelated to this one.