Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

NBU Log shipping

Updated: 21 May 2010 | 15 comments
Rithesh's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Hi All,

I have master server 6.5.2A with single drive with less space.

I need to ship the logs created by NBO to another share drive.

Could anyone advice on this ???

Thanks in advance.

Ritz

discussion Filed Under:

Comments

Deeps's picture
18
Sep
2009
1 Vote +1
Login to vote

To change the location of

To change the location of where the NetBackup 6.0 Unified logs are written to, perform the following steps:

From a command prompt, path to:
%install_path%\Veritas\NetBackup\bin

Now enter the following command:

vxlogcfg -a -p 51216 -o ALL -s LogDirectory="absolute path to new log location"

*Note: Include the quotes around the absolute path name.

To review the unified log configuration, run the following command:
vxlogcfg -p 51216 -o Default -l

Stuart Green's picture
18
Sep
2009
1 Vote +1
Login to vote

For Windows to change legacy logging location...

DOCUMENTATION: How to manually change the path where NetBackup log files are located.

Tip: Get overview/document your NBU environment. Run 'nbsu' and review the output.

• If this provides help, please vote or mark appropriate solution.

Rithesh's picture
22
Sep
2009
0 Votes 0
Login to vote

I tried Deeps ways, but it

I tried Deeps ways, but it didn't work out.

I configured like this.

vxlogcfg -a -p 51216 -o ALL -s LogDirectory="\\servername\nbu logs\"

and fired a manual backup , but the logs were generating on the defualt location, even i tried restore too.

Is there something i need to configure after this??

Stuart Green's picture
22
Sep
2009
0 Votes 0
Login to vote

You need to restart Netbackup

You need to restart Netbackup services.

But you also need to verify changes to the nblog.conf file with the moved directory location according to this TN
All detailed inside here.

DOCUMENTATION: How to configure Veritas NetBackup (tm) 6.x to write unified log files to a different directory

Tip: Get overview/document your NBU environment. Run 'nbsu' and review the output.

• If this provides help, please vote or mark appropriate solution.

Rithesh's picture
22
Sep
2009
0 Votes 0
Login to vote

Thanks Stuart for the

Thanks Stuart for the guidance.
That pretty cool doc.

Thanks alot

Ritz

Rithesh's picture
13
Oct
2009
0 Votes 0
Login to vote

Hi Stuart , Oe morething i

Hi Stuart ,

Oe morething i need to ask if i want to redirect the logs to network share drive or NAS, how can that be accomplished?

Ritz

Marianne van den Berg's picture
13
Oct
2009
0 Votes 0
Login to vote

You will need to ensure that

You will need to ensure that the network/NAS drive is available at all times. Secondly, map the network drive as local drive letter.  Use this drive_letter:\folder when adding new location for logs. Thirdly, check that logon account for all NBU services have write permission to the share - LocalSystem will probably not have sufficient rights.
Methods given to you so far will only relocate unified logs. If you also need to move legacy logs (bprd, bpdbm, bpbrm, bptm, etc), there's another TechNote for that and requires registry changes.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links

Stuart Green's picture
14
Oct
2009
1 Vote +1
Login to vote

Here that technote

Here that technote also:

https://www-secure.symantec.com/connect/forums/red...

Tip: Get overview/document your NBU environment. Run 'nbsu' and review the output.

• If this provides help, please vote or mark appropriate solution.

Rithesh's picture
20
Oct
2009
0 Votes 0
Login to vote

Thans Stuart, But in technote

Thans Stuart,
But in technote it states

Warning:  If the instructions in this technote are followed and the log directories are changed, unexpected behavior can occur in NetBackup.  Observed issues have included the inability to perform alternate client and alternate path restores. Vaulting and other areas of the product may also be affected.  Making these changes is not advised without first having guidance from Technical Support.

we perform alternate path restores most of the days.....
Please advice..

Thanks Ritz

Marianne van den Berg's picture
20
Oct
2009
1 Vote +1
Login to vote

It's a choice that you have

It's a choice that you have to make. If you feel uncomfortable doing it, then log a call with Symantec. Personally I would not recommend using a network drive.

I have personally followed this TechNote in the past to move the logs to a different location on the master (local, not network) and the server is still running fine (was in the meantime upgraded from 5.1 to 6.5 and is still logging to new location).

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links

Andy Welburn's picture
20
Oct
2009
0 Votes 0
Login to vote

I can concur with Marianne.

We redirected both the legacy & unified logging to a larger local filesystem (UNIX master) a long time ago & have not had any issues.

Regards Andy

"It's not too late to panic ..."

wrobbins's picture
20
Oct
2009
0 Votes 0
Login to vote

We've moved logs to another

We've moved logs to another disk slice in one instance, and to a SAN drive in another -- no problems.
Network share introduces a few more variables which means more potential for trouble. 
I'd be looking to add another drive to your master instead.

~ Bill

Rithesh's picture
24
Oct
2009
0 Votes 0
Login to vote

Thanks all for the

Thanks all for the suggestions....

One other issue is that for audit purpose i need extract the reports from master server admin console.
In master server's properties cleanup is keep logs is set as 31 days.

I believe due to this setting i can able to view reports on admin console for 1 month.

If i need to view 1 year reports, i need to set to 366 days, doin so which logs are goin to remain in master server for 1 year, so that only that particular logs need to ship to another location...

Or is there any settings to be done to view 1 year report in admin console.

Please advice ..

Thanks
Ritz

Srikanth Gubbala's picture
26
Oct
2009
1 Vote +1
Login to vote

multiple issues in single thread

@ ritesh

multiple issues in single thread will create future searches tizzzy.. since your query is perfectly answered marked this thread as solved and start a new thread for auditing.

regards, Srikanth.

Rithesh's picture
26
Oct
2009
0 Votes 0
Login to vote

Ok i will do

Ok i will do that

Thanks
Ritesh