background image

Sun (Solaris) servers and workstations

30

Содержание EH890-90900

Страница 1: ...es nl Abstract This is one of five volumes that document HP LTO Ultrium 5 tape drives Fibre Channel and SAS This volume provides basic information on configuring the drives with various operating systems See Chapter 8 on page 35 for details of the other guides Part Number EH890 90900 volume 5 Third edition April 2010 ...

Страница 2: ...uch products and services Nothing herein should be construed as constituting an additional warranty HP shall not be liable for technical or editorial errors or omissions contained herein Acknowledgements Windows is a U S registered trademarks of Microsoft Corporation UNIX is a registered trademark of The Open Group Warranty WARRANTY STATEMENT To obtain a copy of the warranty for this product see t...

Страница 3: ...workstations 15 Determining attached devices 15 What next 15 4 Linux servers and workstations 17 Ensure the correct HBA and driver are installed 17 Check the driver modules are loaded in the kernel 17 Determining the attached devices 18 Using the seek and tell features of mt 19 What next 19 5 IBM AIX servers and workstations 21 Identifying attached devices 21 Configuring the device files 21 If you...

Страница 4: ...2 8 Support and other resources 35 Related documents 35 Documents specific to HP LTO Ultrium drives 35 Documentation map 35 Drives general 35 Installation and configuration 35 Operation 36 Cartridges 36 Interface 36 Maintenance and troubleshooting 37 Dealing with errors 37 LTO Ultrium features 38 General documents and standardization 38 Glossary 39 Index 41 4 ...

Страница 5: ...text based interface 10 2 SMH web based interface HP UX11i v3 11 3 Adding estape driver to the kernel 12 4 Selecting a tape device to create its device files Agile View 14 5 Volume 5 UNIX Linux and OpenVMS configuration guide 5 ...

Страница 6: ...ng the installation on page 31 for details of how to verify the installation LTO Ultrium drives in a library Although LTO Ultrium drives may also be used in a library instructions about installing device drivers for automatic robotics are not included in this manual SAS drives For supported UNIX Linux and OVMS versions go to http www hp com go connect Backup applications For optimum performance it...

Страница 7: ...d agile addressing HP UX11i v3 introduces agile addressing of devices Agile addressing uses a different format of the device special file dsf to represent the tape drive known as a persistent dsf However HP UX11i v3 retains support for the legacy dsf format as used in 11i v2 For more information about HP UX releases including HP UX 11i v3 please refer to www docs hp com NOTE A block size no larger...

Страница 8: ...ree view Enter the command ioscan m lun The output should look similar to the following1 which includes an LTO 5 SAS drive Fibre Channel tape drives have a similar format in this type of ioscan output 1 Note that device files such as dev rtape tape9_BEST may or may not be in place initially HP HP UX servers and workstations 8 ...

Страница 9: ... 0 4 1 0 0x50060b0000b7f3c8 0x0 The FC bus ID is 0 4 1 0 including all the numbers separated by From the remaining 0x50060b0000b7f3c8 0x0 portion Tape drive WWN hexadecimal 0x50060b0000b7f3c8 Tape drive SCSI LUN 0x0 hexadecimal SCSI 3 64 bit LUN identifier Adding stape estape and eschgr schgr media changer driver to the kernel For HP UX 11i v2 If your tape drive or media changer does not appear in...

Страница 10: ... driver If the driver has not been added to the kernel both Current State and Planned State will read unused 4 Type m to modify the stape driver and s to set it to static The Planned State will now read static 5 The stape driver is now added to the kernel 6 If you are going to attach a media changer use a similar procedure to change eschgr or schgr to static HP HP UX servers and workstations 10 ...

Страница 11: ... both estape and stape modules If either of these modules is not installed both Current State and Next Boot State will be shown as unused A state of static indicates that the module is installed 4 Select the estape module3 radio button Its details will appear in a panel below the modules list From the right hand panel on the web page click the Modify Module link 2 If Mozilla is being invoked for t...

Страница 12: ...eschgr with schgr module 9 From the right hand panel on the Kernel Configuration page click View Pending Changes and reboot and proceed to reboot the system as directed 10 Following the reboot re run SMH and search again for the driver as in step 3 above Current State and Next Boot State should both be listed as static Add device files For HP UX 11i v2 Use the sam utility to create device files sa...

Страница 13: ...UN number For HP UX 11i v3 HP UX 11 31 1 Start up the SMH web based interface smh w This will attempt to launch a web browser Mozilla browser4 is the default when HP UX 11i v3 is installed 2 From the SMH Tools page see Figure 3 on page 11 select Manage Peripheral Devices from the Peripheral Devices section 3 Select tape from the Class drop down box on the HP UX Peripheral Device Tool page Select t...

