HP StorageWorks XP12000 Configuration Manual

HP St or ag e W or ks Disk Arr a y XP oper ating s y stem conf igur ation guide XP12 8 XP10 2 4 XP10000 XP12000 si xth editi on (J uly 200 5) par t number : A5 951-9 6015 Thi s guide d escr ibes th e r equir ements and pr ocedur es f or conn ecting the XP f amily o f disk ar ra y s to an H P -UX sy st em and conf igu ring the ne w disk ar r ay f or o per atio n wit h HP -UX. HP-UX
2 HP StorageW orks Disk Array XP Operating Sy stem Configurati on Guide: HP-UX Cop yri ght © 2003- 2005, He wlett-P ackar d Dev elopm ent Com pany , L.P . All ri ghts r eserved. He wlett-P ac kar d Com pan y mak es n o w arr anty of an y kind w ith r egar d to this ma ter ial , including , bu t no t limited to , the im plied w arr anti es of mer chan tab ilit y and fitne ss fo r a partic ular pur pose . He wlett-P ac kar d shall no t be liable for err ors contai ned herein or for inci dental or consequentia l damages in conne ction with the furnis hing, per form an ce, or us e of thi s mate rial. This do cument c ontains propr ietar y i nformation , which is pr ote cted b y c opy ri ght . N o par t of this document may be photocopied, repr oduced, or translated into another language without the pr ior written consent of Hewlett- P ackar d. Th e infor mation con tained in this d ocumen t is subj ect to c hange wit hout no tice. HP -UX is a r e gistered trademark of Hewlett-P ack ard Compan y . All other pr o duct names mentione d here i n may be trademarks of their respective companies. He wlett-P ac kar d Co mpan y shall no t be lia ble f or tec hnical or editor ial e rr ors or omissi ons con tained h er ein . The info rmati on is pr o vided “ as is ” w ithout w arr anty of any kind and is sub ject to change witho ut notice . T he war r anties for Hewlett-P ackar d Comp any pr oduc ts are set forth in th e expr es s limit ed warr an ty stat ements acc ompanying such pr o ducts. N othing herein should be const rued as cons titut ing an addit ional warr an ty . Pr inted in the U .S.A. HP Stor ag e W orks Disk Arr ay XP O per ati ng S ystem Conf iguration Guide: HP -UX sixth edition (July 2005) part numbe r: A 5 95 1-9 60 1 5
Cont en ts 3 Abou t this gui d e 7 Intende d audience 7 Prerequi sites 7 Disk arrays 7 Related documentation 8 HP storag e website 8 HP sales a nd authorize d reseller s 8 HP techni cal support 9 Document con ventions 10 Revision history 11 Warran ty statement 12 1 Installation 15 Feature s and require m ents 1 6 Fibre Cha nnel interf ace 17 Device emul ation types 18 Failover 18 SNMP configur ation 19 RAID Manager c omm and devices 19 Instal lation proc edures 20 Instal l and configu re the disk a r ray 21 Setting the host mode f or the disk a rray ports 21 Setting the Syste m Option M odes 23 Configur ing the Fibre Channel ports 24 Instal l and configu re the host 26 Loading t he OS and software 26 Instal ling and conf iguring t he HBAs 26 Cluster i ng and fabric zoni ng 27 Fabric z oning and LUN secur i ty for multip le operatin g systems 28 Cont ent s
4 HP StorageWorks Disk Array XP Operatin g System Configurati on Guide: HP-UX Connect t he disk arra y 29 Defining the paths 29 Verifyi ng HBA installati on 31 Verifyi ng device recogni tion 32 Configur e disk array devices 35 Verifyi ng the device files and dr ivers 36 Creatin g the device f i les 38 Creatin g the physica l volumes 41 Creatin g new volume groups 42 Creatin g logical volumes 45 Creatin g the file syst ems 47 Settin g the I/O tim eout paramet er 49 Creatin g the mount dir ectories 5 0 Mounting an d verifying t he file syste m s 51 Settin g and verifyi ng the auto-moun t parameters 52 2 Troubleshoo ting 55 Erro r conditi ons 56 Calling the HP support cent er 59 A Worksheets 61 Path w orks heet 62 B Disk arr ay device emul ations 63 Supporte d emulations 64 Device t ype specification s 65 LUSE device parameters 68 SCSI TID ma p for Fibr e Channel adapt ers 71 C Referen c e infor m ation for SAM 73 Configur ing the devices u sing SAM 74 Settin g the maximum number of volume groups u sing SAM 76 Glo ssary 7 7 Index 81
About this guide 7 About t his guid e This gui de provides i nformation abo ut: • Requir ements and pro cedures for conne cting an XP dis k array to a host sys tem • Confi guring the disk a rray for use with the HP- UX operating s ystem Inte nde d a udi ence This gu ide is i ntended for s ystem administr ators with k nowledge of the host server , the operat ing syste m, and XP disk arr ays. Prerequisites Prerequi si tes for ins talling an d con figuring th is product incl ude knowledge of: • Disk arr ays and RAID tech nology • Opera ting system commands a nd utilities Disk arr ay s Unless ot herwise note d, the term disk ar ray refe rs to th ese d isk arra ys: HP S torageW orks Disk ArrayXP 128 HP S torageW orks Disk Array XP1024 HP S torageW orks X P10000 Disk Array HP S torageW orks X P12000 Disk Array
8 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Related documentation HP provide s these rela ted documents: • HP S torage W orks Disk Array XP128: Owner ’ s Guide • HP S torage W orks Disk Array XP1024: Owner ’ s Guid e • HP S torageW orks XP10000 Disk Arr ay: Owner ’ s Guide • HP S torageW orks XP12000 Disk Arr ay: Owner ’ s Guide T o locat e thes e document s, to le arn more a bout HP sof tware pr oducts , or to obta in softwar e updates, vi sit the HP web si te: htt p://h18006 .ww w1.hp .c om/stor age/xparr ays .ht ml . HP st orage w ebsite For the mos t current i nformation ab out HP Stor ageW orks XP produ cts, visit: ht tp://h18006 .w ww1.hp .c om/stor age/arr ays ystem s.html . For inf ormati on about product availa bili ty , confi gurat ion, and co nnecti vity , contact your HP suppo rt repre sentative. HP sales and authoriz ed resel l ers T o reac h HP sales or fi nd a loca l authorized reseller o f HP products, cal l 1-800-28 2-6672 or visi t the HP How T o Buy web si te: htt p://we lcome .hp .com/countr y/us/en/ho wt obuy . html Y ou ca n also find HP sale s and resell ers at h t tp:/ /www .hp .co m . Click Contact HP .
About this guide 9 HP tec hnical support In North A meri ca, call techni cal support a t 1-800-633- 3600, available 24 hours a day , 7 days a week. Outside No rth America, call te chnical supp ort at the l ocation near est you. The HP web site lists t elephone numb ers for wor ldwide techn ical support at: http://www .hp .com /sup por t . From this web site, select your country . Collect the followi ng informatio n before call ing: • T echnic al support r egistrati on number (if a pplicable) • Produc t seria l numbers • Product mod el names and numbe rs • Appli cab le error messages • Opera ting system ty pe and revi sion level • Detai led questio ns For co ntinuous qual ity improvement, calls may be record ed or monit ored. HP strongl y recommends tha t customers s i gn up online u sing the Subscri ber ’ s choi ce web site at htt p://ww w . hp .com/go/e -updates . Subscr ibing to this servi ce provides yo u with email upd ates on the l atest product enhancements, ne west drivers , and firmware d ocumentation updat es as well as instant access to numer ous other pr oduct resourc e s.
10 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Docum ent con ventions Con vention Elem ent Blue text ( Figure 1 ) Blue t ext represe nts a c ross-re ference. In the onl ine vers ion of this gui de, the r eference is linked to th e tar get. Bold Bold text represents application name s, file names, m enu ite m s, di alog box titl es, buttons, k ey names, fiel d names, and liter al values th at you type e xactly as sho wn. Italic s Italic type ind icates th at you must supp ly a va lue. Ital ic type is a lso used for man ual titl es. Blue un derlin ed sans serif fon t ( www .hp .com ) Underline d, blue text r epresents a website on the Interne t. In the onl ine version o f this guide , the refere nce is linke d to the tar get. monospace font Monospace font d eno tes use r inpu t and s ystem re spo nses, s uch as o utp ut and mess ages. Ex ample The word “example” in i talics d enotes an example o f input or out put. [ ] Square bra ckets indic ate an option al parameter . { } Braces in dicate that you must speci fy at least one of the listed o ptions. | A vertica l bar separa tes altern atives in a li st of options .
About this guide 11 Re vision hist ory Septem ber 1999 Open-8 emulation added. Janua ry 2000 Conten t exte nsively r evised and re organi zed. June 2 000 Added suppor t for XP512. Conten t reor ganized and revised. Febru ary 2001 Added appen dixes C, D, E, an d F . Added glos sary . April 200 3 Changed brand name to S torageW orks. Added suppor t for OPEN-L and O PEN-V . Changed CVS to VCS. November 200 3 Revis ed I/O timeout pro cedure. M inor up date. August 2004 Updated f or XP12000. July 2005 Updated t o include XP10000 , Command V iew XP Advanced Edi tion, and Remote W eb Console XP .
12 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX W arrant y st atem ent HP warrant s that for a period of ninet y calendar days f rom the date of purc hase, as evi denced by a cop y of the invoi ce , the media o n which the Soft ware is furnished ( if any) wi ll be free o f defects i n materials a nd workmanshi p under normal us e. DISCLAIMER . EXCEP T FOR THE FOREG OING AND TO THE EXTENT ALLOWED BY LOCAL LA W , THIS SOFTW ARE IS PROVIDED T O YOU “AS IS” WITHOUT W ARRANTIES OF ANY KIND, WHETHER ORAL OR WRITTEN, EXPRESS OR IMPLIED. HP SPECIFICALL Y DISCLAIMS ANY IMPLIED W ARRANTIES OR CONDITIONS OF MERCHANT ABILITY , SA TISF ACTOR Y QUALITY , N ON-INFRINGEMENT , TITLE, ACCURACY OF INFORMA TIONAL CONTENT , AND FITNESS FOR A P AR TICULAR PURPOSE. Some juris dictions do not allow ex clusions of imp lied warr anties or condi tions, so the above exclusi on may not apply to you to the exten t prohibited by such local l aws. Y ou may have oth er rights that vary fr om country to c ountry , state t o state, o r province t o province . WA R N I N G ! YOU EXPRESSL Y ACKNOWLEDGE AND AGREE THA T USE OF THE SOFTW ARE IS A T YOU R SOLE RISK. HP DOES NOT W ARRANT THA T THE FUNCTIONS CONT AINED IN THE SOFTW ARE WILL MEET YOUR REQUIREMENTS, OR THA T THE OPERA TION OF THE SOFTW ARE WILL BE UNINTERRUP TED, VIRUS-FREE OR ERROR-FREE, OR THA T DEFECTS IN THE SOFTW ARE WILL BE CORRECTED. THE ENTIRE RISK AS TO THE RESUL TS AND PERFORMANCE OF THE SOFTW ARE IS ASSUMED BY YOU. HP DOES NOT W ARRAN T OR MAKE ANY REPRESENT A TIONS REGARDING THE USE OR THE RESUL TS OF THE USE OF THE SOFTW ARE OR RELA TED DOCUMENT A TION IN TERMS OF THEIR CORRECTNESS, ACCURACY , RELIABILITY , CURRENTNESS, OR OTHER WISE. NO ORAL OR WRITTEN INFORMA T ION OR ADVICE GIVEN BY HP OR HP’S AUTHORIZED REPRESENT A TIVES SHALL CREA TE A W ARRANTY .
About this guide 13 LIMIT A TION OF LIABILITY . EXCEP T TO THE EXTENT PROHIBITED BY LOCAL LA W , IN NO EVENT INCLUDING NEGLIGENCE WILL HP OR ITS SUBSIDIARIES, AFFILIA TES, DIRECT OR S, OFFICERS, EMPLOYEES, AGENTS OR SUPPLIERS BE LIABLE FOR DIRECT , INDIRECT , SPECIAL, INCIDENT AL, CONSEQUENTIAL, PUNITIVE OR OTHER DAMAGES (INCLUDING LOST PROFIT , LOST DA T A, OR DOWNTIME COSTS), ARISING OUT OF THE USE, INABILITY T O USE, OR TH E RESUL TS OF USE OF THE SOFTW ARE , WHETHER BASED IN W ARRANTY , CO NTRACT , TOR T OR OTHER LEGAL THEOR Y , AND WHETHER OR NOT ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Y our use of the Softwa re is ent i rel y at your own ris k. Shoul d th e Soft war e pro ve defective, you as sume the entire c ost of all ser vice, repair or correction. Some jurisd ictions do not a l low the excl usion or limitat ion of liab ility for inciden tal or conse quen tial damag es, so t he above limit atio n may not a pply to yo u to the exten t prohibited by such local l aws. NOTE . EXCEP T TO THE EXTENT ALLOWED BY LOCAL LA W , THESE W ARRANTY TERMS DO NO T EXCLUDE, RESTRICT O R MODIFY , AND ARE IN ADDIT ION TO, THE MANDA TOR Y ST A TU TOR Y RIGHTS APPLICABLE TO THE LICENSE OF THE SOFTW AR E T O YOU; PROVIDED , HOWEVER , THA T THE CONVENTION ON CONTRACT S FO R THE INTERNA TIONAL SALE OF GOODS IS SPECIFICALL Y DISCLAIMED AND SHALL NOT GOVERN OR APPL Y T O TH E SOFTW ARE PROV IDED IN CONNECTION W ITH THIS W ARRANTY ST A TEM ENT .
14 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Installation 15 1 Installation Y ou and your HP service representa tive each play a role in ins tallation. Y our HP s ervice r epresentat ive is respo nsible for i nstalling the disk a rray and format ting the di sk devices. Y ou are resp onsible for conf iguring the host ser ver for the new devices with as sistance f r om your HP servi ce repres entative.
16 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX F eatu re s and r equi remen ts Ask your HP service repres entative about the lates t supported har dware and sof tware . The disk a rray and host hav e the following f eatures: • S torage capacity . The storage capacity fo r each model is list ed belo w : XP128: F rom 8 to 128 drives f or up to 18 TB, 48 FC ports XP1024: From 8 to 1024 drives for up to 149 TB, 64 FC port s XP10000: Up t o 240 drives for u p to 69.2 TB, 48 FC por ts XP12000: Up t o 1 152 drives for up to 165 TB, 128 FC port s • Server sup port. HP-UX-supported processor • Operating s ystem support. HP-UX, versi on 10.20, 1 1.0, or 1 1i v2 with the la test patches ( if any) Before i nstalling the disk array , ensure the envi ronment confor ms to these requir ements: • Ho st Bu s Ada p ter s ( HBA s) Install HBAs a nd all util ities and driv ers. Refer to the adapter documentati on for inst allation de tails. • (Reco mmended) HP S torageW orks Remote W e b Console XP , Command V iew XP Advanc ed Editi on or Command V iew XP wit h LUN management f eature for con figuring dis k array port s and path s • (Reco mmended) HP S torageW orks LUN Configura tion and Securit y Manager XP
Installation 17 • (Opti onal) Other a vailable XP soft ware (some may not be support ed by your arra y: HP S torageW orks Business Copy XP HP S torageW orks Continuous Acces s XP HP S torageW orks Continuous Acces s Extension XP HP St ora geW orks Auto LUN XP HP S torageW orks D ata Exchange XP HP S torageW orks Resource Manager XP HP S torageW orks RA ID Manag er XP HP S torageW orks Cache LUN XP HP St ora geW orks Auto Path XP HP S torageW orks Cluster Ext ension XP HP S torageW orks Performance Advisor XP F ibre Channel interf ace The X P fam ily o f dis k arra ys su pport s th ese Fi bre C hann el el emen ts: • Connect ion speed of 1 Gbps and 2 Gbps • Short -wave no n-OFC (open f iber control ) optical int erface • Multi mode opti cal cables wit h SC or LC connector s • Publi c or private ar bitrated l oop (FC-AL) or di rect fa bric attach • Fib re Ch anne l swit ches Even though the int er fa ce is Fib re Chann el, this guide uses the ter m “SCSI disk” be cause disk ar ray devices a re defined to t he host as SCSI d isks.
18 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Dev ice emulation types The XP famil y of disk arrays supports the se device emulat ion types: • OPEN-K/3/8 /9/E devices: OPEN-x logic al units represent di sk devices. Exce pt for OPEN-V , the se devices are ba sed on fixed sizes. OPEN- V is a user -defined size. Support ed emulati ons include OPEN-3, OPEN-8, OPEN-9, OPEN-E, OPEN- L, and OPEN-V device s. • LUSE devices (OPEN- x *n ): Logical Uni t Size Expansion (LUSE) devices combine 2 to 36 OPEN- x devices to c r eate expanded LDEVs lar ger than s tandard OPEN-K/3/ 8/9/E disk devic es. For example, a n OPEN-x LUSE volume create d from ten OPEN-x volumes i s designated as OPEN-x*10. • CVS devices (OPEN-x CVS): V olume Size Conf iguration ( VSC) defines custom volu m es ( CVS) that are s maller than n ormal fixed- sized logica l disk dev ices (volumes ). (OPEN-V is a CVS-based c ustom dis k size that you dete rmine. OPEN- L does not support CV S.) • LUSE (expanded) CVS devi ces (OPEN-x*n CVS): LUSE CVS combin es CVS devices to create a n expanded devi ce. This is don e by firs t creating C VS cus tom-sized devi ces an d then usi ng LUSE to comb ine from 2 t o 36 CVS devices. F or example, if thr ee OPEN-9 CVS volumes are combi ned to cre ate an expanded device, this de vice is designat ed as OPEN-9*3-CVS. Fa il ove r The XP famil y of disk arrays supports many s tandard s oftware products that pr ovide host, ap plication, or I / O path fail over and mana gement. The fo llowing ar e supported f or HP-UX: • HP Multi- Com p uter /S ervi ceGu ard (M C/S e rvice Guar d) sof tware for applica tion failo ver • Alterna te link for I/O path failov er (included in HP-UX) • Logic al volume mana gement (inclu ded in HP-UX)
Installation 19 SNMP confi guration The XP famil y of disk arrays supports standa rd Simple Networ k Managemen t Protocol (SNMP) for remotel y managing the di sk array . The SNMP agent on t he SVP performs e r ror-re porting oper ations reque sted by the S NMP manager . SNMP propert ies are usuall y set from the SVP but they can also be set r emotely using Remot e W eb Console XP , Command V iew XP , or Command V iew XP Advanced Edit ion. Refer to t h e applica ble user ’ s guide fo r procedures. RA ID M anager command de vices RAID Manage r manages Bus iness Copy (BC) or Continuous Access (CA) operati ons from a host server . T o use RAI D M anage r with BC or CA, you use Remote W eb Console, Command V iew , or Command V iew XP Advanced Edi tion to desi gnate at least one LDEV as a command device. Refer t o the app li cab le use r ’ s guide f o r in for mation abo ut how t o desi gna te a command devi ce.
20 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Inst alla tion p rocedur es Perform t hese actions to install and configur e the disk ar ray: 1. Instal l and configu re the disk a rray (see page 2 1) • Setting the host mode f or the disk a rray ports • Setting the System Op tion Modes • Configur ing the Fibre Chann el ports 2. Instal l and configu re the host ( see page 26) • Loading the OS a nd software • Installi ng and configu ring the HBAs • Clustering and fabric zoni ng • Fabric z oning and LUN s ecurity for mult iple operat ing systems 3. Connect t he disk arra y (see page 29) • Defining the pa ths • V eri fying HBA installa tion • V eri fying device recognition 4. Configur e disk arr ay devi ce s ( see page 35) • V eri fying the dev ice files a nd drivers • Creatin g the device f iles • Creatin g the physical vo lumes • Creatin g new volume groups • Creatin g logical volumes • Creatin g the file syst ems • Setting the I/O timeo ut paramet er • Creatin g the mount dir ectories • Mounting an d verifying the file syste m s • Setting and verifyi ng the auto-moun t parameters
Installation 21 Install an d configure the disk array The H P ser vic e r epr esent ativ e perf orms the se tas ks: • Assembl ing har dware and i nstalling software • Loading t he microcode upd ates • Instal ling the channel adapters ( CHAs) and cabl ing • Instal l ing and formatt ing devices After t hese tasks ar e finished, you wi ll use Remote W eb Consol e, Command V iew , Command V iew XP Advanced Edi t ion, or LUN Configur ation a nd Secu rity Manager to complete the remai ning t asks li sted belo w . If you do not have these p rograms , your HP servic e represe ntative can perf orm these tas ks for you. Setting the host mode for the disk arr ay por ts The disk a rray ports h ave host modes that must be set de pending on the host you use. After the disk ar ray is ins talled use LUN Manager in R emote W eb Cons ole XP (shown), Command V iew XP , or Command V iew XP Advance d Edit ion to set t he host mode for e ach por t. The host mode se ttin g for HP-UX is 08 .
22 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX For the XP1 024/XP128 array s, the host mode c a n also be se t at the port informat ion window in Command V iew XP AE.
Installation 23 Sett ing the S y stem Optio n Mode s The HP service repres entative s ets th e System Op tion Mode(s) ba sed on t he opera ting syst em and softwar e configuratio n of the host. Mod e Le vel HA Soft war e Desc ription and Us ag e 140 Optional None ON: R e sp onse t o t he Inquir y comm and is chan ge d, and th e volume ca n be used fr om V er itasN etBackUP i n hete r ogeneous OS configuratio n, such a s HP-UX. OFF: Normal response to the Inquiry com mand. 186 Manda tory Ve r i t a s Database Edition s / Adva nced Cluster ON: M andatory settin g wh en VERIT A S Database Editi ons/Advanced Cluste r is conn ected. OFF: VERIT AS Database Edition s /Adv anc ed Cluster should not be connec ted with this setting. 254 Optional Ve r i t a s Database Edition s Chan ge t he respon se of reserve co nflict st at us to Read Ca pacity , V erify , and S tart Sto p Unit. ON: Normal end is reported. OFF: Reserve conflict statu s is reported . 280 Optional HP-UX Ghost LUN Remove OS version: HP-UX 11.0 and later . ON: When the ho st scans the LUNS on the port , the di sk array i s not rep resent ed in the device list for HP-UX. OFF: When t he host scans the LUNS on the port, the disk a rray is re pre se nted in the d evi ce list for HP-UX.
24 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Con figuring th e Fibre Chann el p or ts Configur e the disk ar ray Fibre Chann el ports by us ing Remote W e b Console ( shown), Command V iew , or Command V iew XP AE. Sele ct the setti ngs for each po rt based on you r storage ar ea network to pology . Use switch z oning if you co nnect diff erent types of hosts to t he array through the sa me sw itc h . F ibre A ddress In fabr ic environment s, the port a ddresses are as signed automat ically . In arbitr ated loop env ironments, set t he port addres ses by selec ting a uni que arbitr ated loop phys ical addres s (AL-P A) or loop I D for each por t.
Installation 25 F a bric and Connecti on parameter settings Set each array port t o F ABRIC ON or OFF with conn ections of POINT -TO -POINT or FC- AL as shown in the following ta ble and fi gures. For de tailed topo logy inform ation, refe r to the HP S torageW orks SAN Design Ref er ence Guide on the hp .com website . Fab ric par amete r Connection par amete r Provides ON FC-AL Not s upported ON Dir ect Fa bric A ttach F-port (fabr ic port) OF F FC-AL AL-port (pr iv ate arbi tr at ed loop) OF F Dir ect Fa bric A ttach Not s upport ed
26 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Install and confi gur e t he host This sec tion explain s how to insta ll and conf igure the ho st and host bu s adapter s (HBAs) that conne ct the host t o the disk arra y . Load ing t h e OS and sof t ware Foll ow the manu facturer ’ s instructi ons to load th e operating s ystem and softwar e onto the host . Load all OS patch es and configu ration utili ties support ed by HP and the HBA manuf acturer . Installing and confi guring the HB As Instal l and configu re the host b us adapters u sing the HBA manufac turer ’ s ins tructi ons .
Installation 27 Clustering and fabr ic zoning If you pl an to use clu stering, ins tall and con figure the clus tering soft ware on th e servers. Cluster ing is the or ganizati on of multiple se rvers into g roups. W ithin a cluste r , each server is a node. Mul t iple cluste rs compose a mult i-cluster environme nt. The followi ng example shows a multi-cluste r environment with thr ee cluster s, each contai ning tw o nodes. T he nodes share access to the d i sk array . W ithin the Stor age Area Net work (SAN), the c l usters may be homogene ous (all th e same operati ng system) or t hey may b e heterog eneous (mix ed operati ng systems). How y ou configure L UN Securit y and fabric zoning depe nds on the oper ating syste m mix and t he SAN configur ation.
28 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX F abric z oning and L UN security f or multipl e oper ating s y stems Y ou ca n co nnec t multiple c lus te rs of vario us operati ng sys te ms to th e same switch a nd fabric usi ng appropria te zoning and LUN security as follows: • Host z ones must conta in only homog eneous operat ing systems. • S torage port zones may overl ap if more tha n one operati ng system nee d s to s h are a n ar ra y po r t. • Heter ogeneou s opera ting syst ems may share an XP array port i f you use Secur e Manager and se t the appropr iate host group and mode. All others must connect to a dedi cated XP array port. • Use Se cur e Man age r f or LUN i sol at io n whe n multiple h ost s c onne ct thro ugh a sh ared arra y port. Secure Manager pro vides LUN securi ty by allowing you to restric t which LUNs each host can acce ss. Environment OS M ix Fabric Zoning LUN Sec ur it y S t andalone SAN (non- clustered) homogeneou s (a singl e OS type pres ent in the SAN) Not requir ed Must be u s ed when multiple hosts connect t hrough a sh ar ed p o rt heterogen eous (more t han one OS type pres ent in the SAN) Requir ed Clustere d SAN homogeneou s (a singl e OS type pres ent in the SAN) Not requir ed Must be u s ed when multiple cluster nodes c onnect t hrough a shar ed port heterogen eous (more t han one OS type pres ent in the SAN) Requir ed Multi- Cluster SAN homogeneou s (a singl e OS type pres ent in the SAN) Not requir ed Must be u s ed when multiple cluster nodes c onnect t hrough a shar ed port heterogen eous (more t han one OS type pres ent in the SAN) Requir ed
Installation 29 Connec t t he disk arra y The HP se rvice representa tive connect s the d isk arra y to the ho st by: 1. V erifying oper ational status of th e disk array c hannel adapte rs, LDEVs, and paths . 2. Connecti ng the Fibre Cha nnel cables bet w een the disk array a nd the fabric switch or host. 3. V erifying t he re ady statu s of the disk array and periph erals. Defining the pat hs Use Remote W eb Console (s hown), Command V iew , or Command V iew XP AE to defi ne paths (LUNs) between hosts and volumes i n the disk arra y . This proc ess is also called “LUN mappi ng.” In Remote W eb Console and Command V iew , LUN mapping inclu des: • Con figuring ports • Set ti ng LU N sec urity • Creat ing host g r oups • Assig ning host b us adap ter WWNs to h ost groups • Mapp ing volumes to host groups (by assignin g LUNs)
30 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX In Command V iew XP AE, LUN mappin g includes: • Con figuring ports • Creat ing storage groups • Mapp ing volumes and WWN /host access permissions t o the storage groups For de tails see LUN Co nfigurat ion and Securi ty Manager Us er ’ s Guide or Command V iew XP Advanced Edition Device Ma nager W eb Client User ’ s Guide. Note the LUNS an d their ports , WWNs, nickna mes, and LDEVs for later use in verif ying host and d evice config uration.
Installation 31 Ve r i f y i n g H B A i n s t a l l a t i o n After co nfiguring t he ports on th e disk array , verify that th e HBAs are instal led properl y . Use the ioscan –f command, and ver ify that the r ows shown in the ex ample are dis played. If these rows ar e not displa yed, check t he host adapt er instal lation (har dware and dri ver install ation) or t he host confi guration. Example # ioscan -f Class I H/W Path Driver S/W State H/W Type Description =============================================================== ================================ ... fc 0 8/12 fcT1 CLAIMED INTERFACE HP Fibre Channel Mass Storage Adapter lan 1 8/12.5 fcT1_cntl CLAIMED INTERFACE HP Fibre Channel Mass Storage Cntl fcp 0 8/12.8 fcp CLAIMED INTERFACE FCP Protocol Adapter ext_bus 2 8/12.8.0.255.0 fcpdev CLAIMED INTERFACE FCP Device Interface ...
32 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX V er i f yin g d evi c e re c o gn i t io n V erify tha t the HP-UX sy stem re cognizes the new devices on t he dis k arra y . If the SCSI paths were d efined after t he system is p owered on, you must halt an d restart t he system to al low the syst em to recognize the new devices . T o verify de vice recogni tion: 1. Log in to the syste m as root . 2. Display th e devi ce dat a to ver ify that the syst em recog niz es the newly instal led devices on the disk ar ray . Use the io scan –fn command to disp lay th e device data . On a syste m with a larg e LUN configurat ion, HP-UX may not buil d device f iles on all LUNs. Ente r insf –e to bui ld al l missi ng devi ce fi les. Example In the e xample: HP OPEN-9 devic e: SCSI bus nu mber = 14/12, bus ins tance = 6, SCS I tar get ID = 0, LUN = 0. HP OPEN-9*2 devi ce: SCSI bus numbe r = 14/12, bus ins tance = 6, SCSI tar get ID = 0, LUN = 1. If UNKNOWN is d isplayed for a d isk, the HP 9 000 syste m may not be configur ed properly . Refer to t he HP document ation or cont act HP # ioscan -fn class I H/W Path Driver S/W State H/W Type Descr iption =============================================================== =========== bc 6 14 ccio CLAIMED BUS_NEXUS I/O A dapter HP Fibre Channel Mass fc 1 14/12 fcT1 CLAIMED INTERFACE Stora ge Adapter HP Fibre Channel Mass lan 2 14/12. 5 fcT1_cntl CLAIMED INTERFACE Storage Cntl /dev/fcms2 fcp 1 14/12. 8 fcp CLAIMED INTERFACE FCP Protocol Adapter HP A3308 FCP-SCSI MUX ext_bus 6 14/12.8.0.0.0 fcpmux CLAIMED INTERFACE Interface target 9 14/12.8.0.0.0.0 tgt CLAIMED DEVICE disk 4 14/12.8.0.0.0.0.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c6t0 d0/dev/rdsk/c6t0d0 disk 5 14/12.8.0.0.0.0.1 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c6t0d1 /dev/rdsk/c6t0d1 ext_bus 7 14/12.8.0.255.0 fcpdev CLAIMED INTERFACE FCP Device Interface target 10 14/12.8.0.255.0.0 tgt CLAIMED DEVICE ctl 5 14/12. 8.0.255.0.0.0 sctl CLAIMED DEVICE HP HPA3308 /dev/rscsi/c7t0d0
Installation 33 customer support for a ssistance with the HP 9000 sy stem or the HP-U X o pera ting sy stem. 3. Enter t he device data for each dis k array devi ce in a table . See “Path worksh eet” on p age 62 . 4. Construc t the device file name for each device, u sing the device info rmation, an d enter the f ile names in y our table. Use the foll owing formula t o construct the device f ile name: c xt yd z where x = SCSI bus in stance number y = SCSI tar get ID z = LUN c stands fo r controller , t stands for t arget ID, and d stands for de vice. The numbers x , y, and z are hexadecimal. Example 5. V erify that t he SCSI TIDs corr espond to the assigned port addre ss for all conn ected p ort s (see mapping t ables on page 63 in Appendix B , for valu es). If so, t he logical devices are recognized p roperly . If the logical devi ces are not recognized pr operly: • Check t he AL-P A for each p ort using the LUN Manager software. • If the same port addre ss is set f or multiple p orts on the sa me loop (AL wit h HUB), all po rt addresses except one ch anged to anoth er valu e, and the r elationship be tween AL-P A and TID does not corres pond to the ma pping given in Appendix B (page 63) , se t a SCS I bus inst ance numbe r Hard war e path SC SI TI D LUN File nam e 00 14/12.6. 0 6 0 c6t0d0 00 14/12.6. 1 6 1 c6t0d1
34 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX dif ferent add ress for eac h port, reboot the serv er , and then verify new dev i ce recognit ion again. • If unuse d device info rmation remai ns, the TID-to- AL-P A mapping will not cor respond to t he mapping given in Appendix B (p age 6 3) . Renew the de vice informati on, and then verif y new device reco gnition a gain.
Installation 35 Conf igure disk arra y de vices Disk arr ays are confi gured using the same procedure for configur ing any new disk on the host. This includes t he following proc edures: 1. V erifying t he device fi les and driv ers (see page 36) 2. Creatin g the device f iles (see page 38) 3. Creatin g the physical volumes (see page 41) 4. Creatin g new volume groups (see page 42) 5. Creatin g logical vol umes (see p a ge 45) 6. Creatin g the file syst ems (see page 47) 7. Setting the I/O tim eout p arameter (see page 49) 8. Creatin g the mount dir ectories (s ee page 50) 9. Mounting an d verifying t he file sys t ems (see page 51) 10. Setting and ver ifying t he auto-mount p arameters (see page 52) The HP-UX syst em uses the Logi cal V olume Manager (L VM) to mana ge the O PEN- x devi ces on the disk array . Th e instructions in this sec t ion do not e xplicitly cover all L VM confi guration is sues. For furt her informat ion on L VM configur ation, see th e HP-UX user documen tation. HP System Admini strator Mana ger (SAM) can be u sed instead of UNIX commands to configure SCSI d isk devices. See appendix C (page 73) fo r furt her inform atio n.
36 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX V erify ing the d e vice files and dri vers The de vice fil es for new devi ces are usua lly creat ed automatic ally during HP-UX st artup. Each device must have a blo ck-type devic e file i n the /dev /dsk direc t ory and a cha racter -type dev i ce file in t he /d ev/r dsk dire ctory . However , some HP-compati ble syst ems do not creat e the device fi les auto m ati cally . If verifi cation shows th at the d evice files were not crea ted, foll ow the ins truct ions i n “Cre ating the de vice fi les” (page 38) to crea te the device f iles manuall y . This proc edure verif i es both types o f device files . T o verify t hat the device files for the d isk array de vices we r e cr eated: 1. Display t he bl ock- type device fi les in the /d ev/dsk directo ry using the ls –l command with the output piped to mor e . V erify ther e is one block-t ype device fi le for each disk array de vice. Example # ls –l /dev/dsk | more Total 0 brw-r - - - - - 1 bin sys 28 0x006000 Dec 6 15:08 c6t0d0 brw-r - - - - - 1 bin sys 280 0x06100 Dec 6 15:08 c6t0d1 2. V erify tha t the block- type device fil e name for each device is co rrect. 3. Display the char acter -type device files in the /dev/ rdsk dir ectory us ing the ls –l command with the out put piped to mo re . V e rify th at the re is one ch aracter -type d evice file for each dis k array devic e.
Installation 37 Example # ls –l /dev/rdsk | more Total 0 crw-r - - - - - 1 bin sys 177 0x006000 Dec 6 15:08 c6t0d0 crw-r - - - - - 1 bin sys 177 0x006100 Dec 6 15:08 c6t0d1 4. Use th e devic e data ta ble you creat ed to verif y that the cha racter -ty pe device f ile name for each device i s correct . This task can al so b e acc ompl ished wit h the lssf command. 5. After verifying the block-t ype and cha racter -type devi ce files, veri fy th e HP-UX dri ver for the disk array us ing th e ioscan –fn comman d. Example # ioscan -fn Class I H/W Path Driver S/W State H/W Type Description =============================================================== ============================== bc 0 root CLAIMED BUS_NEXUS bc 1 8 bc CLAIMED BUS_NEXUS Bus Converter fc 0 8/12 fcT1 CLAIMED INTERFACE HP Fibre Channel Mass Storage fcp 0 8/12.8 fcp CLAIMED INTERFACE FCP Protocol Adapter ext_bus 2 8/12.8.0.255.0 fcpdev CLAIMED INTERFACE FCP Device Interface disk 3 8/12.8.8.255.0. 6.0 sdisk CLAIMED DEVICE HITACHI OPEN-9 /dev/dsk/c2t6d0 /dev/rdsk/c2t6d0 disk 4 8/12.8.8.255.0. 6.1 sdisk CLAIMED DEVICE HITACHI OPEN-9 /dev/dsk/c2t6d1 /dev/rdsk/c2t6d1 disk 5 8/12.8.8.255.0. 8.0 sdisk CLAIMED DEVICE HITACHI 3390*3B /dev/dsk/c2t8d0 /dev/rdsk/c2t8d0 : #
38 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Cr eating the dev ice files If the device file s were not c r eated auto m aticall y when the syst em was restar ted, us e the in sf –e command in the /de v direc tory to creat e the devic e files . After this comma nd is executed, re peat the proced ure s in the pr evious sect ion (page 36) to verify new devi ce recognit ion and the de vice files and driv er . Example # insf -e insf: Installing special files for mux2 instance 0 address 8/0/0 : : : : : : : : # Failure of the insf –e command i ndicates a SAN problem. If the device file s for the new d isk array dev ices cannot b e created auto m atical ly , you must cr eate the devi ce files manu ally u sing the mknod comm and as fol lows : 1. Retriev e the device i nformation yo u recorded ea rlier . 2. Construc t the device file name for each devi ce, using the d evice info rmation, an d enter the f ile names in y our table. Use the foll owing formula t o construct the de vice fil e name: c xt yd z where x = SCSI bus in stance number y = SCSI tar get ID z = LUN c stands fo r controller , t stands for t arget ID, and d stands for de vice. The numbers x , y, and z are hexadecimal.
Installation 39 3. Construc t the minor numbe r for each de vice, using th e device info rmation, an d enter the f ile names in y our table. Use the foll owing formula t o construct the minor number : 0x xxyz 00 where xx = SCSI bus in sta nce num ber y = SCSI tar get ID z = LUN 4. Display the driv er information fo r the sys tem using the lsd ev command. Example # lsdev Character Block Driver Class : : : : 188 31 sdisk disk # 5. Enter th e major numbers f or the device drivers into t he table. Y ou should now have all required d evice and dri ver informat ion in the ta ble. 6. Create t he device fi les for all disk array devices (SCSI d isk and multipl atform device s) using the mk nod command. Create t he block-t ype device f iles in the /dev/ dsk di rectory an d the char acter -type device f iles in the /dev/rdsk dir ectory . Example # cd /dev/dsk Go to / dev/dsk directory . # mknod /dev/dsk/c2t6d0 b 31 0x026000 Cr eate block -t y pe file . File name, b=block-type, 31=major #, 0x026000= minor # # cd /dev/rdsk Go to /d ev/rdsk directory . # mknod /dev/rdsk/c2t6d0 c 188 0x026000
40 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Create c haracter-type fi le. File name, c=character-type, 177=major #, 0x026000=minor # : # The ch aracter -type de vice file is required for volumes used as raw devices (for e xample, 33 90- 3A/B/C). Th e block- type de vice f ile is no t requir ed for volumes u sed as raw devi ces. If you ne ed to delete a device file, u se the rm –i comman d. Example of a completed de vice data tab le Bus no. Instance (XX) Disk no . H/W path Driver De vic e typ e TID (Y) LUN (Z) De vic e file Mino r # 0xXXY Z00 Majo r # for c ha r . file s Maj or # for b lo c k files 8/12 02 3 8/12 .8.8.255. 0.6.0 sdisk OPEN-9 6 0 c2 t6d0 0x02 6000 188 31 8/12 02 4 8/12 .8.8.255. 0.6.1 sdisk OPEN-9 6 1 c2 t6d1 0x02 6100 188 31 8/12 02 5 8/12 .8.8.255. 0.8.0 sdisk 3390-3 B 8 0 c2t8d0 0 x028000 188 31
Installation 41 Cr eating the ph ysical v olumes A physical volume must be c reated for e ach new SCSI disk device. T o c reate t he ph ysi ca l vo lum es: 1. Use th e pvcr eate command to c reate the phy sical volumes wit h the char acter -type devi ce file as the arg ument. Specify t he /d ev/rds k dire ctory . Example # pvcreate /dev/rdsk/c6t0d0 Physical volume "/dev/rdsk/c6t0d0" has been successfully created. : # pvcreate /dev/rdsk/c6t0d1 Physical volume "/dev/rdsk/c6t0d1" has been successfully created. Do not use the –f opti on wi th th e pv cr eate command. This optio n create s a new physical volume forci bly and overwri tes the exi sting volume . If you acc identally e nter the cha racter -type devic e file for an exis ting volu me, you will lose the data on t hat volume. 2. Repeat st ep 1 for each OPEN- x device on the disk ar ray .
42 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Cr eating new v olume gr oups Y ou must cr eate new volume g r oups for the new p hysical volu m es. If desire d, you can also a dd any of the v olumes on the di sk array to e xisting volume groups using the vgexte nd command. The physica l volumes that make up one volu m e group c an be located either in the same disk arra y or in other disk arrays . T o allo w m ore volume groups to be created, use SAM to modi fy the HP-UX sys t em kernel confi guration. See appendix C (page 73) fo r details. T o cre ate volume gr oups: 1. Use th e vgdis play command to dis play the exist ing volume group s. 2. Choose a unique name for the new volume gr oup (f or exa mple: vg06). 3. Create t he director y for the new v olume gro up. Example # mkdir /dev/vg06 4. Use th e ls –l command (wit h the output pi ped to gr ep to displa y only the fil es containi ng “group”) t o display the minor nu mbers f or the exis ting group fi les. Example # ls –1 /dev/vg* | grep group crw-rw-rw 1 root root 64 0x0000000 Nov7 08:13 group : 5. Choose a unique minor numb er for th e new group file in sequ ential order (for exa mple, when exi sting volume gro ups are vg00-vg 05 and the next group name is vg06, use m inor nu mber 06 for t he vg06 gro up file). The mino r numbers ar e hexadecimal (for example, the 10th minor number is 0x0a0000 ). 6. Use mknod to c reate the gr oup file for the new director y . Specify th e volume gro up name, major number , and minor numbe r . The major number for all grou p files is 64.
Installation 43 Example In th is exampl e: gro up name = vg0 6, major nu mber of group file = 64, minor number of existing gr oup file = 06 (which must be uniqu e for each volume group) , and c = chara cter . # mknod /dev/vg06/group c 64 0x060000 : 7. Create t he volume group. T o allo cate more than one physical vol ume to the new vol ume group, add the o ther physica l volumes, separat ed by a space. Example # vgcreate /dev/vg06 /dev/dsk/c6t0d0 Volume group "/dev/vg06" has been successfully created. Volume group configuration for /dev/vg06 has been saved in /etc/1vmconf/vg06.conf. For Log i cal Unit Siz e Expansion (LUSE) volumes th at contain mor e than 17 OPEN- 8/9 LDEVs or more than 7 043 MB (OPEN-8/9*n -CVS), use th e –s and –e physical exte nt (PE) para mete rs of th e vgcr eate command. See “LUSE device parame ters” (pag e 68) . If you need to de lete a volume g roup, use the vgr emove command (for example, vg remove /de v/vgnn ). If t he vgr emove command does not work becau se the volume gr oup is not ac tive, use t he vgexport command (for example, vgexpor t /dev/vgnn ). 8. Use th e vgdis play command to ver ify that the ne w directory was cre ated. 9. Use vgdi spl ay –v to verify t hat the vol ume group was created co rrectly . The –v o ption displa ys the detai led volume g roup informat ion.
44 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Example # vgdisplay –v /dev/vg06 - - - Volume groups - - - VG Name /dev/vg06 VG Write Access read/write VG Status available Max LV 255 Cur LV 0 Open LV 0 Max PV 16 Cur PV 1 Act PV 1 Max PE per PV 1016 VGDA 2 PE Size (Mbytes) 4 Total PE 586 Alloc PE 0 Free PE 586 Total PVG 0 - - Physical Volumes - - - PV Name /dev/dsk/c6t0d0 PV Status available Total PE 586 Free PE 586
Installation 45 Cr eating logical v o lumes Use th ese commands for logical volume configur ation: lvr emove Deletes a logical volume. Any fi le system att ached to the logical volu me must be unmount ed before exec uting the lv remove command. Example: lvremove /dev/vgnn/lvolx lvext end Incr eases the si ze of an exis ting logical vo lume. Example: lvextend –L size /de v/vgnn/lvolx lvr educe Decrease s the size of an existing lo gical volume. Any fi le system att ached to the logical volu me must be unmount ed before exec uting the lv reduce co m mand. Example: lvreduce –L size /de v/vgnn/lvolx Cau ti on Data withi n the file system can be l ost after exec ution of lvre duce . Create l ogical volume s after you c r eate volume group s. A logical vo lume must be cr eated for each n ew SCSI disk devi ce T o c reate l ogica l vo lum es : 1. Use th e lvcreat e –L command to crea te a logical volume. Specify the volume siz e (in megabytes ) and the volume group for the new lo gical vol ume. HP-UX assigns the l ogical volu m e numbe rs auto m atical ly (lvol1, l vol2, lvol3). Use the followin g capacity val ues for t he size para mete r: OPEN-K = 17 40 OPEN-3 = 2344 OPEN-8 = 7004 OPEN-9 = 7004 OPEN-E = 13888
46 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX OPEN-L = 34756 OPEN-V = 61 432 T o calc ulate S1 for CVS, LUSE, an d CVS LUSE volumes, fir s t use the vgdi splay command to di splay the phys ical extent si ze (PE Size) and us able numb er of physica l extents (F ree PE) fo r the volu me. Calculat e the maximum s i ze value ( i n MB) as follows : S1 = (P E Size) × (Free PE) Logical volumes can span multiple phys ical volumes. Us e the diskinfo command for exte nded LUNs. Example Create a n OPEN-3 logical volume the size of the physical vo lume, usin g 2344 fo r the size para m ete r . An OPEN-9 volu m e uses 7040 f or the s ize para m eter to cr eate a logical volume the si ze of the phys ical volume. # lvcreate –L 2344 /dev/vg06 Logical volume "/dev/vg06/lvol1" has been successfully created with character device "/dev/vg06/rlvol1". Logical volume "/dev/vg06/lvol1" has been successfully extended. Volume Group configuration for /dev/vg06 has been saved in /etc/1vmconf/vg06.cof. 2. Use th e lvdis play comma nd to verify that the log ical volume was crea ted correct ly .
Installation 47 Example # lvdisplay /dev/vg06/lvol1 - - - Logical volume - - - LV Name /dev/vg06/lvol1 VG Name /dev/vg06 LV Permission read/write LV Status available/syncd Mirror copies 0 Consistency Recovery MWC Schedule parallel LV Size (Mbytes) 2344 Current LE 586 Allocated PE 586 Stripes 0 Stripe Size (Kbytes) 0 Bad block on Allocation strict 3. Repeat st eps 1 and 2 for ea ch logical vo lume to be create d. Y ou can create only one logical volu me at a time . However , you can veri fy multip le logical v olumes at a time. Cr eating the f ile sy stems Create t he file sys tem for each ne w logical volume on the di sk array . The defa ult fil e system types are: • HP-UX OS versi on 10.20 = hfs or vxfs , dependin g on entry in the /et c/default s/fs file • HP-UX OS ver s ion 1 1.0 = vxfs • HP-UX OS versi on 1 1.i = vx fs T o cr eate file systems: 1. Use th e newfs comm and to create the file s ystem us ing the logic al volume as t he argu m ent .
48 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Example # newfs /dev/vg06/rlvol1 newfs: /etc/default/fs is used for determining the file system type mkfs (hfs): Warning -272 sectors in the last cylinder are not allocated. mkfs (hfs): /dev/vg06/rlvol1 - 2400256 sectors in 3847 cylinders of 16 tracks, 2547.9MB in 241 cyl groups (16 c/g, 10.22Mb/g, 1600 ig/g) Super block backups (for fsck -b) at: 16, 10040, 20064, 30038, 40112, 50136, 60160, 70184, 80208, 90232, . . . 2396176 Example # newfs /dev/vg06/rlvol1 Create file s ystem newfs: / etc/default/fs is used for determining the file system type mkfs (hfs): ... : 7188496, 7198520, 7208544 # Example # newfs -F vxfs /dev/vg06/rlvol1 Specify fi le system type : # newfs -F hfs /dev/vg06/rlvol2 2. Repeat st ep 1 for each logic al volume on the disk arr a y .
Installation 49 Setting the I/O timeout par ameter Set the I/O timeout val ue for each d isk device t o 30 seconds. T o change the I /O timeout parameter: 1. V erify the current I/O ti m eout value using the pvdisplay comm and : Example # pvdisplay /dev/dsk/c0t6d0 This causes current values to be displayed: --- Physical volumes --- PV Name /dev/dsk/c0t6d0 VG Name /dev/vg06 PV Status available Allocatable yes VGDA 2 Cur LV 1 PE Size (Mbytes) 4 Total PE 586 Free PE 0 Allocated PE 586 [OP E N-9] Stale PE 0 IO Timeout (Seconds) default [I/O tim eout value] 2. If the I/O timeout value is not 30, chan ge the value t o 30 using the pvchange -t comma nd: Example # pvchange -t 30 /dev/dsk/c0t6d0 This resu lt is d i s pla ye d: Physical volume "/dev/dsk/c0t6d0" has been successfully changed. Volume Group configuration for /dev/vg06 has been saved in /etc/lvmconf/vg06.cof 3. V erify tha t the n ew I/O timeout va lue is 30 seconds using t he pvdisplay comm and : Example # pvdisplay /dev/dsk/c0t6d0 Current va lues are now displ ayed, confirming that the new I/ O timeout valu e is 30 seconds:
50 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX --- Physical volumes --- PV Name /dev/dsk/c0t6d0 VG Name /dev/vg06 PV Status available : Stale PE 0 IO Timeout (Seconds) 30 [New I/ O timeout value] 4. Repeat t he above steps for each new disk that is c onnected to the system. Cre ati ng t h e m ou nt d irec t orie s Create a mount directo ry for each logi cal volume. Choos e a unique name for each mount di rectory tha t identifi es the logic al volume. Example The foll owing example sh ows the root dire ctory as the location for the mount d irectories. T o cre ate a mount dir ectory for each logical volume: 1. Use mkdir with the new mo unt direc tory name as the argument to create the mou nt director y . # mkdir /AHPMD-LU00 2. Use th e ls –x command to verify the new mount direct ory . # ls -x AHPMD-LU00 bin dev device etc export floppy home hstsboof kadb kernel lib 3. Repeat st eps 1 and 2 for each logical vo lume on the d isk array .
Installation 51 Mounting and v erify ing the file s ystems After t he mount direct ories have b een created, mou nt and v e rify the fil e syst em for e ach log i cal volume. T o mount and veri fy the file systems: 1. Use mount to mo unt the file system for t he volume . Example # mount /dev/vg06/lvol1 /AHPMD-LU00 2. Repeat st ep 1 for each logical volume on the disk arr ay . If you ne ed to unmount a f ile syst em, use the u nm ount command. 3. Use th e bdf comman d to verify that the file syst ems are correct . The capacit y is listed under Kbytes. Example # bdf Filesystem Kbyte s used avail %used Mounted on /ldev/vg00/lvol1 5979 7 59364 0 100% / : /ldev/vg06/lvol1 23481 77 9 2113350 0% /AHPMD-LU00 4. As a fina l verifica tion, per form some basic UNI X operati ons (for exampl e file creati on, copyin g, and delet ion) on ea ch lo gical device to make su re that the devi ces on the di sk array are ful ly operati onal. Example #cd /AHPMD-LU00 #cp /bin/vi /AHPMD-LU00/vi.back1 #ls -l drwxr-xr-t 2 root root 8192 Mar 15 11:35 lost found -rwxr-xr-x 1 root sys 217088 Mar 15 11:41 vi.back1 #cp vi.back1 vi.back2 #ls -l
52 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX drwxr-xr-t 2 root root 8192 Mar 15 11:35 lost found -rwxr-xr-x 1 root sys 217088 Mar 15 11:41 vi.back1 -rwxr-xr-x 1 root sys 217088 Mar 15 11:52 vi.back2 Setting and v erify ing the auto -mount par ameters Set u p and verif y the auto-mou nt parameters fo r each new vo lume. The /etc /che cklis t file (whi ch can also be cal l ed t h e /etc/fst ab fil e) c ontai ns t he auto -mount paramete rs for the l ogical volumes . T o set up and verify t he auto-mount para meters: 1. E dit t h e /etc /checklist ( /et c/fsta b ) file to add a l ine for e ach OPEN- x device on the disk arra y . This exampl e and the following tabl e show th e auto -mount paramete rs. Example #cp -ip /etc/checklist /etc/checklist.standard #vi /etc/checklist /dev/vg00/lvol1 / hfs rw 0 1 # root /dev/vg00/lvol2 swap ignore rw 0 0 # primary swap : /dev/vg06/lvol1 /AHPMD-LU00 hfs defaults 0 2 # AHPMD-LU00 /dev/vg06/lvol2 /AHPMD-LU01 hfs defaults 0 2 # AHPMD-LU01 P1 P2 P3 P4 P5 P6 P7
Installation 53 2. Reboot th e system. 3. Use th e bdf comman d to verify the fi le system agai n. Pa r a m e t e r Name Enter P1 Device to mount Block-type de vice file name P2 Mount poi nt Mount direc tory name P3 File syst em T ype of fil e system (for example, hfs, vx fs) P4 Mount opt ions “defau lts” or othe r appropria te mount opt ions P5 Enhance 0 P6 File syst em check (fsc k pass) Ord er fo r p erf o rmi ng fil e syst em checks P7 Comments Co mmen t sta teme nt
54 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Troubleshooting 55 2 T roubleshooting This sec tion include s resolutions f or various e rror condit ions you may enc ount er . If you ar e unable to r esolve an er ror condition, a sk your HP sup port repres entative for as sistance. Se e “Callin g the HP support center” on page 59 .
56 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Error cond itions Depending on your system c onfiguratio n, you may be able to view error messages as fol lows : • In Remote W eb Console (Stat us tab) • In Command V iew Advance d Edition (“Aler ts” panel). • In Command V iew (Ev ent History or Ev ent Notificati on panels). Erro r C ond iti on Recommended Ac tion The logica l devices ar e not recognize d by the hos t. V erify tha t the READY indica tor ligh ts on the dis k array are ON. V erify tha t fiber cab les are corr ectly inst alled and fi rmly connecte d. V erify tha t the tar get IDs are pr operly confi gured. The LUNs for each TID must st art at 0 and continue sequ entially withou t skipping an y number s. V erify th at the TI Ds/WWNs on each b us are uni que. Do not install two devices with the same ID on the same bus. Rechec k the buse s for new devic es. V erify tha t LUSE device s are not intermixe d with n ormal LUNs on t he same por t. V erify tha t the maximum number of LUSE devices p er port has no t been exce ede d. V erif y that th e disk arr ay ho s t mod e is se t co rr ectl y . The host does no t reboot proper ly aft er hard shutdown. If you powe r off t he host without executing t he shutdown proc ess, wait three mi nutes to all ow the disk ar ray’ s inter nal timeout proc ess to pur ge queued comma nds. If the ho st restarts whi le the di sk array is process ing queued commands , the host may no t reboot succ essfull y .
Troubleshooting 57 Physical v olumes canno t be creat ed ( pvcr eate ). V erify tha t the disk ar ray logical devices are correctly for matted. V erify that the cha rac te r -type devic e fil e exis ts . V erify tha t the correct character -type dev i ce file name is used with pvcr eate (for e xample, /d ev/r dsk /... ). V olume grou p cannot be creat ed ( vgcr eate ). V erify tha t the direc t ory for the new volume group e xists. V erify tha t the contro l file e xists. V erify tha t the correct major number (64) and minor n umber are used with mkn od . V erify tha t the block- type devic e file e xists and is entered c orrectly with vgcr eate . V erify tha t the physic al volume i s not already allocated to a nother volume gro up. Logical vol umes cannot be creat ed ( lvcr eate ). V erify tha t the volume capac ity for OPEN-x vo lumes is not gr eater than the maximum capacity allowed. See t he Device Emul ations Appendix. V erify tha t the capaci ty of the vol ume group is not le ss than the t otal capacit y of the part itioned lo gical volume. The file s ystem cannot be creat ed ( newfs comm and) . V erif y that th e ch ar act er-type d evice file is ent ere d c orr ectly with newfs (f or example, /dev/vg01/r/ vo/x ). A file system is no t mount ed after re booting. V erif y that th e hos t was r esta rted c orr ectly . V erify tha t the file system attri butes ar e correct. V erify that th e auto -mo unt in form ation in the / etc/ checklist ( /etc /fstab ) file is corre ct. Erro r C ond iti on Recommended Ac tion
58 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX The disk ar ray performs a self reb oot because t he disk ar ray wa s bu sy or it lo gge d a panic messa ge. Reboot th e host. The disk arra y responds “Not Ready” or th e disk array has displayed “Not Ready” and timed ou t. Conta ct HP . The host detects a pari ty error . Check the HBA and make sure it was insta lled pro perly . Reboot th e host. The host h angs or devi ces are declared and the host ha ngs. Make su re there are no duplic ate disk array T IDs and that di sk array TIDs do not conflict with any host TIDs. Erro r C ond iti on Recommended Ac tion
Troubleshooting 59 Cal ling th e HP sup por t center If you ar e unable to r esolve an er ror condition, c ontact the HP s upport center for assist ance. Contac t Informat ion In North A meri ca, call techni cal support a t 1-800-633- 3600, available 24 hours a day , 7 days a week. Outside No rth America, call te chnical supp ort at the l ocation near est you. The HP web site lists t elephone numb ers for wor ldwide techn ical support at: http://www .hp .com /sup por t . From this web site, select your country . Bef or e y ou c all Be sure t o have the fol lowing infor m ation a vailable: • T echnical sup port regist ration numb er (if applic able) • Produc t seria l numbers • Product mod el names and numbe rs • Applicable err or message s • Opera ting system ty pe and revision l evel • Detailed, s pecific ques tions
60 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
Worksheets 61 A W orksheets
62 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Pa t h w o r k s h e e t Bus no. Instan ce (XX) Disk no. H/W pat h Dri ve r Dev ice typ e TID (Y) LUN (Z) De vic e file Minor # 0xXX YZ00 Major # for c h a r . files Majo r # for b l o c k files
Disk array device emulations 63 B Disk arr a y de vice emulations This appendi x provides infor m ati on about supported emulation s and devi ce type spe cificatio ns. Some pa rameters may not be relevant to your array . Consult y our HP represen tative for information a bout suppor ted configur ations for your system.
64 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Sup por ted emul at ions XP Model OPEN Emula tion Ty p e OPEN Emula tion Suppor ted LU S E CVS LU S E & CVS OPEN-3 Ye s Ye s Ye s Ye s OPEN-8 Ye s Ye s Ye s Ye s XP128 OPEN-9 Ye s Ye s Ye s Ye s XP1024 OPEN-E Ye s Ye s Ye s Ye s XP10000 OPEN-K XP12000 OPEN-L Ye s Ye s OPEN-M OPEN-V Ye s Ye s
Disk array device emulations 65 De vice type s pecification s *Capacity = (512 x number of blocks) ÷ 10 24 2 De vice T ype (Not e 1) Cat e gory (Not e 2) Bl oc ks (5 1 2 b yt es ) Secto r Size (bytes) # of Cy linders Heads Secto rs per Tr a c k Capa c ity MB* (Note 3 ) OPE N-3 SCSI dis k 4806720 512 3338 15 96 2347 OPE N-8 SCSI dis k 1435104 0 512 9966 15 96 7007 OPE N-9 SCSI dis k 1442304 0 512 1001 6 15 96 7042 OPE N-E SCSI di sk 2845296 0 512 1975 9 15 96 1389 3 OPE N-L SCSI di sk 71 1921 60 512 4943 9 15 96 3476 1 OPE N-V SCSI di sk max =1258 27200 512 Not e 5 15 128 Note 6 LUSE OPE N-3 *n SCS I d isk 4 80672 0*n 51 2 333 8*n 15 96 2347 *n OPE N-8 *n SCS I d isk 14351 040* n 512 9966* n 15 96 7007*n OPE N-9 *n SCS I d isk 14423 040* n 512 1 0016*n 15 96 7042*n OPE N-E* n SC SI d isk 28452 960* n 512 1 9759*n 15 96 1389 3*n OPE N-L* n SC SI d isk 71192160* n 51 2 49439* n 15 96 34761* n OPE N-V* n SCSI di sk max =1258 27200 Note 4 512 Not e 5 15 128 Note 6 CVS OPE N-3 C VS SCS I d isk Note 4 512 Note 5 15 96 Note 6 OPE N-8 C VS SCS I d isk Note 4 512 Note 5 15 96 Note 6 OPE N-9 C VS SCS I d isk Note 4 512 Note 5 15 96 Note 6 OPE N - E C V S SC SI d isk Note 4 512 Note 5 15 96 Note 6 CVS LUSE OPE N-3 *n CVS SCSI d isk Note 4 512 Note 5 15 96 Note 6 OPE N-8 *n CVS SCSI d isk Note 4 512 Note 5 15 96 Note 6 OPE N-9 *n CVS SCSI d isk Note 4 512 Note 5 15 96 Note 6 OPE N - E * n CVS SCSI di sk Note 4 51 2 No te 5 15 96 Note 6 OPE N-V* n SCSI di sk Note 4 51 2 No te 5 15 12 8 Note 6
66 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Not e 1: Th e a vai labi li ty o f a di sk typ e dep ends on t he dis k arra y . Not e 2: The devic es are defined t o the host as SCSI disk devic e s, even though the inter face is Fibr e Cha nnel. Not e 3: The device ca pacity can sometimes be cha nged by the BIOS or host adapt er boar d. This may make actual cap acity dif f erent from tha t listed in the t able. Not e 4: The number o f blocks for a CVS volume is calcul ated as fol lows: # of b l ocks = (# of cylinders) × (# of he ads) × (# of secto rs per track) Example 1: For an OPEN-3 CVS v olume with capacity = 37 MB: # of b l ocks = (53 cy linders–see Note 5) × (15 heads) × ( 96 s ect or s pe r track) = 76320 Example 2: For an OPEN-V CVS vo lume with capacit y = 49 MB: # of b l ocks = (53 cy linders–see Note 5) × (15 heads) × (128 sectors per track) = 101760 Not e 5: The number o f cylinders for a CVS volume is calculate d as follows ( ↑ …↑ means tha t the value s hould be rounde d up to the next i nteger): OPEN -3/8 /9/E: The numbe r of cylinders for a CVS volume = # of c ylinde rs = ↑ (cap acity (MB) s pecified by user) × 1024/720 ↑ Example: For an OPEN-3 CVS volume with capacity = 37 MB: # of cylinders = ↑ 37 × 1024/7 20 ↑ = ↑ 52. 62↑ (rounded up to next i nteger) = 53 cylin ders OPEN-V : Th e number of cylinde rs for a CVS volume = # of c ylinde rs = ↑ (cap acity (MB) s pecified by user) × 16/15 ↑ Example: For an OPEN-V CVS volume with c apacity = 49 M B: # of c yli nde rs = ↑ 49 × 16/15↑ = ↑ 52.26 ↑ (rounded up to n ext i nt ege r) = 53 cyli nders OPEN -3/8 /9/E: The numbe r of cylinders for a CVS LUSE volume = # of c ylinde rs = ↑ (cap acity (MB) s pecified by user) × 1024/720 ↑ × n
Disk array device emulations 67 Example: For a CVS LUSE volume with ca pacity = 37 MB and n = 4 # of c ylinde rs = ↑ 37 × 1024/ 720 ↑ × 4 = ↑ 52.62 ↑× 4 = 53 × 4 = 212 OPEN-V : The number of c ylinders for a CVS LUSE vol ume = # of c ylinde rs = ↑ (cap acity (MB) s pecified by user) × 16/15 ↑ × n Example: For an OPEN- V CVS LUSE volu m e wit h cap aci ty = 49 MB and n = 4 # of c ylinde rs = ↑ 49 × 16/15 ↑ × 4 = ↑ 52. 26 ↑× 4 = 53 × 4 = 212 Not e 6: The capac ity of an OPE N -3/8 /9/E CVS v olume is speci fied in MB, no t number of cylinders. The capaci ty of an OPEN-V CVS vol ume can be specif ied in MB or nu m ber of cylinders. Y ou set the vo lume size u sing the Remote W eb Console, Command V iew or Command V iew Advanced Editi on so ftwar e.
68 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX L U SE de vice parameter s De vice type Phy s ical ex t e n t size (PE) Max ph ysi cal ex t e n t s i z e (MP E) OPEN-K/3/8/9/E OPEN- 3 /K *n (n = 2 to 36 ) OPEN-3/K-CVS OPEN-3/K*n-CVS (n = 2 to 36) defaul t default OPE N -8/9*n n = 2 to 17 defaul t default n = 18 8 1584 5 n = 19 8 1672 5 n = 20 8 1760 6 n = 21 8 1848 6 n = 22 8 1936 6 n = 23 8 2024 7 n = 24 8 21 127 n = 25 8 2200 7 n = 26 8 2288 8 n = 27 8 2376 8 n = 28 8 2464 8 n = 29 8 2552 9 n = 30 8 2640 9 n = 31 8 2728 9 n = 32 8 2817 0 n = 33 8 2905 0 n = 34 8 2993 0 n = 35 8 3081 0 n = 36 8 3169 1
Disk array device emulations 69 OPE N -E*n n = 2 to 9 defaul t default n = 10 8 1736 6 n = 1 1 8 1910 2 n = 12 8 2083 9 n = 13 8 2257 6 n = 14 8 2431 2 n = 15 8 2604 9 n = 16 8 2778 6 n = 17 8 2952 2 n = 18 8 3125 9 n = 19 8 3299 5 n = 20 8 3473 2 n = 21 8 3646 9 n = 22 8 3820 5 n = 23 8 3994 2 n = 24 8 4167 9 n = 25 8 4341 5 n = 26 8 4515 2 n = 27 8 4688 9 n = 28 8 4862 5 n = 29 8 5036 2 n = 30 8 5209 8 n = 31 8 5383 5 n = 32 8 5557 2 De vice type Phy s ical ex t e n t size (PE) Max ph ysi cal ex t e n t s i z e (MP E)
70 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX n = 33 8 5730 8 n = 34 8 5904 5 n = 35 8 6078 2 n = 36 8 6251 8 OPE N -L*n n = 2 to 3 defaul t default OPEN-8/9/E-CVS OPE N-V defaul t default OPEN-8/9/E*n-CVS OPE N-V*n (n = 2 to 3 6) 70 to 119731(M B) × N1 8 de fault 1 19732 to (MB ) × N1 8 N2 N1 = [ VCS volume capacity (in MB) from Remote Console PC ] × n N2 = ↑ N1 / PE ↑ ( ↑ me ans roun d up to nex t integer) Examp le: CVS vo lume ca pacity is 6000 MB for OPEN- 9 *22-C V S volu m e: N1 = 60 00 × 22 = 132000 N2 = ↑ 13200 0/8 ↑ = 1 650 0 De vice type Phy s ical ex t e n t size (PE) Max ph ysi cal ex t e n t s i z e (MP E)
Disk array device emulations 71 S C SI T I D map fo r F ibr e C han nel adapt er s When an a rbitrated loo p (AL) is esta blished or rees tablished, t he port addre sses are assigned aut omatically t o prevent duplicate TI Ds. Wi th the SCSI over Fi bre Channel pr otocol ( FCP), there is no longer a need f or target ID s in th e trad itio n al sen se. SCSI is a b us-oriente d protocol re quiring each device to have a uniq ue address since all c omm ands go to all devices. For Fi bre Channel, the AL-P A is used instead of the TI D to direct p ackets to th e desired destina tion. Unlike t raditional SCSI, when contro l of the loop is acquired, a point -to-poi nt connectio n is establish ed from initi ator to t arget . T o enable transpa rent use of F C P , the opera ting system map s a TID to each AL-P A. The host ma ps SCSI protocol to Fibre Chann e l protocol and detect s and acce sses Fibr e Channel-conne cted devices using devi ce files ( /dev/d sk/c*t*d* and / dev/rdsk/c *t*d* ) in the same way as for SCSI-conne cted devices . The device fi les for Fibre Ch annel-connec ted devices are configur ed in a dif ferent way fr om SCSI-connect ed devices , becau se Fibre Channe l supports 12 6 addresses pe r path while S CSI support s 16 TIDs per path. The fo llowing table i dentifies t he fixed mappings bet ween the TID (dr ive) valu es assigned by the ope rating s ystem and the Fi bre Channel na tive addr esse s (AL _P A /SE L_ID ) for F ibr e C han nel a dapt ers. T he co ntr oller number (t he dk s value in /dev/dsk/ dks*d*l*s* ) depe nds on the ser ver configur ation, and a d iffer ent value is assigned per each column .
72 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX The mapp ing can not be done wh en these condi tions exist: • disk array devices and othe r types of dev ices are conn ected in the same loop • info rmation fo r unused devic es remains in the server s ystem • multiple por ts part icipate in the same arbit rated loop AL- PA t valu e AL- PA t valu e AL- PA t valu e AL- PA t valu e AL- PA t val ue AL- PA t val ue AL - PA t val ue AL- PA t val ue EF 0 CD 0 B2 0 98 0 72 0 55 0 3A 0 25 0 E8 1 CC 1 B1 1 97 1 71 1 54 1 39 1 23 1 E4 2 CB 2 AE 2 90 2 6E 2 53 2 36 2 1F 2 E2 3 CA 3 AD 3 8F 3 6D 3 52 3 35 3 1E 3 E1 4 C9 4 AC 4 88 4 6C 4 51 4 34 4 1D 4 E0 5 C7 5 AB 5 84 5 6B 4 4E 5 33 5 1B 5 DC 6 C6 6 AA 6 82 6 6A 6 4D 6 32 6 18 6 DA 7 C5 7 A9 7 81 7 69 7 4C 7 31 7 17 7 D9 8 C3 8 A7 8 80 8 67 8 4B 8 2E 8 10 8 D6 9 BC 9 A6 9 7C 9 66 9 4A 9 2D 9 0F 9 D5 10 BA 10 A5 10 7A 10 65 10 49 10 2C 10 08 10 D4 11 B9 11 A3 11 79 11 63 11 47 11 2B 11 04 11 D3 12 B6 12 9F 12 76 12 5C 12 46 12 2A 12 02 12 D2 13 B5 13 9E 13 75 13 5A 13 45 13 29 13 01 13 D1 14 B4 14 9D 14 74 14 59 14 43 14 27 14 00 – CE 15 B3 15 9B 15 73 15 56 15 3C 15 26 15
Reference information for SAM 73 C Re ference inf orm ation for S AM The HP Syste m Admini strator Manager (SAM) is used to perform HP-UX system ad ministrati on functions, including: • setti ng up users and groups • configur ing the disk s and file syst ems • performing a uditing and s ecurity act ivities • editin g the system ke rnel configu ration This appe ndix provides instructi ons for: • using SAM to configure the disk devi ces • using SAM to set th e maximum number of vo lume groups
74 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Config uring the de v ices using S AM The SAM Areas wi ndow displays t he system administ ration func tions and allows yo u to select the desired f unction. The Disks and File Systems functi on allows you to con figure new dis k devices for L VM operations. T o configur e the newly installed SCSI dis k devices: 1. Sele ct Disks and F ile Systems , then select Di sk Devices .
Reference information for SAM 75 2. V erify th at the new d isk array devices are displayed i n the Disk Devices window . 3. Sele ct the devi ce to configur e, select the Action s menu, select Add , and then s elect Using the Logical V olume Manager . 4. In the Add a Disk Using L VM window , select Create... or Extend a Vo l u m e G r o u p . 5. In the Cr eate a V olume Gr oup window , ent er the name of the new or exis ting vol ume group to a ssign the n ew device to, and then cl ick OK twic e. The Add a Disk Using L VM window now displays the vo lume group name. 6. Sele ct Add New Logical V olume to open the Creat e New Logical Vo l u m e s window . 7. In the Cr eate New Logi cal V olumes win dow , enter the n ame, size i n megabytes , and mount di rectory f or the new log ical volume . Select Add , and the n click OK twice. 8. Repeat st eps 3 through 7 fo r each new disk device on t he disk arr a y .
76 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Setting t he m aximum nu mber of v olume groups using S AM The HP-UX k ernel spe cifies the maxi m um number of volume groups t hat can be cr eated. The def ault is 10. Y ou may need to chang e this number to accommodate new devices on t he disk array . T o change th is number , use the Kerne l Configurat ion fu nction. T o change the max imum number of volume gr oups: 1. Sele ct the Ker nel C onf ig ura tion f unc ti on, th en se lec t Configurable Parameters . 2. In the Conf i gurab le Paramet er s wi ndow , sel ect the maxvgs para m ete r , select the Act i ons menu, and then s elect Mod ify Configurabl e Parameter . 3. In the Modi fy Confi gura ble Parameter wi ndow , enter t he desired maximum number o f volume groups in the Formula/V alue field, a nd then click OK . 4. In the Conf i gurab le Paramet er s wi ndow , make s ure that none of t he para meters are se lected. Th en select th e Actions menu, and se lect Crea te New Kernel . 5. When the con figuration window ope ns, click Ye s to cr eat e the n ew kerne l (or clic k No to retu rn to the Configura ble Parameters w indow .) 6. When the Reboo t the System wind ow opens, click OK t o move the new kernel into place and reboot th e system.
Glossary 77 Gl os sa ry AL Arbitra t ed loop. AL-P A Arbitra t ed loop physica l address. array group A group of 4 or 8 phys ica l har d di sk dri ve s (HDDs) instal le d in an XP disk array a nd assigned a common RAID l evel. RAID1 arr ay groups are made up of 4 HDDs (2D 2D). A RAID1 group is two 4 HDD ar ray groups concate nated t ogeth er (4D 4D). RAI D5 arr ay grou ps are made up o f 4 or 8 HDDs, dependi ng on whether th ey are RAID5 3D 1P or RAID5 7D 1P , respect ively . All RAID6 array gro ups are made up of 8 HDDs (6D 2P). BC HP S tor ageW orks Business Copy XP . BC lets y ou maint ain u p to ni ne lo cal copies o f logical vo lumes on the disk array . CA HP S torageW orks Continuo us Access XP . CA let s you create and maintain duplica te copies of local logic a l volumes on a remote dis k array . Command V iew (CVXP) HP Stor ageW o r ks Command V ie w XP , a softwar e product for managing XP arrays . Command V iew runs on a W indows-based manag ement works t ati on. Command V iew XP Advanced Edition (CVXP AE) HP S torageW orks Comm and V iew XP Advanced Edit ion, instal ls on the user -provided Device Manager s erver and prov ides a brow ser-ba sed platfo rm from which you c an manage the XP family of disk a rrays—even globall y distribut ed arrays. command devi ce A volume on the dis k array that accept s Continuous Access or Busines s Copy control operations which are then executed by t he disk array . CU Control U nit. Contains L DEVs and is app roximately equiv alent to SCSI Ta r g e t I D .
78 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX CVS Custom volu m e size. CVS devices (OPEN-x C VS) are custom vol umes configur ed using array ma nagement softwa re to be smaller than normal fixed- size OPEN system volumes . Synonymous with v olume size customiz ation (VSC). DKC (disk co ntrolle r unit) The arra y cabinet tha t houses the channel adapt ers and servi ce processor (SVP ). DKU (dis k cabine t unit) The arra y cabinets t hat house the disk array ph ysical disks . emulation modes The logical devices (LDEVs) associated with ea ch RAID group a re assigned an emulat ion mode tha t makes the m oper ate lik e OPEN syst em disk drives . The emulat ion mode determi nes th e size of an LDEV : OPEN-3: 2.46 GB OPEN-8: 7.38 GB OPEN-9: 7.42 GB OPEN-E: 13.56 GB OPEN-L: 36 GB OPEN-V : Use r-def ined custom si ze failo ver Disconnecti ng a failed u nit or pa th and replac ing it with a n alternative unit or path i n order to c ontinue funct i oning. FC Fibre Cha nnel. FC-AL Fibre Cha nnel arbitr ated loop. FCP Fibre Cha nnel Protocol . GB Gigabyte s HBA Host bus a dapter . host mode Each p ort can be configured f or a particu lar host type. Th ese modes are repres ent ed as two-dig it he xadecimal number s. For exa mp le , hos t mode 08 repres ents an HP-UX host.
Glossary 79 LDEV Logical d evice. An LDEV is creat ed when a RAID group is ca rved into pi eces accordi ng to the select ed host emulat ion mode (t hat is, OPEN-3, OPEN-8 , OPEN-L). T he number of res ulting LDEVs depends on the select ed emulati on mode. The term LDEV is often used synonymou sly with t he term volume. LUN Logical unit number . A LUN resul ts from mapp ing a SCSI logic al unit number , port ID, and LD EV ID t o a RAID group. The si ze of the LUN is determin ed by the emulat ion mode of the LDEV and the number of LDEVs associa ted with the LUN. For exampl e, a LUN associate d with two OPEN- 3 LDEVs ha s a size of 4,693 MB. LUSE A LUN is normally a ssociat ed with o nly a s ingle L DEV . The LUSE f eatur e allows a LUN to be a ssociated wi th 1 to 36 LDEVs. Essential ly , LUSE ma kes it possi ble for applica tions to access a single la rge pool of st orage. The LUSE featur e is available when the HP S t ora geW orks LUN Configurati on Manager produ ct is insta ll ed. OFC Open Fibre Control. OPEN- x A general term describin g any one of the supported OPEN emul ation modes (for example, OPEN-L). OS Oper atin g sys tem. PA Physi cal addre ss. path “ Path” and “LUN” are sy nonymous. Pat hs are created by asso ciating a port, a tar get, and a LUN I D with one or more LDEVs. port A physical connection that allows data to pass betwe en a host and t he disk array . The number of p orts on an XP disk arra y depends on th e number of support ed I/O slots and t he number of por ts available p er I/O adapte r . The XP family of disk ar rays support s Fibre Channel (FC) ports as well as other port ty pes. Ports are named by port gr oup and port l e tter , such as CL1- A. CL1 is the group, and A is t he port lette r . RAID Redunda nt array of independent disks. rem o te c o ns o le P C The PC runni ng HP Stora geW orks Remote Cont rol XP .
80 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX Remote Contr ol (RC) HP Stora geW orks Remote Control XP . A software p r oduct used for managing XP a rrays. Remote W eb Console (R W C) HP S torageW orks X P Remot e W eb Console. A browser -based progra m instal led on the SVP that al lows you to configur e and manage the disk array . R-SIM Remote ser vice informat ion messag e. SCSI Small comput er system int erface. SIM Service informati on message. SNMP Simple Net work Management Protocol. SVP Ser v ice pr oce ssor , w hich is the PC bu i l t in to the disk c ontro ller . T he SVP provides a direct i nterface in to the disk a rray . SVP use is r eserved for H P suppor t r epr esentatives only . TB T erabyt e. TID Ta r g e t I D . Vo l u m e On the XP array , a volu me is a uniqu ely identif ied virtua l storage dev ice composed of a control un it (CU) component and a logical de vice (LDEV) compone nt separa ted by a colon. For example 0 0:00 an d 01:00 are two uniqu ely identifie d volumes; one is identif ied as CU = 00 and LDEV = 00, and th e other as CU = 01 and LDEV = 00; t hey are two unique separa te virtual storage devices with in the XP arra y . VSC V olume size customization. Synonym ous with CVS. WWN W orld W ide Name. A uni que i den tifier as si gned t o a Fibre Channe l device.
Index 81 Inde x A arbitr ated-loop ph ysical addre ss 24 aut ho rized res e ller s 8 Auto LUN XP 17 Auto Path X P 17 auto -mount paramete rs, setting 52 B Business Copy XP 17 , 19 C Cache LUN XP 17 Clus ter Ex tensi on XP 17 clus teri ng 27 , 28 command de vice(s) designa te at least one LDEV as a 19 RAID Manager 19 Command V iew 16 , 19, 21 , 24 Command V iew XP Advanced Edi tion 16 , 19, 21 , 24 , 30 conf iguratio n device 35 emulat ion types 18 reco gnition 32 usin g SAM 74 Fibre Cha nnel ports 24 HBAs 26 host 26 host mo de, setting 21 I/O ti meou t pa ra mete r 49 mount di rectori es, creati ng 50 port 24 System Opti on Mode 23 Continuou s Access Extension XP 17 Continuou s Access XP 17 , 19 D Data Excha nge XP 17 devic e(s) confi guration 35 usin g SAM 74 emulatio ns 18 file s crea ting 38 veri fying 36 logical , not recogni zed by host 56 LUSE device parameters 68 reco gnition 32 speci fications 65 type spe cif i cat io ns 65 veri fying 32 direct ories, mount 50 disk array(s) conne cting 29
82 HP StorageWorks Disk Array XP Operating System Configuration Guide : HP-UX device t ypes 65 featur es 16 inst allati on overvie w 20 not r eady messag e 58 oper ati ng sys tem vers io ns 16 requir ements 16 self r eboot 58 serv er support 16 storage capacity 16 suppo rted 7 times out 58 documen t ation relate d 8 E emulat ion(s) device e mulation type s 18 suppo rted 64 error c onditions 56 F fabric environment para m ete r settings 25 port addresse s 24 zoning 27 , 28 fail over 18 Fibre Cha nnel adapters, SCS I TID m ap 71 conne cti on spe ed 17 para m ete r settings 25 ports, c onfiguring 24 suppo rted elements 17 topology example 25 file sy ste m (s) canno t be created 57 for log ica l volu mes 47 mounting 51 not moun ted after r ebooting 57 veri fying 36 , 51 G glossar y 77 H HBA(s) configur ing 26 inst allation, v erifyin g 31 host configur ation 26 doesn ’t reboot proper ly after ha rd shutdown 56 hangs up 58 logical devices not recognized 56 pari ty er ror 58 host bus adapters, see "HBAs" host mo de, setting 21 HP serv ice represe ntative tas ks 21 tech nical sup port 59 HP-UX, sup ported versions 16 I I/O ti meou t para mete r , se ttin g 49 inst alla tion conne cti ng dis k arra y 29 HBA, verifyi ng 31 HP serv ice represe ntative ta sks 21 overv iew 20 L LDEV(s) designat e at least one as a command devic e 19 logical volume(s) auto- mount pa rameters 52
Index 83 canno t be created 57 cre ating 45 file sy ste m s 47 , 51 LUN Configur ation and Secur ity Manager XP 16 , 21, 29 , 30 LUN(s) cre ating 29 mapping 29 secu rity 27 LUSE device parameters 68 M mount d irectories, creating 50 multi-c luster envi ronment 27 O oper ati ng sys tem( s) loadi ng 26 LUN se cu rit y for 28 mult iple, fabri c zoni ng f o r 28 support ed versions of HP-UX 16 P pari ty er ror 58 path (s) defini ng 29 worksh eet 62 Performa nce Ad vis or XP 17 physica l volume(s) canno t be created 57 cre ating 41 creati ng groups 42 port (s) address 24 Fibre Cha nnel 24 host mo de, setting 21 R RAID Manager c omm and devices 19 RAID Manager XP 17 Remote W eb Console 16 , 19 , 21, 24 resell ers, auth orized 8 Resource Ma nage r XP 17 S SAM (HP System Admin istrator Manager ) confi gurin g devic es using 74 refe r ence i nfo rm atio n 73 volume gro ups, set ting maximum number 76 SCSI disk, F ibre Channel i nterface and t erm "SCSI d isk" 17 SCSI TIP map 71 Secure Mana ger XP 28 securi ty , LUN 27 , 28 serv er supp ort 16 SNMP configur ation 19 softwar e, optional 17 storage capacity 16 S to ra geW orks, support ed arr ay s 7 system admini st rat or , required knowl edge 7 System Option Mode, se tting 23 T tech nical sup port 9 , 59 topology , fabric 25 trouble shooting 55 erro r conditi ons 56 tech nical sup port 59 U Unix, suppo rted versio ns HP-UX 16 V volume(s)
84 HP StorageWorks Disk Array XP Operating System Configuration Guide : HP-UX groups canno t be created 57 cre ating 42 setting maxi mum number 76 logical auto -mount para m ete rs 52 canno t be created 57 cre ating 45 file sy ste m s 47 , 51 physica l canno t be created 57 cre ating 41 creati ng groups 42 W warra nty 12 web si te HP storag e 8 worksh eet, path 62 X XP family opti onal softwar e 17 storage capacity 16 Z zoning, f abric 27 , 28