+ All Categories
Home > Documents > How to Configure Drive on Solaris for Veritas

How to Configure Drive on Solaris for Veritas

Date post: 28-Oct-2015
Category:
Upload: subhrajitm47
View: 109 times
Download: 1 times
Share this document with a friend
Description:
kl
26
How to Configure Drive on Solaris for Veritas Netbackup December 18, 2006 in Netbackup , Tape Library Tags: Configure Drive on Solaris , Solaris , Veritas Netbackup Understanding the SCSI Passthru Drivers NetBackup Media Manager provides its own driver for communicating with SCSI-controlled robotic peripherals. This driver is called the SCSA (Generic SCSI passthru driver), also referred to as the sg driver. To manage the sg driver Perform the following steps as the root user. 1. Determine if an sg driver is loaded by using the following command: /usr/sbin/modinfo | grep sg 141 fc580000 2d8c 116 1 sg (SCSA Generic Revision: 3.4d) 153 fc7fa000 1684 49 1 msgsys (System V message facility) 2. Remove the existing driver: /usr/sbin/rem_drv sg /usr/bin/rm -f /kernel/drv/sg.conf Install SG Driver To install the driver run the following command: /usr/openv/volmgr/bin/driver/sg.install Once the driver has been installed, it is not necessary to reboot the system or run the sg.install command during or after each system boot. Configuring SG and ST Drivers 1
Transcript
Page 1: How to Configure Drive on Solaris for Veritas

How to Configure Drive on Solaris for Veritas   Netbackup

December 18, 2006 in Netbackup, Tape LibraryTags: Configure Drive on Solaris, Solaris, Veritas Netbackup

Understanding the SCSI Passthru Drivers

NetBackup Media Manager provides its own driver for communicating with SCSI-controlled robotic peripherals.

This driver is called the SCSA (Generic SCSI passthru driver), also referred to as the sg driver.

To manage the sg driver

Perform the following steps as the root user.

1. Determine if an sg driver is loaded by using the following command:

/usr/sbin/modinfo | grep sg

141 fc580000 2d8c 116 1 sg (SCSA Generic Revision: 3.4d)

153 fc7fa000 1684 49 1 msgsys (System V message facility)

2. Remove the existing driver:

/usr/sbin/rem_drv sg

/usr/bin/rm -f /kernel/drv/sg.conf

Install SG Driver

To install the driver run the following command:

/usr/openv/volmgr/bin/driver/sg.install

Once the driver has been installed, it is not necessary to reboot the system or run the sg.install command during or after each system boot.

Configuring SG and ST Drivers

This procedure contains instructions for configuring the sg driver for SCSI targets 0 thru 6 and 8 thru 15 for fast or wide adapter cards.

In this procedure, you execute sg.build to add these targets to the st.conf, sg.conf and sg.links files. Adjust the -mt and -ml parameters to create the range of targets and LUNs required by your configuration.

To configure drivers

Execute the sg.build script to add target IDs 0-6, 8-15, and LUNs 0-1 to the following files:

1

Page 2: How to Configure Drive on Solaris for Veritas

/usr/openv/volmgr/bin/driver/st.conf

/usr/openv/volmgr/bin/driver/sg.conf

/usr/openv/volmgr/bin/driver/sg.links

/usr/openv/volmgr/bin/sg.build all -mt 15 -ml 1

The -mt 15 parameter specifies themaximum target ID that is in use on any SCSI bus (or bound to a fibre channel device).The -ml 1 parameter specifies the maximum target LUN that is in use on any SCSI bus (or by a fibre channel device).

The file /usr/openv/volmgr/bin/driver/st.conf is used to replace the following seven entries in the /kernel/drv/st.conf file:

name=”st” class=”scsi” target=0 lun=0;

name=”st” class=”scsi” target=1 lun=0;

name=”st” class=”scsi” target=2 lun=0;

name=”st” class=”scsi” target=3 lun=0;

name=”st” class=”scsi” target=4 lun=0;

name=”st” class=”scsi” target=5 lun=0;

name=”st” class=”scsi” target=6 lun=0;

Edit the /kernel/drv/st.conf file.

Place a # in column one of each line of the seven default entries.

The temporary file ./st.conf contains the entries that you need to insert into /kernel/drv/st.conf.

Reboot the system with the reconfigure option (boot -r or reboot — -r).