Страница 14: ...transfers 6 For example a 1 MB block 1048576 bytes is written to tape as four 256 KB blocks During restore stape attempts to reconstruct the original block size that was larger than 256 KB with the 256 KB blocks from tape This subdivision and subsequent reconstruction process of block sizes larger than 256 KB adds unnecessary complexity and risk to tape positioning and restore operations and offer...

Страница 15: ...alue in the next command line sho dev MKA400 full Magtape SIT058 MKD300 device type HP Ultrium 5 SCSI is online file oriented device available to cluster error logging is enabled controller supports compaction compaction disabled device supports fastskip per_io Error count 0 Operations completed 0 Owner process Owner UIC SYSTEM Owner process ID 00000000 Dev Prot S RWPL O RWPL G R W Reference count...

Страница 16: ...HP OpenVMS servers and workstations 16 ...

Страница 17: ...rating system needs to have drivers loaded for both the tape drive and the host bus adaptor Ensure that both are available as either loadable modules for example usable with insmod and visible with lsmod or are statically built into your kernel NOTE To add drivers to the statically built kernel you need the Linux source code available on disk and knowledge of how to use the kernel building tools t...

Страница 18: ...pe drive at module load time cat proc scsi scsi Examine the contents for something like Host SCSI0 Channel 00 Id 00 Lun 00 Vendor HP Model Ultrium 5 SCSI Rev ZxxD Type Sequential Access ANSI SCSI Revision 06 Look through the output of dmesg to discover which tape drive instance is used st0 in the example below and to review the SCSI HBA driver cciss in the extract below NOTE The exact format and s...

Страница 19: ...with mt utility mt f devicefile stsetoptions scsi2logical where devicefile is dev stp or dev nstp Note however that this information is not preserved across reboots so you need to execute this command each time the system comes up Some Linux distributions include the stinit utility which offers a convenient way of handling this using the etc stinit def configuration file Note that the file etc sti...

Страница 20: ...Linux servers and workstations 20 ...

Страница 21: ... SAS Protocol ses0 Available 00 08 00 SAS Enclosure Services Device ses1 Available 00 08 00 SAS Enclosure Services Device ses2 Available 00 08 00 SAS Enclosure Services Device sissas0 Available 00 08 PCI X266 Planar 3Gb SAS Adapter sissas1 Available 03 08 PCI X266 Ext Dual x4 3Gb SAS Adapter Configuring the device files Reboot the server workstation with the tape drive attached and powered on If y...

Страница 22: ...s are displayed Check the following values and change them if necessary BLOCK Size 0 variable length 0 Use EXTENDED file marks no RESERVE RELEASE support yes Set timeout for the READ or WRITE command 1200 Click on the OK button to apply the changes If you are using a non graphics terminal 1 At the command line type nl smit C tape IBM AIX servers and workstations 22 ...

Страница 23: ...iable length 0 Use EXTENDED file marks no RESERVE RELEASE support yes Set timeout for the READ or WRITE command 1200 Press the Enter key Do to apply the changes Refer to http www hp com go connect for up to date information on supported applications Once device files have been configured you should confirm that your new tape drive is working properly Verifying the installation on page 31 provides ...

Страница 24: ...lename is the instance number assigned to the drive by the operating system where 0 is the first device 1 is the second and so on Normally the drive repositions the tape to BOT Beginning of Tape when the device file is closed Using the no rewind option is useful when creating and reading tapes that contain multiple files Rewind on Close Retensioning consists of winding to EOT End of Tape and then ...

Страница 25: ...b000xxxxxxx tape connected configured unknown This indicates that the drive is configured and the device files built In this example c3 50060b000xxxxxxx is the attachment point identifier with 50060b000xxxxxxx being the WWN of the drive port attached to the SAN and visible to the HBA If you do not see anything similar to the example above recheck the SAN connections and the zoning configuration to...

Страница 26: ...ate 5 or later Solaris 10 Upgrading to the minimum patch level will ensure that the necessary support for officially supported drives is included in the driver You can view your existing patch level using the command uname a To access Solaris patch upgrades you need to set up an Online Account with Sun to use http www sunsolve sun com NOTE Patch levels are liable to change every 6 months or so so ...

Страница 27: ...s devfsadm C devfsadm i st For further details see How do you load st conf changes without rebooting SunSolve document 18010 on http sunsolve sun com search document do assetkey 1 9 18010 1 searchclause 18010 This link is valid for registered SunSolve users with a valid Sun Service Plan 8 Typically st conf already contains a range of target address entries by default listed after the comments sect...

Страница 28: ...arameters 1 or 2 version The value for an LTO drive in usr include sys mtio h The value 0x3B indicates a type of MT_LTO 0x3B type Indicates variable block size 0 bsize This value is derived from constants provided in usr include sys scsi targets stdef h The value determines which operations the driver can perform with the attached device by using a unique value for each feature and then adding the...

