Wednesday, May 15, 2013

Netbackup Important services and their port numbers


As a part of Initial troubleshooting in Netbackup Please check the following services.

1. Open the services file with a text editor (ex. Notepad):

%system_root%\system32\drivers\etc\services

In UNIX check under /etc/services


2. Verify that the following entries are listed in the services file:



bpcd         13782/tcp

bprd         13720/tcp

vopied       13783/tcp

vnetd        13724/tcp

bpdbm        13721/tcp

vmd          13701/tcp
acsd         13702/tcp

tl8cd        13705/tcp

odld         13706/tcp

ts8d         13709/tcp

tldcd        13711/tcp

tl4d         13713/tcp

tsdd         13714/tcp

tshd         13715/tcp

tlmd         13716/tcp

tlhcd        13717/tcp

lmfcd        13718/tcp

bpjobd       13723/tcp

rsmd         13719/tcp

nbdbd        13784/tcp

visd          9284/tcp

Tuesday, May 14, 2013

Perl Scripting for Beginners

Hey all my friend RAVI has started his own Infra blog its really cool , Follow the below link to his blog :)


Friday, May 10, 2013

Troubleshooting Netbackup Error code 58



The backup may fail with error 58 its because of the below following reasons 



Netbackup client services are not running

The Firewall or anti virus enabled 

Please turn of and check else try to add the bpcd, vnetd, and pbx port to firewall exceptiton rules. and check.
if that does not work..
please proceed with the below troubleshooting steps
From Master :-
--> ping <client name>
--> nslookup <client name>
--> grep <client name> /etc/hosts
--> bpcltncmd -hn <client name>
--> bpcltncmd -ip <client IP>

From Client:-
--> bpcltncmd -self
--> bpclntcmd -pn
-->bpcntcmd -hn <client name>
-->bpcltncmd -ip <client IP>

Hope from this we will be able to figure out what was the exact issue.

Thursday, April 25, 2013

How to pull logs and core dump through the Netapp filer view


One can see the current system logs and pick up a core dump, if it exists, through a web browser at:

http://filername/na_admin/logs and http://filername/na_admin/cores

If not able to pull them , Please enable the below option 

FAS2040> options httpd.autoindex.enable on

Tuesday, April 23, 2013

Configuring SnapVault on Netapp

In this example, I will assume our Primary Filer as Filer1 and our secondary filer as filer2.

Step 1:

- Configure the Primary Filer for Snapvault, add the Snapvault license by using the following command on a terminal session:

license add sv_primary_license

Step 2:

- Enable snapvault on primary by using the following command

options snapvault.enable on

Step 3:

- Specify the name of the secondary storage system on the primary by using the command

options snapvault.access host=NameOfTheSecondaryFilerHere

Note that you can also use the following command to all all  hosts as destination filers

options snapvault.access host=all

Step 4:

- Perform steps  1 and 2 on the secondary filer as well

Step 5:

- Enable the compliance clock on the secondary filer by using the command:

date -c initialize

Step 6:

- You can also optionally create a "log volume" for snapvault logs, but we will by pass it here

Step 7:

- Finally on the secondary filer for each qtree you need to backup on the primary, create a initial baseline transfer 

For example, if you want the qtree called /vol/mail1/maillun1 on the primary to be backed up to a qtree on secondary called /vol/sv_mail1/maillun1 , you will give the following command:

snapvault start -S filer1:/vol/mail1/maillun1   /vol/sv_mail1/maillun1

Note that it is a good practiceto name your volumes with sv_ (indicating snapvault volume).

This initialization can take some time to complete., to check the progress, you can give the command:

snapvault status

That is it. The final step is to create a Snapvault schedule on  Primary and secondary. Here are the steps

Step 8:

- Create a schedule on Primary by using the following command:

snapvault snap sched -x vol snap_name count [@day_list][@hour_list]

so for example, it will be:

snapvault snap sched -x filer1:
 /vol/mail1/maillun1 sv_nightly 150@mon-sat 0

meaning, snapvault will create backups with prefix sv_nightly for the primary qtree
 /vol/mail1/maillun1 at midnight monday to saturday and will retain 150 copies (one for every night)

Step 9:

Similar to step 8 configure the secondary, I will just demonstrate the command for the secondary
snapvault snap sched -x filer2: /vol/sv_mail1/maillun1sv_nightly 150@mon-sat 0

Monday, April 22, 2013

How to Change the retention period of backups in Backup Exec 2012


How to up the drives in Netbackup

To bring up a tape drive in NetBackup, you can use the vmoprcmd command.

/usr/openv/volmgr/bin/vmoprcmd -up

For example, to bring up drive 16, you can run this:

/usr/openv/volmgr/bin/vmoprcmd -up 16

Sunday, April 21, 2013

In a Netbackup environment If we have added a new media server and to add this media server to all Client servers

Go to  <install_dir>\VERITAS\NetBackup\bin

Run  "add_media_server_on_clients.exe"

The add_media_server_on_clients command reads the server list information from the master server and pushes this list out to clients.  This prevents the need of updating every client manually with the appropriate server list.

Thursday, April 18, 2013

Netbackup Media Server currently not connected to the master Server


If one have recently installed any antivirus on the media server will be facing this kind of issue , we had a similar issue once when we have installed McAfee on one of the media server and it was behaving the same way when ever the backup triggers it says "Netbackup Media Server currently not connected to the master Server" . 
Later We had to do exclusions for all the NETBACKUP processes to make it work.
Prior to this please try pinging and check the name resolution for servers and check for all network troubleshooting I don't think it is name resolution issue but please make sure Hostname look up problems can also trigger this error. Verify the forward and reverse lookups are working properly for the master and media server.