Verify that the system created device nodes for all the tape devices using the following command: ls -l /dev/rmt/*cbn

Install the new sg driver configuration.

/usr/bin/rm -f /kernel/drv/sg.conf

/usr/openv/volmgr/bin/driver/sg.install

when run sg install command sg.conf will copy to /kernel/drv/sg.conf

and sg.links will copy to /etc/devlink.tab

Verify that the sg driver found all the robots, tape drives,

2

Page 3: How to Configure Drive on Solaris for Veritas

The script /usr/openv/volmgr/bin/sg.build adds the proper entries to the sg.links and sg.conf files. Before running the script, make sure that all devices are powered on and connected to the HBA.An example of the additional entries in /usr/openv/volmgr/bin/driver/sg.conf

follows:

name=”sg” parent=”fp” target=0 lun=0 fc-port- wwn=”22000090a50001c8″;name=”sg” parent=”fp” target=0 lun=1 fc-port-wwn=”22000090a50001c8″;

An example of the additional entries in /usr/openv/volmgr/bin/driver/sg.links

follows:

type=ddi_pseudo;name=sg;addr=w22000090a50001c8,0; sg/c\N0t\A1l0type=ddi_pseudo;name=sg;addr=w22000090a50001c8,1; sg/c\N0t\A1l1

Preventing Possible System Problems

VERITAS recommends adding the following forceload statements to the /etc/system file. These statements prevent the st and sg drivers from being unloaded from memory

forceload: drv/st

forceload: drv/sg

Other statements may be necessary for various fibre channel drivers, such as the following example for JNI drivers. This statement prevents the named driver from being unloaded from memory.

forceload: drv/fcaw

SSO Configurations With More Than 16 Tape Drives

When the number of tape devices that are configured approaches 16, changes in tape device status may not be visible to all media servers in a Shared Storage Option (SSO) configuration. This is because the default maximum size of IPC message queues may not be large enough.

VERITAS recommends adding the following statements to the /etc/system file. These statements increase the maximum number of messages that can be created, and the number of bytes per queue. A reboot is necessary for the changes to take effect.

set msgsys:msginfo_msgtql=512

set msgsys:msginfo_msgmnb=65536

40 Replies

1. Pratap

3

Page 4: How to Configure Drive on Solaris for Veritas

April 4, 2007 at 3:53 am

Hi,

I am getting this error messages in the server, can u suggest me what this problem, checked all the tape drive is working fine

unix: st46 at qus1: target 4 lun 0unix: st46 is /pci@1e,600000/pci@3/scsi@5/st@4,0unix: pseudo-device: devinfo0unix: devinfo0 is /pseudo/devinfo@0unix: VERITAS SCSA Generic Revision: 3.4d

Thanks and Regards,Pratap

2. Dennis

July 10, 2007 at 9:45 am

Hey Aziz,

Please assist

I created devices for 2 additional new VTL drives yesterday and they can now be seen at the OS level.

I reconfigured Storage Devices in Netbackup thereafter and got 2 Drive Paths

/dev/rmt/11cbn

/dev/rmt/2cbn

sharing the same Drive name - HP.Ultrium3-SCSI.009. This is wrong.

It was the 2cbn that had the Drive name before, so I wonder why 11cbn which is one of the 2 new devices should share the Drive name with 2cbn.

I would need to separate this to their Individual Drive Names and will be happy if you could assist.

ThanksDennis

3. Aziz

July 11, 2007 at 6:09 am

Hi Dennis,

U can check drive & robot path from Veritas, goto “/usr/openv/volmgr/bin/” then run “tpconfig -l”.

4

Page 5: How to Configure Drive on Solaris for Veritas

Or from Veritas GUI, click “Media and Device Management”>>Device> click Drives tab. See the “drive path”, make sure the drive path is correct.Please see also the output from “./scan” command, run it from “/usr/openv/volmgr/bin/”

thx

4. Aziz

July 11, 2007 at 6:16 am

To Pratap,

I think that’s not an error, Just kernel informational messages when your server is building the devinfo pseudo device driver, look the the kern.info part of the message. Correct me if I wrong..

5. Hilmi

October 4, 2007 at 1:45 am

hi Aziz,

I already configure tape drive to one of the system.SunOS S55KJA11 5.9 Generic_118558-24 sun4u sparc SUNW,Sun-Fire-V440. We can see the tape drive from #cfgadm -al but when we try to scan the tape from veritas command. The tape cannot see. I need your advice. Thanks

6. Saiful Aziz

October 5, 2007 at 1:38 am

Hii Hilmi,It seem that you need to reconfigure the ’st.conf’. Try to run ’sg.build’ command from ‘/usr/openv/volmgr/bin’:Prefix: #sg.build all -mt max_target -ml max_lunExp:#cd /usr/openv/volmgr/bin/#./sg.build all -mt 3 -ml 4

’sg.build’ will update st.conf,sg.conf, and sg.links, and generates SCSI Target IDs with multiple LUNs.

Then run ‘./scan’ again..

7. Govind

October 13, 2007 at 3:02 pm

Hi

I have two solaris servers which are to be configured as SAN media servers as they are going to backp huge volume. I have one drive and want both the servers to use the same

5

Page 6: How to Configure Drive on Solaris for Veritas

drive. SSO option cannot be used in our environment. Could you please suggest how this can be done

8. Aziz

October 17, 2007 at 2:14 am

Govind,You have to buy SSO License..As the function of SSO is “to allow individual tape drives (stand-alone or in a robotic library) to be dynamically shared between multiple NetBackup media servers or SAN media servers. and then Each media server can access any of the shared drives as needed and each server ”owns” the drives it has active. The shared drives are automatically allocated and deallocated as backup and restore operations dictate”.

In fact I never try ur scenario, but based on my experience it’s impossible sharing drive without SSO License.

9. shrikant

November 15, 2007 at 9:26 pm

Hi i have solaris 9 netbackup 6 media server with two lp11000 emulex controllers and storagetek L1400 LT03 tape library. I can see all drives from master server with sgscan but i cant see it from media server. On media server i can see devices in /dev/rmt and mt command shows info when i load tape in library.

Do i need to do any special configuration since it is not creating link in /dev/sg ?

10. Aziz

November 16, 2007 at 3:49 am

Shrikant,Could you see your drives from ‘./scan’ command?cd /usr/openv/volmgr/bin/./scan

If you couldn’t, Try to run ’sg.build’ command from ‘/usr/openv/volmgr/bin’:Prefix: #sg.build all -mt max_target -ml max_lunExp:#cd /usr/openv/volmgr/bin/#./sg.build all -mt 3 -ml 4

Then run ‘./scan’ again.

For further reference, Here the Netbackup Media Manager Device Configuration Guide:http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/279262.pdfftp://docs-pdf.sun.com/875-3543-10/875-3543-10.pdf

6

Page 7: How to Configure Drive on Solaris for Veritas

11. Aziz

November 16, 2007 at 4:09 am

1. Execute the sg.build script to add target IDs 0-6, 8-15, and LUNs 0-1 to the following files:/usr/openv/volmgr/bin/driver/st.conf/usr/openv/volmgr/bin/driver/sg.conf/usr/openv/volmgr/bin/driver/sg.links

cd /usr/openv/volmgr/bin/driver/usr/openv/volmgr/bin/sg.build all -mt 15 -ml 1

The -mt 15 parameter specifies the maximum target ID that is in use on any SCSI bus (or bound to a fibre channel device).

The -ml 1 parameter specifies the maximum target LUN that is in use on any SCSI bus (or by a fibre channel device).

2. The file /usr/openv/volmgr/bin/driver/st.conf is used to replace the following seven entries in the /kernel/drv/st.conf file:

name=”st” class=”scsi” target=0 lun=0;name=”st” class=”scsi” target=1 lun=0;name=”st” class=”scsi” target=2 lun=0;name=”st” class=”scsi” target=3 lun=0;name=”st” class=”scsi” target=4 lun=0;name=”st” class=”scsi” target=5 lun=0;name=”st” class=”scsi” target=6 lun=0;

a) Make a copy of the /kernel/drv/st.conf file.

b) Edit the /kernel/drv/st.conf file. Place a # in column one of each line of the seven default entries. The temporary file ./st.conf contains the entries that you need to insert into /kernel/drv/st.conf.

c) Reboot the system with the reconfigure option (boot -ror reboot — -r).

d) Verify that the system created device nodes for all the tape devices using the following command: ls -l /dev/rmt/*cbn

3. Install the new sg driver configuration./usr/bin/rm -f /kernel/drv/sg.conf/usr/openv/volmgr/bin/driver/sg.install

12. Bhagavan

January 3, 2008 at 1:01 pm

Hi,

7

Page 8: How to Configure Drive on Solaris for Veritas

Recently I got new tape drives for to add in the tape library. The library already has 2 drives and taking backups very fine. SO how to configure these 2 new drives in solaris 9 and Veritas netbackup6. Can you please guide me on how to do this from scartch.

Thnak you,Bhagavan

13. Aziz

January 4, 2008 at 2:15 am

@Bhagavan

1. You have to make sure, it already detected by OS:#cd /dev/rmt/#ls{here you will see “0cbn,1cbn.. ect”, each *cbn is the label information for each drive}

#cd /usr/openv/volmgr/bin/#./scan

{the output look like this:bash-2.05# ./scan*********************************************************************************** SDT_TAPE *********************************************** SDT_CHANGER *********************************************** SDT_OPTICAL ************************************************************************************————————————————————Device Name : “/dev/rmt/0cbn”Passthru Name: “/dev/sg/c1t0l0″Volume Header: “”Port: -1; Bus: -1; Target: -1; LUN: -1Inquiry : “SEAGATE ULTRIUM06242-XXXx”Vendor ID : “SEAGATE ”Product ID : “ULTRIUM06242-XXX”Product Rev: “1619″Serial Number: “HL00BKN”WWN : “SEAGATE ULTRIUM06242-XXX ”WWN Id Type : 1Device Identifier: “SEAGATE ULTRIUM06242-XXX”Device Type : SDT_TAPENetBackup Drive Type: 3Removable : YesDevice Supports: SCSI-3Flags : 0×4Reason: 0×0————————————————————Device Name : “/dev/rmt/1cbn”Passthru Name: “/dev/sg/c1t1l0″Volume Header: “”

8

Page 9: How to Configure Drive on Solaris for Veritas

Port: -1; Bus: -1; Target: -1; LUN: -1Inquiry : “QUANTUM SDLT320 5E5E”Vendor ID : “QUANTUM ”Product ID : “SDLT320 ”Product Rev: “5E5E”Serial Number: “RBE16Y1120″WWN : “QUANTUM SDLT320 “xxxxxxxxxxx”"WWN Id Type : 1Device Identifier: “QUANTUM SDLT320 “xxxxxxxxxxx”"Device Type : SDT_TAPENetBackup Drive Type: 11Removable : YesDevice Supports: SCSI-2Flags : 0×4Reason: 0×0————————————————————Device Name : “/dev/sg/c1t6l0″Passthru Name: “/dev/sg/c1t6l0″Volume Header: “”Port: -1; Bus: -1; Target: -1; LUN: -1Inquiry : “STK L40 0215″Vendor ID : “STK ”Product ID : “L40 ”Product Rev: “0215″Serial Number: “xxxxxxxxxxx”WWN : “”WWN Id Type : 0Device Identifier: “”Device Type : SDT_CHANGERNetBackup Robot Type: 8Removable : YesDevice Supports: SCSI-3Number of Drives : 2Number of Slots : 20Number of Media Access Ports: 2Drive 1 Serial Number : “HL00BKN”Drive 2 Serial Number : “xxxxxxxxxxx”Flags : 0×0Reason: 0×0bash-2.05# pwd/usr/openv/volmgr/binbash-2.05#

2. Then for easy step, just run Netbackup Configuration Wizard-from Netbackup main display, click your master server hostname, >> on the right panel click “Configure Storage Device”.-Follow the screen >>Next>>Next>>Finish.-Restart Netbackup services.

14. Bhagavan

January 4, 2008 at 12:46 pm

9

Page 10: How to Configure Drive on Solaris for Veritas

Hi Aziz,

Thank you for your reply.The following is the status when I done scan and when I try to configure from Configuration wizard it has detected 4 tape drives but it is shoing 2 drives are not usable which I added recently. And through scan command it is not showing the name of the drive for these 2 new drives.The following is the output of the command.So do I need to build the kernel to recognize these new drives as you mentioned in your document.

Device Name : “/dev/rmt/1cbn”Passthru Name: “/dev/sg/c1t2l0″Volume Header: “”Port: -1; Bus: -1; Target: -1; LUN: -1Inquiry : “IBM ULTRIUM-TD3 64D0″Vendor ID : “IBM ”Product ID : “ULTRIUM-TD3 ”Product Rev: “64D0″Serial Number: “1210047825″WWN : “”WWN Id Type : 0Device Identifier: “IBM ULTRIUM-TD3 1210047825″Device Type : SDT_TAPENetBackup Drive Type: 16Removable : YesDevice Supports: SCSI-3Flags : 0×0Reason: 0×0————————————————————Device Name : “-”Passthru Name: “/dev/sg/c1t3l0″Volume Header: “”Port: -1; Bus: -1; Target: -1; LUN: -1Inquiry : “IBM ULTRIUM-TD3 64D0″Vendor ID : “IBM ”Product ID : “ULTRIUM-TD3 ”Product Rev: “64D0″Serial Number: “1210047802″WWN : “”WWN Id Type : 0Device Identifier: “IBM ULTRIUM-TD3 1210047802″Device Type : SDT_TAPENetBackup Drive Type: 16Removable : YesDevice Supports: SCSI-3Flags : 0×0Reason: 0×10000————————————————————Device Name : “-”Passthru Name: “/dev/sg/c1t4l0″Volume Header: “”

10

Page 11: How to Configure Drive on Solaris for Veritas

Port: -1; Bus: -1; Target: -1; LUN: -1Inquiry : “IBM ULTRIUM-TD3 64D0″Vendor ID : “IBM ”Product ID : “ULTRIUM-TD3 ”Product Rev: “64D0″Serial Number: “1210048564″WWN : “”WWN Id Type : 0Device Identifier: “IBM ULTRIUM-TD3 1210048564″Device Type : SDT_TAPENetBackup Drive Type: 16Removable : YesDevice Supports: SCSI-3Flags : 0×0Reason: 0×10000

15. Aziz

January 7, 2008 at 2:35 am

From your ‘./scan’ output, it seem that you only have = 1cbn on your “/dev/rmt” directory.try to remove all file on “/dev/rmt”:#cd /dev/rmt#rm *

run “devfsadm” command#devfsadm

run ./scan again, show me the output.and also list file on your “/dev/rmt” directory.If your ‘/dev/rmt’ directory is empty after running ‘devfsadm’, I think you hv to reconfigure all device from the beginning.

For further reference, read the VERITAS NetBackup 6.0 Media Manager Device Configuration Guide, for UNIX, Windows, and Linux.

16. Hilmi

February 3, 2008 at 10:40 am

Salam Aziz,

Terima kasih di atas bimbingan bapak.. it’s work..One question,

Prefix: #sg.build all -mt max_target -ml max_lunwhat is the max target and max lun.. what happen if value of max_target and max_lun is 50.. saya kurang mengerti tentang ini.. anyway I’m from malaysia..

17. Aziz

11

Page 12: How to Configure Drive on Solaris for Veritas

February 11, 2008 at 5:40 am

@hilmi/usr/openv/volmgr/bin/sg.build all -mt 15 -ml 1

so,maximum target ID : 15maximum target LUN : 1

target IDs 0-6, 8-15, and LUNs 0-1just follow the instruction, range LUNs only between 0 -1

Oya, Salam balik jg..

18. samir k.

March 31, 2008 at 2:47 pm

hi aziz

this is samir here

i have configure netbackup 6.0 mp4from the os level drives and robot got detected but in veritas robot is active and drives are unconfiguredpls help

19. Ashco

April 1, 2008 at 12:13 pm

Aziz, I need ur thoughts.I’m upgrading site with 4tape(9840B) drives,L700 and LTD robot currently in production.

This will be decommissiend and I will replace it with Iscalar IBM ATL and 6 LTO tape drives.

Im trying to come up with safe procedure.1- backup the catalog2- Install Netbackup 6.5 into new master and media servers3- Restore /netbackup/db, volmgr/db , and catalog to the new master server.4- Configure the robot5- Configure LTO tape drive6- Map aone cleint to test.

Do you have clear steps to configure the tape drives that I can follow?

ThxAshco

20. Aziz

12

Page 13: How to Configure Drive on Solaris for Veritas

April 2, 2008 at 3:14 am

@samir,you need only 1 step again; run the Veritas Device Configuration Wizard. from Veritas GUI, click ‘Media and Device Management’, then select ‘Configure Storage Devices’, follow the screen wizard.You will see your robot & drives there, select/check ur robot & drives >>press next>>finish, then restart NBU services.

@Ashco,for decommission NBU, you can see my other post:http://saifulaziz.wordpress.com/2007/07/02/decommision-media-server/

other step to configure device on NBU 6.5:Veritas NetBackup ™ 6.5 Device Configuration Guide for UNIX, Linux, and Windows

21. Ashco

April 15, 2008 at 3:12 am

Aziz,I have new Iscalar with 6 drives, Solaris Master. I can see the drives LTO-4 Ok, but when I try to configure the Robot >tpconfig .or If I do sgscan I do not see the Robot?

In the cfgadm I get this errors44ab002:zahrka0m:/usr/openv/volmgr/bin> cfgadm -c configure c3::500308c001f3c801cfgadm: Library error: failed to create device node: 500308c001f3c801: Invalid argument

What do you suggest?

22. Ashco

April 15, 2008 at 3:14 am

In addition info.

c3::500308c001f3c801 connected configured unknown

unavailable array-ctrl n /devices/pci@1d,700000/SUNW,qlc@2/fp@0,0:fc::500308c001f3c801

23. Aziz

April 21, 2008 at 3:32 am

try:#cfgadm -alor#cfgadm -o force_update -c configure

check tape device on ‘dev/rmt/’. 0cbn, 1cbn etc…

13

Page 14: How to Configure Drive on Solaris for Veritas

check each drives status, exp:$ mt -f /dev/rmt/0cbn status

run tpconfig/sgscan later, you will got nothing until all devices detected by your OS..

24. Naveen

April 29, 2008 at 3:28 pm

Hello Aziz, I have a particular issue. I am tryng to setup a Netbackup server on Solaris x86, with one QLA2340 and two SUN HBAs. I could not get both Sun HBAs online simultaneously and Sun has confirmed that it is a known issue,see message below:————————————————-Escalation engineer has determined this issue is due to current versionof Leadville san qlogic driversnot supporting the point to point topology

The T10000 FC 4GB (Titanium) tape drives utilize a Qlogic In-line CreditExtender (ICE) chip thatgives it the ability to support up to 600 Buffer to Buffer credits tosupport long distance up to 100km.However it does NOT support Loop mode (NL-to-NL), it requires either thefabric (N-to-F) orpoint to point (N-to-N) topology.

Leadville doesn’t not support the point to point topology, hence today,the T10000 FC 4GBcannot be in a direct attach configuration with a Solaris server.

Later versions of Leadville san qlogic drivers will have it but for nowwork around solutionis to use a FCP switch in between

To summarize what Fibre Channel topologies that the T10 drives support are listed below:T10k-2gb FCP (SCSI) protocol1. N-to-N port connections, i.e. Direct connect, HBA N-port directly connected to T10k N-port.2. N-to-F port connections, i.e. Switch connected, Switch F-port directly connected to T10k N-port.3. NL-to-NL port connections, i.e. Private Loop, HBA NL-port to T10k NL-port via Loop port Hub or not.4. NL-to-FL port connections, i.e. Public Loop, Switch FL-port to T10k NL-port via Loop port Hub or not.

T10k-4gb FCP (SCSI) protocol1. N-to-N port connections, i.e. Direct connect, HBA N-port directly connected to T10k N-port.

14

Page 15: How to Configure Drive on Solaris for Veritas

2. N-to-F port connections, i.e. Switch connected, Switch F-port directly connected to T10k N-port.———————————————-

Now my issue is that I have a Brocade switch and connected the HBAs to the root and both drives. I do not know how to proceed from there as it seems that all teh devices are geeting duplicated, ie same deice showing entry as Tape and Medium Changer

CMD >luxadm -e port/devices/pci@0,0/pci8086,2601@1/pci8086,32a@0,2/pci1077,100@1/fp@0,0:devctl CONNECTED/devices/pci@0,0/pci8086,2602@2/pci1077,142@0/fp@0,0:devctl CONNECTED/devices/pci@0,0/pci8086,2605@5/pci1077,142@0/fp@0,0:devctl CONNECTED

CMD >luxadm probeFound Fibre Channel device(s):Node WWN:500104f0005f51e6 Device Type:Medium changer deviceLogical Path:/devices/pci@0,0/pci8086,2601@1/pci8086,32a@0,2/pci1077,100@1/fp@0,0/medium-changer@w500104f0005f51e7,0Node WWN:500104f0005f51fb Device Type:Tape deviceLogical Path:/dev/rmt/0nNode WWN:500104f0005f51e6 Device Type:Medium changer deviceLogical Path:/devices/pci@0,0/pci8086,2602@2/pci1077,142@0/fp@0,0/medium-changer@w500104f0005f51e7,0Node WWN:500104f0005f51fb Device Type:Tape deviceLogical Path:/dev/rmt/1nNode WWN:500104f0005f51e6 Device Type:Medium changer deviceLogical Path:/devices/pci@0,0/pci8086,2605@5/pci1077,142@0/fp@0,0/medium-changer@w500104f0005f51e7,0Node WWN:500104f0005f51fb Device Type:Tape deviceLogical Path:/dev/rmt/2n

CMD >cfgadm -alAp_Id Type Receptacle Occupant Conditionc1 fc-fabric connected configured unknownc1::500104f0005f51e7 med-changer connected configured unknownc1::500104f0005f51fd tape connected configured unknownc2 scsi-bus connected configured unknownc2::dsk/c2t0d0 disk connected configured unknownc2::dsk/c2t1d0 disk connected configured unknownc2::dsk/c2t2d0 disk connected configured unknownc2::sg/c0t0l0 unknown connected configured unknownc2::sg/c0t1l0 unknown connected configured unknownc2::sg/c0t2l0 unknown connected configured unknownc4 fc-fabric connected configured unknownc4::500104f0005f51e7 med-changer connected configured unknownc4::500104f0005f51fd tape connected configured unknownc6 fc-fabric connected configured unknownc6::500104f0005f51e7 med-changer connected configured unknownc6::500104f0005f51fd tape connected configured unknown

15

Page 16: How to Configure Drive on Solaris for Veritas

Can you help me please

Thanks

25. Aziz

April 30, 2008 at 10:44 am

As far as I know, this is an old issue with Sun-branded Emulex HBA. My friend Buntaran posted here:http://unix.ittoolbox.com/groups/technical-functional/solaris-l/hba-sunemulex-problem-connectivity-with-drive-1481221but no answer from ittoolbox expert .

if you read carefully the installation guide, u will found this line:—————————-leadville considerations,beginning with solaris 10 update 1, the emulex leadville FCA driver is bundled with the operating system. when the lpfc

driver is installed on solaris 10 update 1 (or later), the lpfc driver will not claim most of the HBAs, since they already

claimed by the emlxs driver. to change the driver HBA bindings, run the emlxdrv utility. this utility enables you choose

which driver (lpfc or emlxs) controls the Emulex HBAs in the system. this utility is available on the Emulex Website. the

emlxdrv utility is in the emlxu utility package.

more here:http://www-dl.emulex.com/support/solaris/611c/pdf/manual.pdf

—————-Our L700 connected with Solaris 8, use leadville driver (SUNWemlxs). SUN suggest to upgrade the OS to Solaris 10. We still waiting our customer to upgrade their server, but for now If the problem occurs again, we just powered off all drives then powered on 1st drive, wait untill up/approx 1-3 minutes then continue to next drive..and problem solved he2..

Or you can also reinstall HBA driver with lpfc driver, we hv tested it on Solaris 9 and its work.

Good luck!

26. Naveen

April 30, 2008 at 1:08 pm

Hello Aziz,

16

Page 17: How to Configure Drive on Solaris for Veritas

In my case, The HBA are not Emulex but 375-3355-02 (Sun OEM HBA - equivalent to the QLE2462 as per Sun). Also, they are recognised by the qlc driver.

Any other suggestions please, especially with regards to the same device being detected more than one?

Thanks again for your support.

27. Aziz

May 7, 2008 at 2:54 am

Owhh.. I see.Sorry I dont hv any experience with thats HBA.But, sometimes, If I stuck while troubleshooting, I remove all in “/dev/rmt/” directory and then remove existing driver:/usr/sbin/rem_drv sg/usr/bin/rm -f /kernel/drv/sg.conf

then run ‘devfsadm’ and ‘cfgadm -al’ then ‘boot -r”

CMIIW..

28. Kurniawan

July 6, 2008 at 5:40 am

Pak Aziz,referring to the following:

NaveenApril 29, 2008 at 3:28 pm

Hello Aziz, I have a particular issue. I am tryng to setup a Netbackup server on Solaris x86,…..

I don’t think NetBackup can be setup on Solaris for x86. As a client yes, but not as master & media server. Anyone had done this ?

Thanks.

29. Aziz

July 9, 2008 at 3:13 am

@KurniawanI think you are right, from NetBackup Version 6 OS Compatibility Matrix; Netbackup only support as a Client on Solaris x86..

30. Mahboob

July 16, 2008 at 1:21 pm

17

Page 18: How to Configure Drive on Solaris for Veritas

How can I install Cluster Server with Solaris 10?Need your advice in this regards.

31. Aziz

July 18, 2008 at 8:25 am

For VCS (Veritas Cluster Server) manual guide and technote; go to here :http://seer.support.veritas.com/docs/284550.htmand here:http://seer.support.veritas.com/docs/275725.htm

32. [email protected]

July 23, 2008 at 7:19 am

Hello SirI have NBU 6.0 on Solaris & need to upgrade it to 6.5 ,but 6.5 I will install on different machine & migrate/transfer catalog from 6.0 to 6.5.please help me with detailed steps & will there be any problems.ThanksSubhash

33. Aziz

July 24, 2008 at 1:49 am

@subhashFor details on upgrading from NetBackup 6.0 to 6.5, see Chapter 4: Upgrading NetBackup in the NetBackup 6.5 Installation Guides. here the link:

Veritas NetBackup ™ 6.5 Installation Guide for Windows:http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/290198.pdf

Veritas NetBackup ™ 6.5 Installation Guide for UNIX and Linux:http://ftp.support.veritas.com/pub/support/products/NetBackup_Enterprise_Server/290199.pdf

Other Netbackup 6.5 Manuals and Documentation can be found here:http://www.symantec.com/business/support/documentation.jsp?language=english&view=manuals&pid=15143&version=NBUESVRPVER24910

34. Brunoc

August 17, 2008 at 6:50 pm

Hi,I have big issue with tape performance:I’m trying to change block size for IBM tapes LTO3 on Solaris 10. HBA is Qlogic 2310f Sun OEM with QLC drivers. Normally is basic operation but this one case is little different. On Cisco SAN director I have a couple VSAN’s. My backup VSAN

18

Page 19: How to Configure Drive on Solaris for Veritas

have 040 domainID and FCID start from 0×400xxx. I have very high target ID 4195560 for the tapes.

When I changing block size parameters in st.conf or IBMtape.conf nothing happens with performance of my backup. if I trying to write by DD to a tape with block size parameter (bs=2048 for eg.) then speed of my backup up to 30 times.Is it any chance to change this very high target ID without change the DomainID on Cisco director?

best regards

35. Graeme

August 22, 2008 at 6:49 am

HI Brunoc,

You should be able to set the block size to be used for backups within the backup product.

For example on Netbackup I would create the following touch files on the media server:

/usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS

/usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS

For LTO3 I would recommend setting the size to 262144 (just insert 262144 into the “size” file) and the number to 32 (just insert 32 into the “number” file).

Hope this helps.

36. subhash

September 9, 2008 at 5:43 am

i want to configure SAN media server on netbackup 6.5please advice with the procedure.thanks

37. Aziz

September 9, 2008 at 7:11 am

@subhashyou can read all the Veritas NetBackup ™ 6.5 Manuals here:http://seer.entsupport.symantec.com/docs/290282.htm

38. Reza

September 16, 2008 at 6:03 am

19

Page 20: How to Configure Drive on Solaris for Veritas

Hi Aziz,

udah jago nih kelihatannya, heheheheinget gw dulu waktu lu baru masuk mit,……

salam buat my old fren Mr Zak ya—Wah, pa kabarnya mas Reza?, he2 dlu masih lugu bget ya;0). yah blum jago lah..klo udah jago ntar nyusul and ketemu di Singapore deh hii..

39. nagarjuna

November 4, 2008 at 3:24 am

Hi can u send me how to install and configure veritas netbackup sostware in solaris

40. ashco

December 23, 2008 at 5:55 pm

Aziz, We have a NetApp NAS filer that we trying to backup its disk to tape, Netbackup 6.5 , we created the NDMP host and put the credential but when try to verify the ndmp host connectivity we get the below information??any Idea??

usr/openv/volmgr/bin> set_ndmp_attr -verify dha00730-nasp42

Connecting to host “dha00730-nasp42″ as user “netbackup”…

Waiting for connect notification message…

Opening session–attempting with NDMP protocol version 4…

Opening session–successful with NDMP protocol version 4

host supports MD5 authentication

Getting MD5 challenge from host…

Logging in using MD5 method…

ndmp_connect_client_auth failed

set_ndmp_attr: host “dha00730-nasp42″ failed

NDMP failed to verify host

20


Recommended