Страница 29: ... variable records not limited to 64 KB and device selection of mode pages for controlling compression There are four densities following in the parameter list 4 no of densities Creates a device file with compression disabled 0x00 density 0 The Ultrium 3 density code for data compression with Ultrium 3 media 0x44 density 1 The Ultrium 4 density code for data compression with Ultrium 4 media 0x46 de...

Страница 30: ...Sun Solaris servers and workstations 30 ...

Страница 31: ...y the installation 1 Test the SCSI connection to the tape drive by performing a rewind a If there is a tape cartridge already in the drive remove it b Insert a tape cartridge c Rewind the tape using the command line nl mt f device file rewind For example on HP UX 11i v2 nl mt f dev rmt c4t3d0BESTnb For example on HP UX 11i v3 using a persistent device file nl mt f dev rtape tape0_BESTnb rewind If ...

Страница 32: ...up to tape If you do not the restore operation in step 3 will overwrite the original copy on disk 3 Read the file back from tape cd tmp tar xvf device file The x option to tar here means extract from the archive Use the same value for the device file argument as in step 2 4 Compare the original with this retrieved file cmp original file tmp retrieved file This compares the files byte by byte If th...

Страница 33: ... vmunix to tape nl tar cvf dev rmt c4t3d0BESTnb stand vmunix Note the prefix of to the filename 4 Change to the temporary directory nl cd tmp 5 Extract the file from the tape nl tar xvf dev rmt c4t3d0BESTnb 6 Compare the original with the restored version nl cmp stand vmunix tmp stand vmunix Note that the original filename is not prefixed with Volume 5 UNIX Linux and OpenVMS configuration guide 33...

Страница 34: ...Verifying the installation 34 ...

Страница 35: ...ium Technology White Paper For a general background to LTO technology and licensing go to http www lto technology com Documentation map The following will help you locate information in the Technical Reference Manual A reference like 1 HW Integration ch 7 means Volume 1 Hardware Integration Guide of the HP LTO Ultrium Technical Reference Manual chapter 7 Drives general SAS Drives FC Drives 1 HW In...

Страница 36: ...guration UNIX configuration Operation SAS Drives FC Drives 1 HW Integration ch 5 n a External drives 1 HW Integration ch 1 In libraries 1 HW Integration ch 4 n a In servers 1 HW Integration ch 3 n a In tape arrays Cartridges SAS Drives FC Drives 2 SW Integration ch 5 Cartridge Memory LTO CM 1 HW Integration ch 9 1 HW Integration ch 5 Cartridges 2 SW Integration ch 1 Managing the use of cartridges ...

Страница 37: ...S Drives FC Drives 2 SW Integration ch 5 nl 2 SW Integration ch 7 Cleaning 1 HW Integration ch 5 n a External drives 1 HW Integration ch 1 In libraries 1 HW Integration ch 4 n a In servers 1 HW Integration ch 3 n a In tape arrays 2 SW Integration ch 7 Monitoring drive and tape condition 2 SW Integration ch 1 Software troubleshooting techniques Dealing with errors SAS Drives FC Drives 1 HW Integrat...

Страница 38: ...h 4 Performance factors affecting 2 SW Integration ch 1 Software design 2 SW Integration ch 5 Supporting LTO Ultrium features General documents and standardization See http www t10 org t10_main htm for INCITS SCSI Primary Commands 3 SPC 3 SCSI Streaming Commands SSC 3 and other specifications Copies of documents of other standards bodies can be obtained from 11 West 42nd Street New York NY 10036 8...

Страница 39: ...upercomputers desktop computers storage devices displays and other peripherals Although it is called Fibre Channel its architecture represents neither a channel nor a real network topology It allows for an active intelligent interconnection scheme called a fabric to connect devices All a Fibre Channel port has to do is to manage a simple point to point connection between itself and the fabric Seve...

Страница 40: ... which may be assigned by an ADI automation controller at the time of enablement typically at LUN 1 SAN Storage Area Network A dedicated high speed network that establishes a direct connection between storage elements and servers The hardware that connects workstations and servers to storage devices in a SAN is referred to as a fabric The SAN fabric enables any server to any storage device connect...

Страница 41: ...diate mode 39 INCITS 38 infinite flush 39 installation verifying 31 ISO 38 L Linux 17 LUN 40 M mode AT T 39 Berkeley 39 immediate 39 O OpenVMS servers 15 OpenVMS servers and workstations determining attached devices 15 P PC based UNIX Linux 17 S SAN 40 sequential access 40 servers OpenVMS 15 Solaris 25 storage area network 40 SUN systems 25 Sun workstations data values 28 identifying attached devi...

Страница 42: ...W workstations OpenVMS 15 42 ...

Отзывы: