The default setup of HP-UX often "messes up" ^C and '@' symbol. Default HP-UX /etc/p of!le map !nte upt to "D"#" and $!ll to @. Th!s cause lot of confus!on. %o& ' ecommend that you update you $eyboa d mapp!n( once you (et to a shell p ompt) stty !nt stty $!ll stty -a * chec$ you sett!n(s.

sam Te+t Use 'nte face ,TU'- fo sys conf!( ,.U' /e s!on a/a!l !f D'%P#01 set to 2o $!n( X se /e -. !n /us /sb!n %03 !s you f !end. 't should be the f! st place to t y !f you a e adm!n f om anothe 4% )5ot as (ood as a!+ sm!tty& but bette than sola !s that ha/e noth!n(6 Use T07 $ey to mo/e a ound& space $ey fo select. 0 o2 $ey 2o $s. --8-some of the ma9o f!les locat!on) /etc/hosts /etc/nss2!tch.conf /etc/fstab /etc/l/mconf//(55 ,b!na y f!les& but see all /olume ( p he e/sb!n/ c.conf!(.d/ /sb!n/ c.d/

System Setup
::::: 'n!t!al system !nstall chec$l!st) :::::

"nsu e that / and /us a e fa! ly b!(& as these a e not not e+pandable unless !n s!n(le use mode ,o maybe onl!ne;<%-. 3ost othe /olumes st!ll need to be unmounted befo e fs can ( o2& so est!mat!n( co ect s!=e !s p etty !mpo tant. 4nl!ne;<% should allo2 fs e+pans!on 2/o unmount l!$e 0'X& but mo e money.

.et latest of all > of 7U5D#"??!& H@"nable??!& .old0pp and .old7ase and !nstall them. <acto y 4% !nstall !ncluded the latest elease of all the abo/e > patch bundles. 0fte bundles& 9a/a patches may st!ll be needed. %ee) http)//222.hp.com/p oducts?/un!+/9a/a/patches/!nde+.html Up( ad!n( 4%. Default CD med!a allo2 fo both !n!t!al setup and up( ade. Up( ade has spec!al p ocedu e to !nstall lot of depot f! st 2hen system st!ll unn!n(. !pt!de 2as up( aded f om ??.88 to ??.??& seems to un f!ne. -------------Update HP-UX f om ?8+ and ??.8 to ??!) !nstall update-u+ soft2a e f om CD& then un /us /sb!n/update-u+ -s /cd om HPUX??!-4". Aefe to 'nstall and update (u!de !n "'nstant Documentat!on" CD.

-HP-UX /e s!ons P0-A'%C) ?8.B8 ,"4#-& ??.88 ,??-& ??.?? ,??!-& ??.BC ,ca B88D/8D'tan!um) ??.B8& ??.BB& ??.BC

Boot Time Troubleshooting
Aeco/e y of unbootable system. Default setup CD has opt!on to do th!s. 't may help 2hen E+<% has c ashed some c !t!cal 4% pa t!t!ons. boot!n( HP-UX mach!ne !nto s!n(le use mode.

http)//222.un!+hub.com/docs/hpu+/hpu+Fboot.html ,Connect dumb te m!nal to se !al consoleP ess and hold "%C at the be(!nn!n( of the boot p ocess ,!t should p ompt& but !f not& 9ust h!t "%C l!$e c a=y-. 'n the PDC ,f! m2a e p ocesso dependent code-& ente 74 to boot. ,o 74 P8 !sl-& 2he e P8 !s the boot de/!ce to use& 2hoh2n by %"0 ch.

