Sunday, May 29, 2011

Some Good Links for download and sharing Storage & Backup stuff

http://www.itguruindia.com

Itguruindia.com has a lot of users sharing great download links.

http://www.sadikhov.com



Tuesday, May 24, 2011

Brocade Zoning Steps.


First login into a switch.

alicreate "storagePort_Alias1", "12:01:10:a0:00:12:85:0b"

alicreate "storagePort_Alias2", "12:01:10:a0:00:12:85:0b"

alicreate "Server_Alias_hba1p0", "12:01:10:a0:00:12:85:0b"

Above steps create the alias for the HBA WWPN.

Then create the zones adding the aliases to it.


zonecreate Server_Alias_hba1p0_storagePort_Alias1, "Server_Alias_hba1p0;storagePort_Alias1"

zonecreate Server_Alias_hba1p0_storagePort_Alias2, "Server_Alias_hba1p0;storagePort_Alias2"

Then add the zones in the active zoneset.


cfgadd "zoneset_01", "Server_Alias_hba1p0_storagePort_Alias2"

cfgadd "zoneset_01", "Server_Alias_hba1p0_storagePort_Alias2"

Atlast save and enable the zone config.

cfgsave
cfgenable zoneset_01 




Symantec Netbackup Command to check & make changes to tape & library config

Lets say if you have a master and you want to change the tape config on media server. You can do that by running below commands switches on vmoprcmd and can get the functions of tpconfig and tpautoconf. you do not need to login to that media server and you know GUI does not always helps.

Path : /usr/openv/volmgr/bin/

Command : ./vmoprcmd -Q(Capital)  This will give you some hidden options you have with vmoprcmd.

Command : ./vmoprcmd -devconfig -h media <tpconfig commands switches>

Command : ./vmoprcmd -autoconfig -h media <tpautoconf commands switches>

You can also restart the device manager service on another media server by using below commands.

Command : ./vmoprcmd -h media -stopltid

Command : ./vmoprcmd -h media -startltid

Cheers
Gorav


Using bprestore command to restore multiple individual files at a different location


Using below command you can restore multiple files at different locations at any location. this helps in case you have a huge number of files to restore in different location. GUI will take too long. This is an easy and faster way to do it.

Command :

 /usr/openv/Netbackup/bin/bprestore
Example :

./bprestore -B -t 0 –C gnnbkp81 –D bkp81_test -s 12/14/2010 00:00:00 -e 12/16/2010 00:00:00 -f /test/restore_this -R /test/file_change

Important Parameters :
-B : menas that this is a backup and not archive.
-t 0 means that this is a 0(Standard) type restore.

-C clientname
-D destination clientname
-s start date in mm/dd/yyyy 00:00:00 format
-e end date in mm/dd/yyyy 00:00:00 format
-f (This should be the path of the file which contains the complete path of the files to be restored)

Example :
/test/data/file0
/test/data/file1
/test/data/file2
-R (This is the file that the new path where data is to restored. This should contain the complete source as well as the destination path). File should be saved in below format.

Example :
Change /test/data/file0 to /test/restore/file0
change /test/data/file1 to /test/restore/file1
change /test/data/file2 to /test/restore/file2



Cheers
Gorav


Gauravsethi82@gmail.com