08-22-2016 04:55 AM
Hello
Trying to find the command line(s) to add a MSDP replication target on a storage server
Have tried both the manuals, the Veritas support site and an external search engine without luck.
Regards
Michael
08-25-2016 03:19 AM
Hello
Were you looking at nbstl command??
IE
nbstl SLP_NAME -add -dc Platinum -uf 0,3,1 -source 0,1,1
-residence stu_disk_sserver,__NA__,stu -pool __NA__,__NA__,tape_pool -rl 1,1,1 -target_master __NA__,remotesserver,__NA__ -target_importslp __NA__,tgtslpname,__NA__ -managed 0,0,0
08-25-2016 04:37 AM
Hadn't as my understanding was that the remote storage server should be added before creating the SLP.
Like you do in the java console under credentials/storage server/change storage server/replication.
Will give nbstl a look
08-25-2016 04:53 AM
nbstl gives
error 1528: The source copy for a duplication to remote master is not capable of replication
unfortunately.
08-25-2016 06:05 AM
Hello
Looks like I misunderstood...
Sorry the command you do look after is most likely nbseccmd... Above example was to create SLP to replicate...
DESCRIPTION
The nbseccmd -setuptrustedmaster command sets up a one-way or two-way
trust relationship between a master server and a remote master server. You can
specify that only the master server trusts the remote master server (-localonly)
or that only the remote master trusts the master server (-remoteonly).
This command can be run only on the master server.
08-25-2016 01:41 PM
Pretty sure nbseccmd is not what I am looking for, as that has to do with security/NBAC which not a requirement for replication.
Still think nbdevconfig would make most sense, maybe in combination with tpconfig for the login setting.
08-26-2016 02:21 AM
I do not have the answer, just a suggestion:
Enable Java Console logging, then perform the action in the GUI.
Check the log to see the command that was issued in the backgroud to perform the GUI action.
Not sure if it all still works the same in NBU 7.7, but this has worked for me in version 7.6.x :
Locate Debug.properties file on the machine where you are running Java Console.
Good idea to do this on the master server as well.
Ensure these lines are uncommented:
printcmds=true
printCmdLines=true
debugMask=0x00040000
Change the last line to:
debugMask=0x0C000000
Save the file. Close Java GUI and open/logon again.
Make some changes in the GUI.
The command(s) will be logged in nbjlogs.
On my laptop (where I have Java Console installed), the path is :
C:\Program Files\Veritas\NetBackup\logs\user_ops\nbjlogs
08-26-2016 04:42 AM
Thanks, found something called addreplication thread, but sadly not the actually command(s)