Th!s !s somet!me needed e/en !n non-m! o ed d!s$.9ou nal!n(* featu e of .2!th : on !t-.#" U%"A 34D" @0A5'5.<% and thus completes much Iu!c$e . a the '%# p ompt& ente ) hpu+ -!s G th e !s a 'hpu+ -lm' fo ma!ntenance mode also !t p obably doesn't mount the / fs us!n( no mal method and thus E+<% stuff 2!ll not 2o $ -lm H l/m ma!nt mode& somet!me -!s 2on't 2o $ 2hen l/m !s co upted.0 mon!to N pc $eyboa d may sho2 some opt!nos.!n!t!al system load-& say yes. H!t <> to to((le emote mana(ement on . @hen booted !n s!n(le use mode 2!th co upted fs& /(chan(e can be used to tell Ee !tas Eol 3( t 2h!ch de/!ce to use.alte nate J 0fte th!s& should see these messa(es and the lo(!n p ompt) 7oot ) d!s$. /(chan(e -a y /de///(88 l/lnboot -/ /de///(88 fsc$ -< /+fs -o full&nolo( /de///(88/ /olP * fsc$ fo d !/es that ha/e lot of e o s& th!s method * may (!/e mo e !nst uct!ons to cmd of ho2 to do the clean!n(. Th!s ma$es se !al console usable. * by spec!fy!n( -< /+fs& allo2 use of !ntent lo( .scs!. ll H l!st content of /stand& thus see f!lename of alte nate $e nel usable /!a e( -lm /stand//mun!+.) 14U 0A" %UP"AU%"A66 * 54T") The E.KL8-/stand//mun!+ MKKK?KNCMOC?BN>8MKPP sta t 8+KcD8 Qe nel %ta tup 3essa(es 4m!tted '5'T) 4/e !d!n( default le/el 2!th le/el 's' '5'T) %'5. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: clea out attent!on l!(ht !n f ont panel .@hen !t as$ 2hethe to use !nte act!/e '%# . -lI H l/m& !(no e fa!led m! o d !/e allo2 boot!n( of mach!ne 2hen one of the m! o ed d !/e ha/e fa!led.

default. 5eed to h!t any $ey 2hen p ompted !n a ?8 seconds 2!ndo2s du !n( boot p ocess to ente the PDC !nte act!on sess!on. 7oot!n( f om CDA43 may need to use th!s to f!nd de/!ce path to use fo boot!n(.de/ boot& us!n( seconda y d!s$.P ocesso Dependent Code 0ccessed at boot up t!me by the ha d2a e to boost ap the system. sl e n I * * * * sys lo( e o s no f!lte Iu!t co * e+!t bac$ to console :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ---------.?D '5 0## ente !nfo menu d!splay all !nfo& the e 2!ll be mach!ne model st !n(s to dete m!n 2hat class of mach!ne !t !s. ---------../! tual f ont panel-& clea h2 e lo(& etc.ua d!an %e /!ce P ocesso cl!(!/e access to b!os le/el cont ol of the mach!ne& /!e2 /fp . e( M888/P88/0D88-DX %ystem 5ame) !pt!de !s 0-class. 4nly access!ble du !n( boot t!me. some soft2a e l!$e comp!le bound to the P88 des!(nat!on. %tep ? of boot!n(. 74 74 PA' 74 %"C 74 8/8/B/?.PDC commands ---------PDC .ISL commands ---------'%# .th u se !al console sess!on) ^7 & ente B+ (et !nto (sp mode . 3" memo y !nfo& tell 2h!ch ban$ has 2hat $!nd of D'33& /acancy. boot& use default de/ boot& us!n( p !ma y .'n!t!al %ystem #oade 'n/o$ed by PDC so that !t can load the $e nel off /stand . The 2!ndo2 !s afte all ha d2a e has been chec$ed and befo e 4% bootst ab p ocess be(!ns. %"0 %ea ch and d!splay bootable de/!ce. Class !nfo usually not sho2n !n ta(/model !nfo !n f ont os system ). %!mple to do dual boot. boot /!a spec!f!c path& see %"0.

7'4% le/el command& access!ble e/en 2hen mach!ne !s !n Po2e 4ff state.%PR p ompt access.ua d!an %e /!ce P ocesso . hpu+ hpu+ hpu+ hpu+ -!s -lm -lm /stand//mun!+. 5o pass2o d #E3 ma!ntenance boot mode. ) Pa."+tended %elf Test.f!le '#%' to see a l!st of the '%# ut!l!t!es.%P 2!ll end.f!le "+ecute commands !n "%T . 0ccess!ble all the t!me& !t 2!ll not cause any !nte upt!on of unn!n( system.p e/ ll * * * * mode& etc. boot /!a spec!f!c $e nel l!st $e nels a/a! !n /stand -8'%#R S H"#P #% 0UT4744T 0UT4%"0ACH PA'3P0TH 0#TP0TH C45%P0TH D'%P#01 #%0UT4<# <0%T%'T" P88%UPP4AT O88%UPP4AT A"0D5E3 A"0D%% #%70TCH 70TCH #%"%T "%T "nte Help <ac!l!ty #!st '%# ut!l!t!es %et o clea autoboot fla( !n stable sto a(e %et o clea autosea ch fla( !n stable sto a(e 3od!fy p !ma y boot path !n stable sto a(e 3od!fy alte nate boot path !n stable sto a(e 3od!fy system console path !n stable sto a(e D!splay boot and console paths !n stable sto a(e #!st contents of autoboot f!le %ets o d!splays <0%T%'T" 7oots the sP88 %uppo t Qe nel f om the boot de/!ce 7oot the sO88 %uppo t Qe nel f om the boot de/!ce D!splays contents of one 2o d of 5E3 D!splays contents of one 2o d of stable sto a(e #!st contents of batch f!le "+ecute commands !n batch f!le #!st contents of "%T . P. H" H help& #' !n the e l!st commands) HHHH .0dm!n!st ato -HHH 0C ) 0le t d!splay Conf!(u at!on PC ) Aemote Po2e Cont ol 0A ) 0utomat!c %ystem Aesta t conf!(.%P Help HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH.GSP commands ---------..!n( pa amete setup . eI66 s!n(le use mode. Use se !al console o #05 console& h!t ^7 default !s unsecu ed so 9ust p ess ente fo use name and pass2o d to (a!n . ---------. 'nte act!ons !n he e allo2 boot !nto s!n(le use %ee H4@T4 sect!on and hpu+ command !s !n '%#. 'f mach!ne (ets !nto boot p ocess& use sess!on to ."+tended %elf Test.f om the ha d d !/e.%P .

%P XD XU ) D!a(nost!cs and/o Aeset ) Up( ade the . cont ast to e+!t& 2h!ch 2!ll lo(off a telnet to the #05 console sess!on. P obably s!m!la to %un 47P sync cmd. %# C# %ho2 lo(& .%P and #05 console 2!ll ema!n usable afte po2e off.%P le/el lo((!n(& 2!th t!mestamp !n UTC/. system DC ) Default Conf!(u at!on buffe D' ) D'sconnect emote o #05 console cont ol "# ) "nable/d!sable #05 access modules "A ) "nable/d!sable Aemote/modem Cont ol H" ) D!splay H"lp fo menu o command othe use s 'T ) 'nact!/!ty T!meout sett!n(s d!splay #C ) #05 conf!(u at!on use s #% ) #05 %tatus of . A% Ha shes esta t of system& no 4% !nte act!on& no co e.%P 3A ) 3odem Aeset 3% ) 3odem %tatus -8C4 P% A% ) Po2e mana(ement module ) Aeset %ystem th ou(h A%T %D3 ) %et D!splay 3ode .lo( !nto the ) %ho2 #o(s . o of the #"D !n f ont of E<P d!splay a /! tual f ont panel& a m! mach!ne./!e2 console h!sto y s!(nal C4 ) C4nsole.C0 ) Conf!(u e asynch/se !al po ts %tatus C# ) Console #o(. #%& #C %ho2 and conf!(u e #05 console sett!n(s . Random Dai y Tas!s . Can pe fo m po2e cycle.'P& hostname& etc-& e+t emely useful& ma$e su e to conf!(u e !t6 TC %end s!(nal to 4%& fo ce !t to do a co e dump and eboot.%P <! m2a e etu n to console mode& e+!t .chass!s code ) %ecu !ty opt!ons U access ) %ystem %tatus of p oc.he+ o %" %# %4 %% TC T" ) %"ss!on.3T. ) Aeset /!a T ansfe of ) T"ll. PC allo2 tu n!n( mach!ne on/off. %ho2 te+t messa(e that has been d!splayed to the console. . Cont ast to %U5 #43 and 0'X se !al access& 9ust need to ha/e po2e fed !nto mach!ne. P% 3on!to status of po2e supply& fan& etc.%P. to E<P ) E! tual < ont Panel @H4 ) D!splay connected . %U5 473 eset. Use th!s command to clea attent!on l!(ht.send a ms(.etu n to console mode te+tC%P ) Connect to emote %e /!ce P oc.

C8.?8.chan(!n( hostname of a mach!ne /etc/ c.conf!(.B? ?8.B8.BDD ?8.B?D.B?D.?MM /us /l!b/nets/c/yp/ypb!nd 5ote that yp!n!t can only be used to setup maste not to !n!t cl!ent conf!(. mo/e mach!ne to ne2 subnet& maybe use sam !nstead of conf!( f!le chan(es fo 'P/5'C sett!n(s o else need to ed!t mult!ple places.B?D.B?D.C8.B8.K ?8.B?D.d/namese /e )) 5'%FD430'5-"t!tan!umle(.com//a /yp/secu ese /e s )) ?8.d/netconf /etc/hosts //a /adm/!netd. o sla/e se /e . eboot- hostname 5"@503" .com" .conf!(.>8.>8.B?D. c eat!n( /de//=e o cd /de/ m$nod =e o c C 8+88888> cho2n b!n)sys =e o chmod KKK =e o Chan(e system default t!me=one) ed!t /etc/T'3"T45" to be) TTHP%TPPDT e+po t TT %ett!n( up 5'% 2!th p edef!n!ed l!st of se /e s.sec * top& see H4%T503"H"name" * may not be needed.B?D.BDD ?8./e !fy 2!th doma!nname& !mmed!ate act!/at!on /!a doma!nname t!tan!umle(.BDD ?8.use th!s !nstead of don't use setFpa m sam o$ay& but chec$ f!les abo/e.B?D.BDD ?8.?8. /etc/ c.?O ?8.

.Sto"a#e Dis! s2ap/pa(!n( s2ap!nfo s2apon /de///(8?/l/olB /etc/fstab ent y) /de///(8?/l/olB / s2ap * act!/ate s2ap pa t!t!on defaults 8 8 * s2ap de/!ce /us /sb!n/sam (oto Pe fo mance 3on!to s -R %ystem P ope t!es the e a e tabs fo cpu and memo y !nfo $o ume %ana#ement c"eatin# "oot and s&ap 'o umes (usin# L$%) [Adapted from Unix Sys Admin Handbook (USAH) p146. 2/ * c K> !s d!s$ ma9o numbe * 8+558888 !s un!I m!no numbe * e(& ch$ a(a!nst ls -l * ma$e !t bootable d!s$ * c eate cont!(uous de/ l/ol? .. /de///(:/( oup /(c eate -sP /de///(8? /de//ds$/cCt?Dd8 Phy "+tend H P mb m$boot /de// ds$/cCt?Dd8 l/c eate -C y s!=e ?8B> 37 n -# ?8B> /de///(8? * c eate a ne2 /ol ( p.] !oscan -fnC d!s$ * scan fo d!s$ de/ path p/c eate -7 /de// ds$/cCt?Dd8 * ma $ d!s$ fo use as PE !n #E3 dd !fH/de//=e o ofH/de// ds$/cCt?Dd8 bsHK>$ countH?8 * 2!pe out obsolete #E3 ma $!n( on d!s$ so that * p/c eate 2!ll not compla!n& e un p/c eate cmd m$d! /de///(8? m$nod /de///(8?/( oup c K> 8+558888 he+& t y 8?& 8B& .

/de///(8? * emo/e oot /ol * undo l/lnboot l/ emo/e /de///(8?/l/olB * emo/e the lo(!c /(8? l/ emo/e /de///(8?/l/ol? /( emo/e /( * emo/e the 2hole bdf eI fo the #E. non "system" /olumes can be c eated as& e( /us /local) l/c eate /de///(88 l/e+tend -# B888 /de///(88/l/ol?? * allocate B . * sam may p o/!de eas!e alte nat!/e.'%# hpu+ -!s& -lm ma!n mode 2on't 2o $6l/e+tend& e+tendfs& then eboot to !nc ease such fs.l/c eate -C y automat!cally n -# ?8B> /de///(8? * d!tto& 2!ll be named l/olB * ma$e l/ol? a boot pa t!t!on * ma$e l/olB a s2ap de/ * c eate the fs as /e !tas fs * act!/ate s2ap l/lnboot .<%.<%& need unmount befo e e+tend.i-ar #an do it by mi&ratin& to anot'er disk and if on$ine. /stand and s ap re!"ire spe#ia$ po$i#y of %#onti&"o"s%.<% fsadm -< /+fs s!=e /fsmount * mount /fsmount 2he e leFnumbe !s ne2 #" /alue o -# s!=e'n37 .7 fo the #o( Eol. need unless ha/e onl!ne. 5ot su e ho2 to do / 66 NOTE /.. * also& may need to set $e nel pa am ma+s2apchun$ 2h!ch l!m!t ma+ s2ap s!=e !n byte * calc as s2chun$ : D"EF7%'T"& 2hose def a e B8>P and ?8B>& esp./S is "sed. ne2fs -< /+fs /de///(88/ l/ol?? * l/ol?? ass!(ned dyn f om abo/e Clean up p ocedu e& e/e se of c eate. * s2ap add!t!on l!$e th!s eI d!s$ to ha/e a boot pa t!t!on& e/en on Bnd d!s$. and t'"s #annot be extended( ()'ey "s"a$$y #orrespond to $*o$1 to $*o$+). . and -s /ol l/olB f om /ol ( p * df& be $eley /e s!on ( o2f!n( the fs) l/d!splay /de///(88/l/olX * f!nd out #" /alue umount /fsmount l/e+tend -l leFnumbe /de///(88/l/olX * * e+tendfs /de///(88/l/olX * . //a & /us boot !nto s!n(le use mode . l/ mboot . .../de///(8?/l/ol? l/lnboot -s /de///(8?/l/olB ne2fs -< /+fs /de///(8?/ l/ol? s2apon /de///(8?/l/olB /! /etc/fstab..f!nal s!=e2!ll f!ll up all allocated #"& !nc ease fs fo onl!ne.

/+fs hfs /+fs /+fs /+fs /+fs /+fs delaylo( defaults delaylo( delaylo( delaylo( delaylo( delaylo( 8 8 8 8 8 8 8 ? ? B B B B B * (et l/m !nfo of e+!st!n( d!s$.B.8- )'e /et#/fstab before mirrorin& is.B.. *** *** NN T4D4) f!nd out ho2 to dete m!ne !f mach!ne has l!cense fo m! o !n(.8* ne2 d !/e fo m! o !s /de//ds$/cBtBd8 . Adapted from H12U3 11i system administration 'andbook and too$kit. p146 Here is t'e pro#ed"re to mirror root disk. /de///(88/l/olC / /de///(88/l/ol? /stand /de///(88/l/ol> /tmp /de///(88/l/olD /lhome /de///(88/l/olK /opt /de///(88/l/olO /us /de///(88/l/olP //a !oscan -funC d!s$ p/d!splay /de//ds$/c?tBd8 p/d!splay /de//ds$/cBtBd8 d!s$..'i$e t'is mirrorin& soft are is nati*e to t'e H12U3 :S. it is an option t'at re!"ires more money.8/8/B/8. Wa"nin# . 'i#' "ses H1U3 nati*e 789. 4nd 5d. *** * e(& e+!st!n( /(88 !s !n /de//ds$/c?tBd8 . m$boot /de// ds$/cBtBd8 * m$boot -a "hpu+ -lI" /de// ds$/cBtBd8 * %"C45D0A1 d!s$& add 0UT4& lo2 Iuo um .Setup *oot dis! mi""o"in# 0oot disk mirrorin&. $*extend -m is t'e mirrorin& option t'at need $i#ense to be a#ti*ated. by 1oniato ski.8/8/?/?. and not t'e 8eritas 8o$"me 9ana&er t'at t'e :S a$so s'ips it'. * (et e & no l/m def on !t& a2 * add phys!cal d!s$ to be used by * !nco po ate ne2 d!s$ to p/c eate -7 /de// ds$/cBtBd8 #E3 /(e+tend /de///(88 /de//ds$/cBtBd8 e+!st!n( /(88 * do some chec$!n( st !n(s /etc/l/mtab l!fls /de// ds$/c?tBd8 l!fls /de// ds$/cBtBd8 * see ne2 d!s$ used by l/m * see lot of boot ut!l * no boot ut!l& add ne+t.

SSl!fls /de// ds$/cBtBd8 e+tens!/e * see boot ut!l& but not as * as p !ma y d!s$. esto e /(chan(e -a y /de///(XX ( p to a/a! lable .../optl/e+tend -m ? /de///(88/l/olD l/olDH.B./us l/e+tend -m ? /de///(88/l/olK l/olKH.../lhomel/e+tend -m ? /de///(88/l/ol> l/ol>H.-a y/(sync /de///(XX lo(!cal /ol !n /ol ( p. *** *** Aeplace m! o ed d!s$ boot d!s$ *** 'n add!t!on to no mal m! o d!s$ *** add) eplacements steps abo/e& . l/e+tend -m ? /de///(88/l/olP l/olPH.m$boot -a "hpu+ -lI" /de// ds$/c?tBd8 * PA'30A1 d!s$& lo2 Iuo um ./tmpsetboot setboot -a 8/8/B/8.8 *** *** To undo the m! *** o !n( p ep 2o $) /de//ds$/cBtBd8 * add m! /de//ds$/cBtBd8 * add m! /de//ds$/cBtBd8 * add m! /de//ds$/cBtBd8 /de//ds$/cBtBd8 /de//ds$/cBtBd8 /de//ds$/cBtBd8 /de//ds$/cBtBd8 o o o fo fo fo o o o o o fo fo fo fo fo l/olBH/ * add m! * add m! * add m! * add m! * add m! * chec$ cu ent PDC bootpath * set PDCR 74 %"C . *** *** The ne+t steps 2!ll actually pe fo m the m! o & *** and !t 2!ll fa!l !f -m m! o !n( opt!on !s not act!/ated 2!th /al!d l!cense *** l/e+tend -m ? /de///(88/l/ol? l/ol?H/stand l/e+tend -m ? /de///(88/l/olB . ootl/e+tend -m ? /de///(88/l/olC l/olCH.//a l/e+tend -m ? /de///(88/l/olO l/olOH.s2ap* Aepeat fo all l/olX.!f needed- /( educe /de///(88 /de//ds$/cBtBd8 p/ emo/e /de// ds$/cBtBd8 *** *** *** Aeplac!n( a m! o d!s$ ?>M * /ol ( p conf * chan(e /ol * esync /(cf( esto e -n /de///(XX /de// ds$/c. 't !s o$.

et#). /"sr. --#E H lo(!cal /olume& s!m!la !oscan -fnC d!s$ d!s$!nfo p/c eate -7 /de// ds$/cCt?Dd8 * !n!t a a2 d!s$ de/ as de/ fo #E3 -!e ma$e a PE. /i$esystem #reated by 789 #an be 'fs (/stand.all lo( /ol !n !t 2!ll . l/d!splay -/ /de///(88/l/olP lo(!cal /ol * a fe2 mo e commands. boot st"ff) and *xfs (root. and 8eritas for data disks. m$boot -a "hpu+ lI" /de// ds$/c. eboot * /(cf(bac$up !s un automat!cally on eboot Ot+e" $o ume %ana#ement Commands H12U3 <= 11 defa"$t boot disk is "nder #ontro$ of 789 2 7o&i#a$ 8o$"me 9ana&er. p/ emo/e /de// ds$/cXtXd8 * e/e se/undo of p/c eate p/d!splay /de//ds$/c?t?Dd8 * d!splay phys!cal /ol !nfo . H1 ta$ks abo"t .. E+Em cmds a e /+. 'ereby some admin "se t'e S"n 8o$"me 9ana&er (>isk S"ite) for :S disks... to pa t!t!on/sl!de of sola !s../e bose. Note H12U3 s'ip s it' TWO 789./S and on$ine. and 8eritas 8o$"me 9ana&er for "se it' data partitions. t'is is akin to So$aris./ol ( p !nfo * /(88 H oot /ol ( p . * scan fo all ha d d !/es . p/. H12U3 ?"st 'appen to s'ip bot' pre2insta$$ed....system f!les* /etc/l/mconf l!st all /ol ( p !n system * sho2 lo(!cal to phy e+tents map fo o !n( sect!on. An nati*e *ersion for #ore :S partitions. /*ar. #E3 de/!ces a e /de///(88/l/ol5 E+Em de/!ces a e /de///+/ds$/ ootd(//ol55 #E3 cmds a e l/.N cd/d/d-./S.d!s$ to /ol ( p !nfo* de/ path f om !oscan output /(d!splay -/ /(88 * d!splay . /"rt'er note t'at in addition to *xfs.. some sample e( !n #E3 m! /(e+tend /( educe /( emo/e be (one- * /ol ( p& add d!s$ to * /ol ( p& emo/e d!s$ f om * /ol ( p& emo/e !t completely . )o some extend..*** m$boot /de// ds$/c... /(..t. see fs#k.

cl!ent sta t ead the std out f om th!s sc !pt sta tup f!le !s !n /sb!n/!n!t.cl!ent 5ote that !f 5'% map auto.l/c eate l/e+tend conf!( l/ educe l/chan(e l/ emo/e l/lnboot * lo(! /ol& c eate .d/nfs.maste use undesco e l!$e autoFhome& * automount/autofs& can .d/nfs.con(t!(uous& etc/ol& emo/e !t completely .d/nfsconf * set both to be su e6 0UT4F4PT'45%H"-f V0UT4F30%T"A -D 0ACHH%CFHPUX" *olde automount 0UT434U5TDF4PT'45%H"-D 0ACHH%CFHPUX" *ne2e autofs see sambple conf!( !n hpu+/nfsconf /sb!n/!n!t.S automount typ!cal auto sta tup . ne2fs& e+tendfs etc a e appl!ed to #E to ma$e usable f!lesystem.fs 2!ll be (onel/ bootable.phys!cal e+tents.o * * * * lo(! lo(! lo(! ma$e m! o /ol& educe space o emo/e m! o /ol& chan(e allocat!on pol!cy .!n!t!al setup* lo(! /ol& add space .conf!(. .i esystem mount!n( cd om) mount -o o -< cdfs /de//ds$/cBt?d8 /mnt/cd om alte nate app oach .d!ff fo matS !ona cd-) pfsFmountd U pfsd U pfsFmount /de// ds$/cBt?d8 /mnt/cd om pfsFumount /mnt/cd om Connecti'ity (-et&o"!) -.f om ps-) /us /l!b/nets/c/fs/automount/automount -f /etc/autoFmaste 0ACHH%CFHPUX * old automount /us /l!b/nets/c/fs/autofs/automountd -D 0ACHH%CFHPUX * ne2e autofs& /net may need some 4% path !n P0A'%C -D /etc/ c.

automnt Con/e t!n( 5'% se /e to ha/e map 2!th '.home /etc/auto.home 0s such& a sle2 of f!les need to be added !n /etc/autoFhome 2!th conent of Nauto. 7ut 4h!o 5'% use that and !t 2o $s f!ne6 0ss hole befo e c eated the %50<U fo me. * l!st all de/!ces of Class lan * a-class bu!ld-!n 5'C * some old bo+ add on n!c /etc/ c.d/hp:conf e( hpbtlanconf H btlan hp(sc?88conf H btlan> hsc 9CD?Da hpbasetconf H btlan? .p oducts /etc/auto. o F 5ot su e of the effect on autoFhome and autoFd! ect 5<% /etc/fstab /de///(88/l/olP netapp)//ol//ol?/use s/sa /etc/e+po ts /opt //a .o /us /+fs /mnt/sa nfs delaylo( 2&!nt &ha d 8 B 8 8 e+po tfs -a -IC lanscan -/ !fconf!( lan8 lanadm!n -+ 8 lanadm!n -X ?88<D 8 !oscan -fnC lan lsde/ -C lan * * * * l!st all 5'C& !fconf!( -a doesn't 2o $.' should 2o $. * fo ce sett!n(s& fo th!s sess!on only. 7ut af a!d b ea$ othe 4% platfo m& not 2ell tested yet. * !d ca d type and d !/e .o . <o compat!b!l!ty !ssues& !t !s p obably best to a/o!d both .conf!(. and F !n the f!lename The e should not be eason 2hy one can't use autoFmaste to ha/e ent !es l!$e) /p oducts autop oducts * !e& no . /e bose& sho2 n!c and d !/e & etc almost all 5'C a e lanX tell 2hat !s cu ent 5'C conf!(& e( duple+ * 8 !s 53'D f om lanscan.hpu+ 2on't be able to t anslate that to auto.p oducts Nauto.automnt )) )) Nauto.

a-classS.mach!ne btlan PH5"FBBOBO patch fo btlan fo hpu+ ??. sam& net2o $!n( and commun!cat!ons& D5% .com/se /!ce/fo ums/Iuest!onans2e .co e.BO.?8. !f 2o $& autone( 2!ll 2o $ bette .?PP..d/netconf * 'PF0DDA"%%G8JH"?8.0T"@01G8JH"?8.?BC" %U75"TF30%QG8J * 7A40DC0%TF0DDA"%%G8JH"" .8 ?OB. Dete m!n!n( / sett!n( n!c duple+ and speed http)//fo ums?. -et&o"! Con.conf * same as sola !s/a!+.blan$ seems to 2o $& auto calcS/etc/hosts * ente ne2 'P of mach!ne..conf!(. chan(e out!n() sam& net2o $!n( and commun!cat!ons& outes /etc/ c.#05 ca d hppc!?88conf H btlanD "e+te nal" pc! ca d 0DBC80 hpsppc!?88conf H btlanK E-class pc! lan ca d * Update th!s f!le to * ha d coded 5'C sett!n(s .? ? .conf!(.?8.i# chan(e D5% se /e s /etc/ esol/.doS th ead'dHKP>K?> net2o $ d !/e patch fo some old . conf!( f!le ed!t !s eas!e & only ? f!le.7'5D-& D5% Aesol/e use 3enu& 0ct!ons& %et Default Doma!n.??& olde & stable& safe patch PH5"FBC>KD latest btlan patch& ha/e some 2a n!n(s.d/netconf * A4UT"FD"%T'50T'45G8JH"default" * A4UT"F30%QG8JH"" * A4UT"F.?8. othe dns chan(e !p/netmas$) sam& net2o $!n( and commun!cat!ons& net2o $ !nte face ca ds * th!s e/en allo2 fo speed duple+ sett!n(s66 0d/ance has mac add ess and mtu.hpbase?88conf H btlanC 'nte nal .a!+ cons!de !t as 80dd!n( default oute !n command l!ne) oute add default netmas$ BDD. to add "sea ch" fo doma!ns. /etc/ c.?" * A4UT"FC4U5TG8JH"?" .!t c.BDD.hp.?8.BDD.speed and duple+& e( ?88 <D* emembe to add the ca d !nte face e( lan8 !n the name * sect!on& o !t 2!ll ha/e no effect6 * can also chan(e sett!n(s /!a lanadm!n -X ?88fd * but !t 2!ll not l!/e th u eboot.

old7ase should be !nstalled on the system.t&a"e mana#ement s2l!st -l p oduct l!st all p oduct/patches !n system s2l!st X ( ep -e WPQ -e .old0pp and . <acto y 4% !nstall !ncluded the latest elease of all the abo/e > patch bundles. -l p oduct seems to be needed fo ??! s2!nstall -f mysoft -s /mnt/cd supposed to !nstall soft2a e l!sted !n f!le mysoft f om cd om s2!nstall -s /home/sa/sha e/soft2a e-!n-cd/hpu+FaCNN/aCN NComp!le . s2l!st -l p oduct X ( ep PH loo$ fo !nstalled patches.depot .Se"ia /conso e po"t P"intin# To add a net2o $ p !nte & use sam& p !nte s and plotte s& #P %poole & P !nte s and Plotte s& (o to 0ct!ons menu& 0dd Aemote P !nte 5ame of Wueue to add 2!ndo2s Hostname of emote se /e 5ame of Iueue on emote se /e Type of p !nt spoole on emote se /e chec$ emote !s 7%D--R Use p !nte name mach!n( --R 2!ndo2s p !nt se /e name --R @!ndo2s p !nte name.se /!ce pac$ eIu!/-.i# Pac!a#e/So.!e& don't Sys Con.old 7ase patch has been !nstalled .4#D dete m!ne !f any Wual!ty Pac$ o . 0ppe ently& all > of 7U5D#"??!& H@"nable??!& .P88. --R %ystem E .

C.utah. >.edu& depot fo mat& some !ns to /us /local/b!n& othe to /opt& !nto p oduct spec!f!c subd! s6J Patc+ patch !nstall e() . s2!nstall -s /e+po t/tmp/bash. 'nst uct!on p esented !n he e !s also !n a te+t f!le !ns!de the ta .hp. 't !s eally 9ust a ta f!le.depot @0A5'5.doS patch!dHPH%%FB88DDUconte+tHhpu+)P88)??)88 ?. 3o/e to the /tmp d! ecto y and unsha cd /tmp sh PH%%FB88DD D.com/se /!ce/patch/patchDeta!l. Aun s2!nstall to !nstall the patch) G to chec$ that depot has been do2nloaded co ectly) s2l!st -d @ /full/absolute/path/PH%%FB88DD. see ema!l about 2he e (nu tools a e do2nloaded Ghttp)//hpu+.cs. Copy the patch to the /tmp d! ecto y.) 'f patchFsa/eFf!les !s false 2hen a patch !s !nstalled& the patch) .depot Y: !nstall e/e yth!n( !n the depot . 7ac$ up you B.patch !s obta!ned !n a "depot" f!le fo mat& 2h!ch !s eally a ta . #o(!n as system befo e !nstall!n( a patch.!t c.!n th!s case& su e the e !s bash only-.http)//222B.depot 7y default s2!nstall 2!ll a ch!/e the o !(!nal soft2a e !n //a /adm/s2/sa/e/PH%%FB88DD. 'f you do not 2!sh to eta!n a copy of the o !(!nal soft2a e& use the patchFsa/eFf!les opt!on) s2!nstall -+ auto ebootHt ue -+ patchFmatchFta (etHt ue Y -+ patchFsa/eFf!lesHfalse -s /tmp/PH%%FB88DD. oot.2!ll needed to fully spec!fy the depot f!le befo e the damn th!n( eco(n!=e the f!le.depot J s2!nstall -+ auto ebootHt ue -+ patchFmatchFta (etHt ue Y -s /tmp/PH%%FB88DD.

the patch cannot be de!nstalled. * can set them to ?888 by othe pa ams . <o !s futu e Please be ca eful efe ence& the contents of the PH%%FB88DD.$bytes& -/- ul!m!t -s * def!ne stac$ s!=e.ma+ allo2ed& CPCQul!m!t -n * def!ne ma+ open f!les& def $e nel /alues) ma+f!les B8>P stat!c >8MK * soft ma+f!lesFl!m B8>P dynam!c P?MB * ha d ma+use s npty nst pty * num of use s& base pa am as mult!pl!e * does not actually (o/e n lo(!ns.$bytes& -scpu t!me .-np!pe s!=e . B8MO?D? ?8>PDOK unl!m!ted unl!m!ted B8>P ?K P?MB unl!m!ted OK unl!m!ted co e f!le s!=e . * pty fo use lo(!n sess!ons.-u/! tual memo y .depot ofH/de// mt/8m bsHB$ Ke"ne /System Tunin# sysdef $mtune -l .P$ma+s!=FK>b!t PCPPK8P su((ested /al fo small se /e >8?K8>K8P .bloc$s& -cdata se( s!=e .!n /us /sb!nul!m!t -a * sho2 many .depot a/a!lable !n the p oduct s2l!st -l p oduct -a To put th!s patch on a ma(net!c tape and !nstall f om the tape d !/e& use the command) dd !fH/tmp/PH%%FB88DD.but not all.$bytes& -mopen f!les .bloc$s& -fma+ memo y s!=e . (o/e ned by $e nel stat!c pa ams and def /als ma+s!= PCPPK8P .te+t f!le eadme) eadme -d @ /tmp/PH%%FB88DD.D?B bytes& -pstac$ s!=e .seconds& -tma+ use p ocesses .$bytes& -df!le s!=e .$e nel pa amete s * l!st all $e nel pa amete s& -l fo lon( l!st * d!splay all l!m!ts& belo2 a e p obably defaults. 2hen us!n( th!s featu e.

nst tel np oc * ma+ p ocesses that can e+!st on system& ??! H stat!c * def B8 N P : 30XU%"A% .nnn R /tmp/nettl. 't should mod!fy) ma+use s D?B np oc B8>P ma+Fth eadFp oc C888 n$th ead K888 nf!le C888 ma+f!les B8>P ma+f!lesFl!m B8>P ncallout K888 ma+ds!= B8KCPCD?CK tcpFconnF eIuestFma+ B8>P 0ddin# Inte"nationa Lan#ua#e/Loca e suppo"t 7y default& all the bas!c suppo t fo !nstalled.#om/prod"#ts1/"nix/?a*a/?a*a4/o"tofbox/ do2nload . esta t !s needed.t+t con/e t the net2o $ p oblem lo( f om b!na y to te+t opt!ons may ha/e been -l -5 -n -f stm& cstm +stm ha d2a e d!a(nost!c p o( am.lot of opt!ons.// . te+t menu& cl! and X based. !nte nat!onal lan(ua(e a e The CD" lan(ua(e may need to be !nstalled manually) 'nse t CDB of HP-UX ??! <oundat!on 4pe at!n( "n/! onment& then un %03 %oft2a e 'nstall and add the CD" bundle of the des! ed lan(ua(e.'p. &et H1 too$ . /us /sb!n/$mtune 2!ll d!splay the $e nel pa ams. Ha"d&a"e commands mode$ 2 &i*e ma#'ine mode$ info Dia#nostic too s d!a(nost!cs tools) netfmt -.depot -+ auto ebootHt ue Y: AeI eboot.//a /adm/nettl. /or $ar&e ?a*a app ser*ers. @erne$ parameters in defa"$t os is not *ery &ood for $ar&e ser*er.depot& s2!nstal -s /full/path/to/9oobFB8CF??88. 1robab$y &ood for a$$ ser*er. . 'ttp. Chec$ 2!th "locale -a".a*a4 :"t2of2box and it i$$ p$"& in a$$ desireb$e parameters.DMPPS- use sam to def!ne ne2 pa ams and bu!ld ne2 $e nel.#4.

@a n!n() %ome adm!n may see th!s as $lud(e as !t bypass the soft2a e mana(ement tool. 3oney2a e aCC !s 0ns! C compl!ant and !nstalls to /opt/aCC.!nfo Th!s d! !s automounted as /!mpo t/hpu+??88/us /local Ea !ous l!n$ 2ould e+!st po!nt!n( to the pa ent d! of /!mpo t/hpu+??88& such as /t!tan!umle(!t.utah.+ .cs.p obably not 2ell $no2n& suppo t people use onlyS tus$ some so t of net2o $ t oubleshoot!n( ut!l. Can 9ust do ta t !c$& see note belo2. Random Stu. 't could also be a syml!n$ f om sl!(htly d!ff /e s!on of HP-UX ??. cha con/ con/e t !nput f!le to des! ed output fo mat -u H un!+ #< -d H dos CA#< -m H mac CA -! !nputf!le& default !s std !n -o outputf!le& default to std out --help mo e con/e s!on !nfo& !nclud!n( "7CD'C e() cat doste+t. %ola !s #DF#'7A0A1FP0THK> #'7 The e maybe someth!n( about the en/ /a also.t+t X cha con/ -u R un!+output. "n/ /a !ables) %H#'7FP0TH !s used !nstead of %ola !s #DF#'7A0A1FP0TH #DF#'7A0A1FP0TH fo K> b!t /e s!on l!bs.t+t Comp!le ) The bundled cc comp!le !n /us /ccs/b!n/ccFbundled only ta$es QUA funct!on p ototype synta+& not 0ns! C. 5o eal need to use %03 to !nstall the pac$a(e and +fe to 5<% se /e .edu. dosBun!+ Couldn't f!nd such command tool& only found cha con/. !nto 5<% se /e cent al locat!on. HP-UX . 1ou cho!ce )/!mpo t/hpu+??88/us /localV cat d! .. /or t'ose from So$aris ba#k&ro"nd."ee&a"e 'nfo about !nstall!n( hpu+ (nu f ee2a e f om hpu+. 5ot su e.

utah.edu HP-UX ??./:. and set of cp commands to m$d! -p cleaned/opt cp -pA :/:/opt/:/: cleaned/opt/ --- .cs..depotZL do ta +f V!tem done m$d! -p cleaned/us cp -pA :/:/us /: cleaned/us and f!nally the clean ed/us /local d! --the opt d! !s e+t acted !n s!m!la manne ) !s mo/ed he e.These f!les a e (nu f ee2a e depot f!les fo hpu+.ta m$d! unta ed cd unta ed fo !tem !n Zls .88 f om The sou ce !s netapp)//ol//ol?/depot/hpu+??88/us /local The sou ce depot f!les a e hac$ed /!a unta put them !nto the des! ed us /local/b!n etc t ee st uctu e) (un=!p :.

Sign up to vote on this title
UsefulNot useful