Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cluster 4.x
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
Table of Contents
1 Intro" ction to Oracle Solaris Cl ster ! an" HA SAP System###############################################################3 2 Config ring $one Cl sters in the Oracle Solaris Cl ster !#####################################################################! 3 Preparation for Installing a Highly Available SAP System on Oracle Solaris Cl ster !######################1! ! Installing a Highly Available SAP System on Oracle Solaris Cl ster !###############################################1% & 'ro bleshooting for SAP Installation####################################################################################################23 ( Config ring I"entical Oracle Solaris Cl ster )o"es for SAP###############################################################2& * Installing +ocal A""itional Application Servers on the Physical Host#################################################2% % Config re Oracle ,atabase n"er Oracle Solaris Cl ster Control########################################################2- Config re SAP Instances n"er Oracle Solaris Cl ster Control###########################################################31 10 .nable Oracle Solaris Cl ster HA Connector for sapstartsrv#############################################################311 'ro bleshooting Highly Available SAP Application on Oracle Solaris Cl ster !##############################!1 Concl sion##############################################################################################################################################!2 Abo t the A thor#####################################################################################################################################!2 /eferences###############################################################################################################################################!2
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
Java system : 'he SAP >ava system contains the SAP )etWeaver Application Server >ava2 it is "evelope" an" e5ten"e" sing Oracle?s ob@ect4oriente" programming lang age >ava# Highly available SAP >ava system consists of the follo0ing instances9 SCS instance .n3 e e replication server instance ,atabase instance Central instance or primary application server instance <Optional= ,ialog instance or a""itional application server instance
"
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
ABAP+Java double stack system : A "o ble stac1 system has both )etWeaver Application Server A;AP an" )etWeaver Application Server >ava in one system# Highly available SAP A;APA>ava system consists of the follo0ing instances9 ASCS instance SCS instance ,atabase instance .n3 e e replication server instances <t0o instances= Central instance or primary application server instance <Optional= ,ialog instance or a""itional application server instance
'he Oracle Solaris Cl ster Agent ORCL.ha-netweaver is f lly 3 alifie" by Oracle an" also certifie" by SAP on Oracle Solaris Cl ster ! an" Oracle Solaris Cl ster 3#3# 'he agent provi"es a"ministrative an" monitoring f nctions for SCS2 ./S2 PAS an" AAS instances to ens re that these instances are highly available# 'he agent is also integrate" 0ith sapstartsrv# 'he proce" re in this article ses a t0o no"e Oracle Solaris Cl ster ! system that is installe" 0ith Oracle Solaris 11 as an e5ample# '0o SAP systems2 BMW an" BNZ2 are to be installe"# 'he SAP system BMW is an A;AP system# 'he SAP system BNZ is a >ava system# 'he SAP systems are installe" 0ith Oracle ,atabase 11#2#0#3#
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
Illustration 1: Structure of Two HA SAP systems on Two Zone Clusters Ill stration 1 sho0s the str ct re of the t0o HA SAP systems on the t0o Bone cl sters of a t0o4no"e Oracle Solaris Cl ster# 'he A;AP SAP system BMW is installe" in the vzstar1a Bone an" is able to fail over to the vzstar2a Bone# 'he BMW system consists of the follo0ing five SAP instances9 ASCS: A;AP message server an" en3 e e server 0hich is installe" on logical host star-5 ERS: .n3 e e replication server 0hich is installe" on logical host star-6 DB: Oracle "atabase 0hich is installe" on logical host star-8 PAS: Primary application server <former central instance9 ,C.;DES= 0hich is installe" on logical host star-7 AAS: A""itional application server <former "ialog instance= 0hich is installe" on logical host star.ach of the five instances is installe" on its o0n logical host an" is able to fail over to the other cl ster no"e# ASCS an" ./S instances r n on "ifferent cl ster no"es to provi"e high availability for the SAP
$
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
en3 e e loc1 table# 'he other instances may r n on any cl ster no"e# 'he >ava SAP system BNZ is installe" in the vzstar1b Bone an" is able to fail over to the vzstar2b Bone# 'he BNZ system consists of the follo0ing si5 SAP instances9 SCS: >ava message server an" en3 e e server 0hich is installe" on logical host star-11 ERS: .n3 e e replication server 0hich is installe" on logical host star-12 DB: Oracle "atabase 0hich is installe" on logical host star-1! PAS: Primary application server <former Central Instance9 >C55= 0hich is installe" on logical host
star-1"
AAS (2): A""itional application server <former "ialog instance= 0hich is installe" on physical hosts 'he SCS2 ./S2 ,; an" PAS instances are installe" on fo r logical hosts an" are able to fail over to the other cl ster no"e separately# SCS an" ./S instances r n on "ifferent cl ster no"es to provi"e high availability for the SAP en3 e e loc1 table# 'he t0o AAS instances are installe" on physical hosts an" are config re" as m ltiple master reso rce# ;efore yo begin2 ens re that the follo0ing re3 irements are met9 On Oracle Solaris 112 SAP re3 ires at least Oracle Solaris 11 S/F 1 an" Oracle Solaris Cl ster !#0 S/F!# Go nee" a t0o no"e Oracle Solaris Cl ster ! installe" 0ith Oracle Solaris 11# 8or more information abo t Oracle Solaris Cl ster !2 see Oracle Solaris Cl ster ! ,oc mentation#
Perform the follo0ing steps to install an" config re Bone cl sters for installing highly available SAP system9 1# Install the ha-#$%ster pac1ages an" config re the cl ster no"es# a= Set the ha-#$%ster p%b$&sher on all no"es#
pstar1' p() set-p%b$&sher -p http*//++++.%s.,ra#$e.#,-/ha-#$%ster/s%pp,rt/ p() set-p%b$&sher* .//e/ p%b$&sher0s1* ha-#$%ster
b= Install the ha-#$%ster pac1ages on all no"es an" r n s#&nsta$$ on one no"e#
pstar1' p() &nsta$$ ha-#$%ster-2%$$ pstar2' p() &nsta$$ ha-#$%ster-2%$$ pstar1' /%sr/#$%ster/b&n/s#&nsta$$
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
2# Create a 100 E; file system for the SAP A;AP system an" another 100 E; file system for the SAP >ACA system sing Solaris Col me Danager# a= Create -eta/b on both the no"es#
r,,t3pstar1*4' -eta/b -a -2 -# " #Bt5BBBC5BB1BB7;B"B/Bs" r,,t3pstar1*4' -eta/b 2$a)s 2&rst b$( b$,#( #,%nt a % 16 81 2 //ev//s(/#Bt5BBBC5BB1BB7;B"B/Bs" a % 82B8 81 2 //ev//s(/#Bt5BBBC5BB1BB7;B"B/Bs" a % 16!BB 81 2 //ev//s(/#Bt5BBBC5BB1BB7;B"B/Bs"
c= A"" "evices to the metasets# / n the -etaset comman" on one no"e only#
r,,t3pstar1*4' -etaset -s sapDabap -a //ev//&//r/s(//" //ev//&//r/s(//! //ev//&//r/s(//5 //ev//&//r/s(//6 //ev//&//r/s(//7 //ev//&//r/s(//8 //ev//&// r/s(//"7 //ev//&//r/s(//"8 //ev//&//r/s(//" //ev//&//r/s(//!B //ev//&//r/s(//!1 //ev//&//r/s(//!2 r,,t3pstar1*4' r,,t3pstar1*4' -etaset -s sapDCava -a //ev//&//r/s(//17 //ev//&//r/s(//18 //ev//&//r/s(//1 //ev//&//r/s(//2B //ev//&//r/s(//21 //ev//&//r/s(//22 //e v//&//r/s(//27 //ev//&//r/s(//28 //ev//&//r/s(//2 //ev//&//r/s(//"B //ev//&//r/s(//"1 //ev//&//r/s(//"2
"= Config re meta"evices sing the -eta&n&t tility# / n the -eta&n&t tility on one no"e only#
r,,t3pstar1*4' -eta&n&t -s sapDabap /2 6 1 //ev//&//r/s(//"sB 1 //ev//&//r/s(//!sB 1 //ev//&//r/s(//5sB 1 //ev//&//r/s(//6sB 1 //ev//&//r/s(//7sB 1 / /ev//&//r/s(//8sB sapDabap//2* C,n#at/Etr&pe &s set%p r,,t3pstar1*4' r,,t3pstar1*4' -eta&n&t -s sapDabap /" 6 1 //ev//&//r/s(//"7sB 1 //ev//&//r/s(//"8sB 1 //ev//&//r/s(//" sB 1 //ev//&//r/s(//!BsB 1 //ev//&//r/s(//!1s B 1 //ev//&//r/s(//!2sB sapDabap//"* C,n#at/Etr&pe &s set%p r,,t3pstar1*4' r,,t3pstar1*4' -eta&n&t -s sapDCava /2 6 1 //ev//&//r/s(//17sB 1 //ev//&//r/s(//18sB 1 //ev//&//r/s(//1 sB 1 //ev//&//r/s(//2BsB 1 //ev//&//r/s(//21 sB 1 //ev//&//r/s(//22sB r,,t3pstar1*4' -eta&n&t -s sapDCava /" 6 1 //ev//&//r/s(//27sB 1 //ev//&//r/s(//28sB 1 //ev//&//r/s(//2 sB 1 //ev//&//r/s(//"BsB 1 //ev//&//r/s(//"1s B 1 //ev//&//r/s(//"2sB
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
r,,t3pstar1*4' -eta&n&t -s sapDabap /1 -- /2 sapDabap//1* M&rr,r &s set%p r,,t3pstar1*4' -etatta#h -s sapDabap /1 /" sapDabap//1* s%b-&rr,r sapDabap//" &s atta#he/ r,,t3pstar1*4' r,,t3pstar1*4' -eta&n&t -s sapDCava /1 -- /2 sapDCava//1* M&rr,r &s set%p r,,t3pstar1*4' -etatta#h -s sapDCava /1 /" sapDCava//1* s%b-&rr,r sapDCava//" &s atta#he/
g= Constr ct a F8S file system sing new2s tility# / n the new2s tility on one no"e only#
r,,t3pstar1*4' new2s //ev/-//sapDabap/r/s(//1 new2s* #,nstr%#t a new 2&$e s5ste- //ev/-//sapDabap/r/s(//1* 05/n1G 5 r,,t3pstar1*4' r,,t3pstar1*4' new2s //ev/-//sapDCava/r/s(//1 new2s* #,nstr%#t a new 2&$e s5ste- //ev/-//sapDCava/r/s(//1* 05/n1G 5
h= A"" the follo0ing entries in the /et#/v2stab file in all the global Bone no"es#
//ev/-//sapDabap//s(//1 )$,ba$H$,))&n) //ev/-//sapDCava//s(//1 )$,ba$H$,))&n) //ev/-//sapDabap/r/s(//1 /sapDabap //ev/-//sapDCava/r/s(//1 /sapDCava %2s 2 5es %2s 2 5es
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
a= Create a file z#DsapDabap 0ith the follo0ing contents on one of the global Bone no"es#
#reate set z,nepath7/e+p,rt/z,ne set a%t,b,,t7tr%e a// n,/e set ph5s&#a$-h,st7pstar1 set h,stna-e7vzstar1a a// net set a//ress71B.1"!.1B8.186 set ph5s&#a$7netB en/ en/ a// n,/e set ph5s&#a$-h,st7pstar2 set h,stna-e7vzstar2a a// net set a//ress71B.1"!.1B8.1 2 set ph5s&#a$7netB en/ en/ a// net set a//ress7star-5 en/ a// net set a//ress7star-6 en/ a// net set a//ress7star-7 en/ a// net set a//ress7star-8 en/ a// net set a//ress7star- en/ #,--&t e+&t
b= Create a file z#DsapDCava 0ith the follo0ing contents on one of the global Bone no"es#
#reate set z,nepath7/e+p,rt/z,ne2 set a%t,b,,t7tr%e a// n,/e set ph5s&#a$-h,st7pstar1 set h,stna-e7vzstar1b a// net set a//ress71B.1"!.1B8.187 set ph5s&#a$7netB en/
(
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
en/ a// n,/e set ph5s&#a$-h,st7pstar2 set h,stna-e7vzstar2b a// net set a//ress71B.1"!.1B8.1 " set ph5s&#a$7netB en/ en/ a// net set a//ress7star-11 en/ a// net set a//ress7star-12 en/ a// net set a//ress7star-1" en/ a// net set a//ress7star-1! en/ #,--&t e+&t
1)
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
)ote : Go might have to config re the host name an" )IS information man ally# !# A"" the file system to the Bone cl sters# Perform this step on one no"e only#
r,,t3pstar1*4' #$z# #,n2&)%re z#DsapDabap #$z#*z#DsapDabap6 a// 2s #$z#*z#DsapDabap*2s6 set /&r7/sapDabap #$z#*z#DsapDabap*2s6 set spe#&a$7/sapDabap #$z#*z#DsapDabap*2s6 set t5pe7$,2s #$z#*z#DsapDabap*2s6 en/ #$z#*z#DsapDabap6 ver&25 #$z#*z#DsapDabap6 #,--&t #$z#*z#DsapDabap6 e+&t r,,t3pstar1*4' #$z# #,n2&)%re z#DsapDCava #$z#*z#DsapDCava6 a// 2s #$z#*z#DsapDCava*2s6 set /&r7/sapDCava #$z#*z#DsapDCava*2s6 set spe#&a$7/sapDCava #$z#*z#DsapDCava*2s6 set t5pe7$,2s #$z#*z#DsapDCava*2s6 en/ #$z#*z#DsapDCava6 ver&25 #$z#*z#DsapDCava6 #,--&t #$z#*z#DsapDCava6 e+&t
r,,t3vzstar1b*4' #$r) #reate -E hasp!sapCava-r) r,,t3vzstar1b*4' #$rt re)&ster E<NW.I.Et,ra)eJ$%s r,,t3vzstar1b*4' #$rs #reate -) hasp!sapCava-r) -t E<NW.I.Et,ra)eJ$%s -p ;&$eE5ste-M,%ntJ,&nts7/sapDCava hasp!sapCava r,,t3vzstar1b*4' #$r) ,n$&ne hasp!sapCava-r) r,,t3vzstar2b*4' #$rs stat%s -) hasp!sapCava-r) 777 C$%ster Res,%r#es 777 Res,%r#e Na-e ------------hasp!sapCava N,/e Na-e Etate Etat%s Messa)e -------------------------vzstar1b On$&ne On$&ne vzstar2b On$&ne On$&ne
(# A"" &0 E; of s0ap space to all the Bone cl ster no"es2 sing the secon"ary local "is1s# a= A"" the follo0ing entries in the /et#/v2stab file in the global Bone#
11
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
//ev//s(/#Bt5BBBC5BB1BB7;877/Bs! //ev//s(/#Bt5BBBC5BB1BB7;877/Bs5 -
swap swap
n, n,
*# Install the a""itional Oracle Solaris 11 pac1ages re3 ire" for SAP on all the global Bones on both the cl ster no"es#
p() p() p() p() p() p() p() p() p() p() p() p() p() p() &nsta$$ s,$ar&s-$ar)e-server &nsta$$ s,$ar&s-/es(t,p &nsta$$ s5ste-/hea/er &nsta$$ -,t&2 &nsta$$ %nrar &nsta$$ +#$,#( &nsta$$ e+pe#t &nsta$$ $&brar5/-e/&a$&b &nsta$$ p()*//eve$,per/$&brar5/$&nt &nsta$$ p()*/#,-pat&b&$&t5/%#b #han)e-2a#et 2a#et.$,#a$e.K7:r%e &nsta$$ s5ste-/&np%t--eth,//&&&&nsta$$ p()*/s5ste-/$,#a$e/e+tra &nsta$$ p()*/$&brar5/-,t&2/$&b/pst(+-
-# Fp"ate the /et#/s5ste- file 0ith the parameters re3 ire" for SAP on Oracle Solaris 11# Fp"ate the follo0ing parameters on all the global Bones on both the cl ster no"es an" reboot the cl ster#
K E.J Jara-eter set -a+Dnpr,#s7"BBBB ' reL%&re/ 2,r Ora#$e =atabase set p)D#,nt&)D/&sab$e71 ' n,t 2,r +86D6!H ,n$5 2,r EJ.RC set r$&-D2/D#%r781 2 ' -a5 a$s, be set as pr,Ce#t para-eter ' see E.J n,te 72!71"
10# .nable the r,,t ser login thro gh ssh " ring the installation# Do"ify the
1
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
/et#/ssh/ssh/D#,n2&)
file to set Jer-&tR,,tL,)&n to yes for ssh# 'hen2 restart ssh service# Go can "isable root login permissions after SAP is installe"#
vzstar1a*/ ' v& /et#/ssh/ssh/D#,n2&) vzstar1a*/ ' sv#a/- restart ssh
11# <Optional= Since all SAP sers are set locally on cl ster2 the name service client2 for e5ample )IS client2 can be sh t "o0n " ring SAP installation# Other0ise2 the sap&nst tility co l" ta1e a long time to go thro gh the ser information to chec1 installe" SAP systems# 'o "isable the name service client2 yo m st e"it the /et#/nssw&t#h.#,n2 file an" "isable the service 0ith the sv#a/- comman"# 'he /et#/nssw&t#h.#,n2 file is over0ritten 0ith every reboot# Hence2 there is no problem mo"ifying this file temporarily for the SAP installation# Go can re4enable the name service client after the SAP installation#
vzstar1a*/ ' v& /et#/nssw&t#h.#,n2 ' #,--ent ,%t the ,$/ passw/ an/ )r,%p entr&esH a// new ,nes 'passw/* 2&$es 9NO:;O<N=7ret%rn> n&s 9:R?.@.AN7B> ')r,%p* 2&$es 9NO:;O<N=7ret%rn> n&s 9:R?.@.AN7B> passw/* 2&$es )r,%p* 2&$es vzstar1a*/ ' sv#s -a M )rep n&s ,n$&ne 2*"8*2" sv#*/netw,r(/n&s//,-a&n*/e2a%$t ,n$&ne 2*"8*"2 sv#*/netw,r(/n&s/#$&ent*/e2a%$t vzstar1a*/ ' sv#a/- /&sab$e sv#*/netw,r(/n&s/#$&ent*/e2a%$t vzstar1a*/ ' 5p#at passw/ #anNt #,--%n&#ate w&th 5pb&n/ vzstar1a*/ '
12# Altho gh all the host names are registere" in ,)S2 yo may a"" the physical an" logical host names in the /et#/h,sts file on all the Bone cl ster no"es#
r,,t3vzstar1a*4' -,re /et#/h,sts ' ' Anternet h,st tab$e ' **1 $,#a$h,st 127.B.B.1 $,#a$h,st $,)h,st 1B.1"!.1B8.186 vzstar1a vzstar1a.%s.,ra#$e.#,- ' C$%ster N,/e 1B.1"!.1B8.1 2 vzstar2a vzstar2a.%s.,ra#$e.#,- 1B.1"!.1B8.187 vzstar1b vzstar1b.%s.,ra#$e.#,1B.1"!.1B8.1 " vzstar2b vzstar2b.%s.,ra#$e.#,- 1B.1"!.1B8.!8 star-1 star-1.%s.,ra#$e.#,- 1B.1"!.1B8.! star-2 star-2.%s.,ra#$e.#,- 1B.1"!.1B8.8 star-5 star-5.%s.,ra#$e.#,- 1B.1"!.1B8. B star-6 star-6.%s.,ra#$e.#,- 1B.1"!.1B8. 1 star-7 star-7.%s.,ra#$e.#,- 1B.1"!.1B8.128 star-8 star-8.%s.,ra#$e.#,- 1B.1"!.1B8.12 star- star- .%s.,ra#$e.#,- 1B.1"!.1B8.158 star-1B star-1B.%s.,ra#$e.#,- 1B.1"!.1B8.15 star-11 star-11.%s.,ra#$e.#,- 1B.1"!.1B8.176 star-12 star-12.%s.,ra#$e.#,- 1B.1"!.1B8.177 star-1" star-1".%s.,ra#$e.#,- 1B.1"!.1B8.1 B star-1! star-1!.%s.,ra#$e.#,- r,,t3vzstar1a*4'
1"
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
" Pre*aration for Installing a Highly Available SAP System on Oracle Solaris Cluster 4.x
1# .ven if yo have receive" the ,C,s shippe" from SAP2 chec1 for the latest sap installation pac1ages available at the SAP Service Dar1et Place http*//serv&#e.sap.#,-/sw/## ,o0nloa" the latest pac1ages to the local fol"er of the installation host# ,o not p t these pac1ages on )8S or on the Elobal 8ile System# 8or e5ample2 for SAP )etWeaver *#30 on Solaris SPA/C an" Oracle 11#2#0#32 "o0nloa" the pac1ages given in the follo0ing tables# Table 1: SAP Packages
Soft0are ,o0nloa"s Soft0are ,o0nloa" Center Installations an" Fpgra"es A4$ In"e5 ) SAP ).'W.AC./ SAP ).'W.AC./ *#3 Installation Solaris Oracle ,atabase $IP
&10!!2&262(
)W *#3 Hernel2 Inst#Daster2 Fpgr#Daster Solaris SPA/C (! )W *#3 A;AP Installation .5port 1I2
)W *#3 A;AP Installation .5port 2I2
1!-&!*1
2%#0-#2012
.7. &10!32%!61 /A/ &10!32%!62 .7. &10!32%!6% /A/ &10!32%!6/A/ &10!32%!610 /A/ &10!32%!611 /A/ &10!32%!612 /A/ &10!32%!613
)W *#3 >ava 1I( )W *#3 >ava 2I( )W *#3 >ava 3I( )W *#3 >ava !I( )W *#3 >ava &I( )W *#3 >ava (I(
Table : S!P" Package ,o0nloa" the ne0 sap&nst tool SWPD available at the SAP Service Dar1et Place from
Soft0are ,o0nloa"s SAP Soft0are ,o0nloa" Center Installations an" Fpgra"es A4$ In"e5 ) SAP
14
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
).'W.AC./ SAP ).'W.AC./ *#3 SO8'WA/. P/OCISIO)I)E DE/ 1#0 Solaris on SPA/C (! bit
8or SAP pro" ct base" on )W*#152 )W *#35 an" )W*#!2 choose SWPDJ9 SWPM !SP!2" #2!!!$%!2&SAR So't(a)e P)ov*s*o+*+, Ma+a,e) &! SP 2 'o) -W .*,.e) t.a+ %&!/ 8or SAP pro" ct base" on )W*#052 choose *0SWPDJ9 %!SWPM !SP!2" #2!!!$%!2&sa) So't(a)e P)ov*s*o+*+, Ma+a,e) &! SP !2 'o) -W %&!/
Choose the follo0ing pac1age for Solaris SPA/C on Solaris 119 0 !102 $"2 %2!"E34 5C 6e)+el 'o) SWPM # Sola)*s o+ SPARC 71b*t
8or more information abo t EWJM2 see the SAP note 1(%00!&9 /elease )ote for Soft0are Provisioning Danager 1#0# 'he SAP note is available at the SAP Service Dar1etplace http*//serv&#e.sap.#,-/n,tes# 2# <Optional= If yo are installing an A;AP System an" yo have not "o0nloa"e" the latest SWPD pac1age2 yo can install SAP 0ith the original Installation Daster an" SAP 1ernel ,C, of the pro" ct 0ith 0or1aro n"s# If yo see an error in connecting to the "atabase " ring the installation2 then npac1 =B.:OOLE pac1age liste" in 'able (# Fnpac1 the =B.:OOLE pac1age to the e5ec table fol"er# After the installation2 s0itch the SAP Hernel to at least *206.7' patch level 300 or *216.7' patch level 130# 3# <Optional= If yo are installing a >ava or A;APA>ava system an" yo have not "o0nloa"e" the latest SWPD pac1age then2 before the installation2 "o0nloa" the SAP 1ernel 0ith the correspon"ing IES2 IES helper2 SAP>CD2 an" the ,;A'OO+S pac1ages# , ring the installation2 provi"e the location of the "o0nloa"e" pac1age 0hen prompte" by the sap&nst tility# After the installation2 change the 1ernel version to at least *206.7' patch level 300# 8or releases originally shippe" 0ith *20 or *206.7' 1ernel2 "o0nloa" the latest *206.7' patch level# 8or more information see SAP note 1((-(%! an" SAP note 1(!3*--# 8or e5ample2 for installing SAP )etWeaver *#32 "o0nloa" the pac1ages given in the follo0ing table# 'hese pac1age are available at SAP Service Dar1et Place2
http*//serv&#e.sap.#,-/sw/#.
1$
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
SAP IES *#206.7' Solaris on SPA/C (!bit Installation for SAP IES integrate" in SAP Hernel SAP IES 8onts an" 'e5t res & Info 3-2&( 0(#02#13
SAP IES *#20 Solaris on SPA/C (!bit SA/ igshelper6341000*-!*#sar 3 Info (1!%& 2!#10#11 S pport Pac1ages an" Patches 4 A4$ In"e5 : ) SAP ).'W.AC./ SAP ).'W.AC./ *#3 .ntry by Component Application Server >ava SAP >CD (#1 Solaris on SPA/C (!bit SA/ SAP>CD(6&041000(--0#SA/ SAP >CD (#1 &0 Info 12&3(( 10#0
Fse the original E.J=A.@NOE:ACE.E.R " ring the installation# Other0ise2 yo might see an iss e 0hen npac1ing the pac1age# !# Go can e5tract the "o0nloa"e" files sing %nrar2 %nz&p2 an" E.JC.R# Create ne0 s b fol"ers to place the pac1ages an" npac1 them from the s b fol"ers# After yo nBip the installation master pac1age2 yo may fin" the E.JC.R e5ec table in the fol"er#
r,,t3vzstar1a*/sap&nsta$$/NW7"B' /%sr/b&n/%nrar + Opa#(a)ena-eDpart1.e+e6 r,,t3vzstar1a*/sap&nsta$$/NW7"B' %nz&p Opa#(a)ena-e.z&p6 r,,t3vzstar1a*/sap&nsta$$/NW7"B/EWJM' /sap&nsta$$/NW7"B/AM/E.JC.R -+v2 EWJM1BEJB1D6.E.R E.JC.R* pr,#ess&n) ar#h&ve EWJM1BEJB1D6.E.R 0vers&,n 2.B11 E.JC.R* 11B 2&$e0s1 e+tra#te/ r,,t3vzstar1a*/sap&nsta$$/NW7"B/EWJM' $s BE2BB8 COMMON NW7"B res,%r#ep,,$.+-$ BE2B1B L.BPL..EC NW7"1 res,%r#es./t/ BE2B11 -essa)es./t/ pr,/%#t.#ata$,) sap&nst #ata$,)./t/ -essa)es.+-$ JQAN= sap&nst)%& r,,t3vzstar1a*/sap&nsta$$/NW7"B/EWJM'
&# <Optional# If yo have not "o0nloa"e" the latest EWJM pac1age or2 the EWJM "oes not s pport the SAP version yo 0ant2 then yo may a"@ st the installation master ,C,#= 8or Oracle Client 11#2#0#32 "o0nloa" a/apt=Q=.z&p from SAP note 1(!20&%# FnBip the file an" e5ec te the a/ap=Q=.sh file from the local installation master ,C, fol"er#
r,,t3vzstar1a*/sap&nsta$$/NW7"B' %nz&p a/apt=v/.z&p r,,t3vzstar1a*/sap&nsta$$/NW7"B' #/ 51B!2"12 r,,t3vzstar1a*/sap&nsta$$/NW7"B/51B!2"12' #p ../a/apt=v/.sh . r,,t3vzstar1a*/sap&nsta$$/NW7"B/51B!2"12' #h-,/ R+ a/apt=v/.sh
1%
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
r,,t3vzstar1a*/sap&nsta$$/NW7"B/51B!2"12' $s -a$ t,ta$ "18 /rw+r-+r-+ ! r,,t r,,t 2B Ma5 1! B"*56 . /rw+r-+r-+ 6 r,,t r,,t 27 Ma5 1! B"*55 .. -rw+r-+r-+ 1 r,,t r,,t 61 San 1" 1"*"! C=L.BPL..EC -rw+r-+r-+ 1 r,,t r,,t 61 San 1" 1"*!1 C=L.BPL.PBC -rw+r-+r-+ 1 r,,t r,,t "722" =e# 21 16*25 COJ?D:M.I:M -rw+r-+r-+ 1 r,,t r,,t 715" =e# 21 16*25 COJ?D:M.:T: /rw+r-+r-+ ! r,,t r,,t 5B San ! 16*B1 =.:.D<NA:E -rw+r-+r-+ 1 r,,t r,,t 2B San 1" 1"*"! L.BPL..EC -rw+r-+r-+ 1 r,,t r,,t 2B San 1" 1"*!1 L.BPL.PBC -rw+r-+r-+ 1 r,,t r,,t 12 .%) 8 2B11 L.BPLA=T..EC -rw+r-+r-+ 1 r,,t r,,t 5" 5 San 1" 1"*!1 M=5;ALP.=.: -rw+r-+r-+ 1 r,,t r,,t 1!5511 San ! 16*B1 MA=.TML /rw+r-+r-+ 16 r,,t r,,t 16 S%$ 2B1B MA=BOO: -rw+r-+r-+ 1 r,,t r,,t 66 Eep 1! 2B1B JRO=L.BPL -rw+r-+r-+ 1 r,,t r,,t 72 "" San 1" 1"*!2 EI.;ALP.=.: -rw+r-+r-+ 1 r,,t r,,t 5"8" San 22 2BB E:.R:<J -rw+r-+r-+ 1 r,,t r,,t !21 Ma5 7 2BB E:.R:<J.B.: -rw+r-+r-+ 1 r,,t r,,t 68 San 1" 1"*"! QPREAON..EC -rw+r-+r-+ 1 r,,t r,,t 68 San 1" 1"*!1 QPREAON.PBC -rw+r-+r-+ 1 r,,t r,,t 728 Ma5 1! B"*56 a/apt=v/.sh r,,t3vzstar1a*/sap&nsta$$/NW7"B/51B!2"12' sh a/apt=v/.sh .
)ote 4 'he perio" at the en" means the c rrent fol"er# (# ;efore installing the Oracle "atabase2 create the necessary sers2 gro ps an" pro@ects for the SAP system# Go m st be the r,,t ser or the e5ec tive root ser for installing a SAP system# 8or e5ample2 follo0ing are the entries present in the /et#/passw/H /et#/)r,%pH /et#/pr,Ce#t2 an" /et#/%serDattr files for the BMW system# In this proce" re2 the e5ec tive root ser e-r,,t is se" for the installation# Go may also se the r,,t ser# 8or more information2 see the SAP note *2!*13
r,,t3vzstar1a*/et#' -,re /et#/)r,%p r,,t**B* U U sap&nst**1BB*r,,tHsapa/-Hb-wa/-H,rab-wH/aaa/saps5s**1B1* /ba**1B2*b-wa/-H,ra#$e ,per**1B"*b-wa/-H,rab-w ,&nsta$$**1B!* r,,t3vzstar1a*/et#' -,re /et#/passw/ r,,t*+*B*B*E%per-<ser*/r,,t*/%sr/b&n/bash U U e-r,,t*+*B*1*e+e#%t&ve r,,t 2,r E.J &nsta$$at&,n*/*/b&n/t#sh b-wa/-*+*6BBB!*1B1*E.J E5ste- ./-&n&strat,r*/e+p,rt/h,-e/b-wa/-*/b&n/t#sh sapa/-*+*6BBB5*1B1*E.J E5ste- ./-&n&strat,r*/e+p,rt/h,-e/sapa/-*/b&n/t#sh ,rab-w*+*6BBB6*1B2*E.J =atabase ./-&n&strat,r*/,ra#$e/BMW*/b&n/t#sh ,ra#$e*+*6BBB7*1B!*Ora#$e Ansta$$at&,n <ser*/e+p,rt/h,-e/,ra#$e*/%sr/b&n/bash r,,t3vzstar1a*/et#' -,re /et#/pr,Ce#t s5ste-*B**** %ser.r,,t*1****
1&
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
n,pr,Ce#t*2**** /e2a%$t*"**** )r,%p.sta22*1B**** BMW*222*E.J E5ste- BMW*e-r,,tH/aaa/-H,ra#$eH,rab-wHb-wa/-Hsapa/-**pr,#ess.-a+2&$e-/es#r&pt,r70bas&#H655"6H/en51Vpr,#ess.-a+-se-nse-s70pr&vH2B!8H/en51Vpr,Ce#t.-a+-se--&/s70pr&vH1B2!H/en51Vpr,Ce#t.-a+-sh-&/s70pr&vH256H/en51Vpr,Ce#t.-a+-sh---e-,r570pr&vH18!!67!!B7"7B 551615H/en51 r,,t3vzstar1a*/et#' -,re /et#/%serDattr ' ' :he s5ste- pr,v&/e/ entr&es are st,re/ &n /&22erent 2&$es ' %n/er 8/et#/%serDattr./8. :he5 sh,%$/ n,t be #,p&e/ t, th&s 2&$e. ' ' On$5 $,#a$ #han)es sh,%$/ be st,re/ &n th&s 2&$e. ' :h&s $&ne sh,%$/ be (ept &n th&s 2&$e ,r &t w&$$ be ,verwr&tten. ' a/-****pr,2&$es7L,) Mana)e-ent $p****pr,2&$es7Jr&nter Mana)e-ent p,st)res****t5pe7r,$eVpr,2&$es7J,st)res ./-&n&strat&,nH.$$ r,,t****a%ths7s,$ar&s.KHs,$ar&s.)rantVpr,2&$es7Web C,ns,$e Mana)e-entH.$$V$,#(Da2terDretr&es7n,V-&nD$abe$7a/-&nD$,wV#$earan#e7a/-&nDh&)h e-r,,t****pr,Ce#t7BMW b-wa/-****t5pe7n,r-a$Va%ths7s,$ar&s.#$%ster.a/-&nVpr,Ce#t7BMW ,rab-w****pr,Ce#t7BMW sapa/-****pr,Ce#t7BMW /aaa/-****pr,Ce#t7BMW ,ra#$e****pr,Ce#t7BMW
*# Create the file systems# Chec1 if yo are hit by the #p -p b g# 'ype the follo0ing comman" on the Elobal 8ile System9
r,,t3vzstar1a*/sapDabap' t,%#h test r,,t3vzstar1a*/sapDabap' #p -p test test1 V e#h, WG 2
If the files are s ccessf lly copie" b t the ret rn co"e is not 02 then yo are hit by the #p -p b g of global file system 0ith Oracle Solaris 11# 'o 0or1aro n" this2 either install Oracle "atabase "irectly on ASDI/AC or create /,ra#$e temporarily on local file system for installation# After installation2 yo may move the /,ra#$e "irectory to the global file system or migrate to ASDI/AC#
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
r,,t3vzstar1a*/' %$&-&t -a #,re 2&$e s&ze 0b$,#(sH -#1 %n$&-&te/ /ata se) s&ze 0(b5tesH -/1 %n$&-&te/ 2&$e s&ze 0b$,#(sH -21 %n$&-&te/ ,pen 2&$es 0-n1 81 2 p&pe s&ze 0512 b5tesH -p1 1B sta#( s&ze 0(b5tesH -s1 81 2 #p% t&-e 0se#,n/sH -t1 %n$&-&te/ -a+ %ser pr,#esses 0-%1 2 5 v&rt%a$ -e-,r5 0(b5tesH -v1 %n$&-&te/ r,,t3vzstar1a*/'
3# Create reso rce gro ps an" logical host reso rces# .ns re that the logical hosts are r nning on the installation Bone an" are not sho0n in the /epre#ate/ state# 'he logical host star-5 is se" for SCS instance# Create the reso rce gro p s#s-r) in the local Bone cl ster2 0hich incl "es the logical host star-5# Create the reso rce gro p ers-r) sing the logical host star-6# Create the reso rce gro p pas-r) sing the logical host star-7# Create the reso rce gro p ,ra#$e-r) sing logical host star-8# Create the reso rce gro p aas-r) sing the logical host star- #
r,,t3vzstar1a*/' hasp!sapabap-r) r,,t3vzstar1a*/' r,,t3vzstar1a*/' r,,t3vzstar1a*/' r,,t3vzstar1a*/' r,,t3vzstar1a*/' r,,t3vzstar1a*/' r,,t3vzstar1a*/' r,,t3vzstar1a*/' r,,t3vzstar1a*/' r,,t3vzstar1a*/' #$r) $&st #$r) #reate s#s-r) #$rs$h #reate -) s#s-r) star-5 #$r) #reate ers-r) #$rs$h #reate -) ers-r) star-6 #$r) #reate pas-r) #$rs$h #reate -) pas-r) star-7 #$r) #reate ,ra#$e-r) #$rs$h #reate -) ,ra#$e-r) star-8 #$r) #reate aas-r) #$rs$h #reate -) aas-r) star-
r,,t3vzstar1a*/' #$r) ,n$&ne -eM R r,,t3vzstar1a*/' #$rs stat%s 777 C$%ster Res,%r#es 777 Res,%r#e Na-e N,/e Na-e Etate Etat%s Messa)e ------------- --------- ----- -------------hasp!sapabap vzstar1a On$&ne On$&ne vzstar2a On$&ne On$&ne star-5 vzstar1a On$&ne On$&ne - L,)&#a$I,stna-e ,n$&ne. vzstar2a O22$&ne O22$&ne L,)&#a$I,stna-e ,22$&ne. star-6 vzstar1a On$&ne On$&ne - L,)&#a$I,stna-e ,n$&ne. vzstar2a O22$&ne O22$&ne L,)&#a$I,stna-e ,22$&ne. star-7 vzstar1a On$&ne On$&ne - L,)&#a$I,stna-e ,n$&ne. vzstar2a O22$&ne O22$&ne L,)&#a$I,stna-e ,22$&ne. star-8 vzstar1a On$&ne On$&ne - L,)&#a$I,stna-e ,n$&ne. vzstar2a O22$&ne O22$&ne L,)&#a$I,stna-e ,22$&ne. starvzstar1a On$&ne On$&ne - L,)&#a$I,stna-e ,n$&ne. vzstar2a O22$&ne O22$&ne -
1(
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
!# .ns re that all the logical hosts are online on the installation no"e# Chec1 the stat s of the logical hosts by typing the &2#,n2&) -a comman"# Go might see that the logical hosts are sho0n as online in /epre#ate/ state# 'a1e the logical host as not "eprecate" from the global Bone# Da1e s re the logical hosts are not in /epre#ate/ stat s " ring the SAP installation sing sap&nst tility# After the installation2 this is not re3 ire" any more#
r,,t3pstar1*/' r,,t3pstar1*/' r,,t3pstar1*/' r,,t3pstar1*/' r,,t3pstar1*/' &2#,n2&) &2#,n2&) &2#,n2&) &2#,n2&) &2#,n2&) s#D&p-pB*" s#D&p-pB*! s#D&p-pB*5 s#D&p-pB*6 s#D&p-pB*7 -/epre#ate/ -/epre#ate/ -/epre#ate/ -/epre#ate/ -/epre#ate/ %p %p %p %p %p
r,,t3vzstar1a*/' &2#,n2&) -a $,B*1* 2$a)s72BB1BBB8! O<JHLOOJB.CXHR<NNAN@HM<L:AC.E:HAJv!HQAR:<.L6 -t% 82"2 &n/e+ 1 z,ne z#DsapDabap &net 127.B.B.1 net-as( 22BBBBBB s#D&p-pB* 2$a)s78BB1BBB8!"O<JHBRO.=C.E:HR<NNAN@HM<L:AC.E:HAJv!HAJMJ6 -t% 15BB &n/e+ 2 &net 1B.1"!.1B8.5B net-as( 222222BB br,a/#ast 1B.1"!.1B8.255 )r,%pna-e s#D&p-pB s#D&p-pB*1* 2$a)s78BB1BBB8!"O<JHBRO.=C.E:HR<NNAN@HM<L:AC.E:HAJv!HAJMJ6 -t% 15BB &n/e+ 2 z,ne z#DsapDabap &net 1B.1"!.1B8.186 net-as( 222222BB br,a/#ast 1B.1"!.1B8.255 s#D&p-pB*"* 2$a)s78BB1BBB8!"O<JHBRO.=C.E:HR<NNAN@HM<L:AC.E:HAJv!HAJMJ6 -t% 15BB &n/e+ 2 z,ne z#DsapDabap &net 1B.1"!.1B8.8 net-as( 222222BB br,a/#ast 1B.1"!.1B8.255 s#D&p-pB*!* 2$a)s78BB1BBB8!"O<JHBRO.=C.E:HR<NNAN@HM<L:AC.E:HAJv!HAJMJ6 -t% 15BB &n/e+ 2 z,ne z#DsapDabap &net 1B.1"!.1B8. B net-as( 222222BB br,a/#ast 1B.1"!.1B8.255 s#D&p-pB*5* 2$a)s78BB1BBB8!"O<JHBRO.=C.E:HR<NNAN@HM<L:AC.E:HAJv!HAJMJ6 -t% 15BB &n/e+ 2 z,ne z#DsapDabap &net 1B.1"!.1B8.128 net-as( 222222BB br,a/#ast 1B.1"!.1B8.255 s#D&p-pB*6* 2$a)s78BB1BBB8!"O<JHBRO.=C.E:HR<NNAN@HM<L:AC.E:HAJv!HAJMJ6 -t% 15BB &n/e+ 2 z,ne z#DsapDabap &net 1B.1"!.1B8. 1 net-as( 222222BB br,a/#ast 1B.1"!.1B8.255 s#D&p-pB*7* 2$a)s78BB1BBB8!"O<JHBRO.=C.E:HR<NNAN@HM<L:AC.E:HAJv!HAJMJ6 -t% 15BB &n/e+ 2 z,ne z#DsapDabap &net 1B.1"!.1B8.12 net-as( 222222BB br,a/#ast 1B.1"!.1B8.255 #$pr&vnetB* 2$a)s71BB88!"O<JHBRO.=C.E:HR<NNAN@HM<L:AC.E:HJRAQ.:PHAJv!6 -t% 15BB &n/e+ 6 &net 172.16.!.1 net-as( 22222eBB br,a/#ast 172.16.5.255 #$pr&vnetB*"* 2$a)s71BB88!"O<JHBRO.=C.E:HR<NNAN@HM<L:AC.E:HJRAQ.:PHAJv!6 -t% 15BB &n/e+ 6 z,ne z#DsapDabap
)
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
&net 172.16.6.12 net-as( 2222228B br,a/#ast 172.16.6.255 $,B*1* 2$a)s72BB2BBB8! O<JHLOOJB.CXHR<NNAN@HM<L:AC.E:HAJv6HQAR:<.L6 -t% 8252 &n/e+ 1 z,ne z#DsapDabap &net6 **1/128 s#D&p-pB* 2$a)s728BB2BBB8!BOR<NNAN@HM<L:AC.E:HAJv6HAJMJ6 -t% 15BB &n/e+ 2 &net6 **/B )r,%pna-e s#D&p-pB r,,t3vzstar1a*/'
&# .ns re that the installation Bone is the primary no"e for storage# If not2 s0itch the "evice gro p primary no"e to the installation Bone#
r,,t3pstar1*4' #$/) stat%s 777 C$%ster =ev&#e @r,%ps 777 --- =ev&#e @r,%p Etat%s --=ev&#e @r,%p Na-e Jr&-ar5 Ee#,n/ar5 Etat%s ----------------- ------- --------- -----sapDabap pstar2 pstar1 On$&ne sapDCava pstar2 pstar1 On$&ne r,,t3pstar1*4' #$/) sw&t#h -n pstar1 sapDabap r,,t3pstar1*4' #$/) stat%s 777 C$%ster =ev&#e @r,%ps 777 --- =ev&#e @r,%p Etat%s --=ev&#e @r,%p Na-e Jr&-ar5 Ee#,n/ar5 Etat%s ----------------- ------- --------- -----sapDabap pstar1 pstar2 On$&ne sapDCava pstar2 pstar1 On$&ne r,,t3pstar1*4'
(# 'o install the ASCS instance2 in the installation Bone create a temporary installation fol"er on local file system# Set the environment variable for =AEJL.?# Change to the temporary installation fol"er an" start sap&nst tility 0ith E.JANE:D<EPDIOE:N.MP# 'he log files 0ill be 1ept both in the installation fol"er an" in the /t-p "irectory# Go may "elete the log files after the SAP installation#
r,,t3vzstar1a*/' -(/&r -p /sap&nsta$$/$,)/.ECE r,,t3vzstar1a*/' #/ /sap&nsta$$/$,)/.ECE r,,t3vzstar1a*/sap&nsta$$/$,)/.ECE' /sap&nsta$$/NW7"B/EWJM/sap&nst E.JANE:D<EPDIOE:N.MP7star-5
*# In the sapinst EFI2 choose the option SAP )etWeaver *#3 L Oracle L SAP Systems L Application Server A;AP L High4Availability System L ASCS Instance as sho0n in the ill stration 2# Clic1 )e5t an" follo0 the information in the sapinst EFI#
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
Illustration 2: Screens&ot of t&e sa'inst ()I %# <Optional# /e3 ire" only if yo have not "o0nloa"e" the 1ernel ,C, for SWPD#= When the SAP System Archives "ialog bo5 appears2 type the location of the "o0nloa"e" SAP 1ernel archives9 E.JPTP.E.R E.JPTP=B.E.R A@EPTP.E.R A@EIPLJPR.E.R E.JSQM.E.R =B.:L.E.R# ,o not se "o0nloa"e" E.J=A.@NOE:ACE.E.R pac1age# 8or an A;AP system2 yo may s1ip this step an" p"ate to 1ernel *206.7' after the installation# -# After the installation is complete"2 close the sapinst EFI# 10# /epeat steps ( thro gh - to install the en3 e e replication server instance on logical host star-6#
r,,t3vzstar1a*/' -(/&r -p /sap&nsta$$/$,)/PRE r,,t3vzstar1a*/' #/ /sap&nsta$$/$,)/PRE r,,t3vzstar1a*/sap&nsta$$/$,)/PRE' /sap&nsta$$/NW7"B/EWJM/sap&nst E.JANE:D<EPDIOE:N.MP7star-6
11# /epeat steps ( thro gh - to install the "atabase instance on logical host star-8.
r,,t3vzstar1a*/' -(/&r -p /sap&nsta$$/$,)/Ora#$e r,,t3vzstar1a*/' #/ /sap&nsta$$/$,)/Ora#$e r,,t3vzstar1a*/sap&nsta$$/$,)/Ora#$e' /sap&nsta$$/NW7"B/EWJM/sap&nst E.JANE:D<EPDIOE:N.MP7star-8
, ring the installation2 a pop p 0in"o0 0ill appear prompting yo to install the Oracle ,atabase soft0are# 8ollo0 the instr ctions "escribe" in the pop p 0in"o0 to install the Oracle "atabase soft0are#
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
bash-".BBW ssh -T ,raL,13vzstar1a Jassw,r/* Ora#$e C,rp,rat&,n E%nOE 5.11 11.1 =e#e-ber 2B12 vzstar1a*,raL,1 1Y #/ /,ra#$e/sta)e/112D6!//atabase/E.J/ vzstar1a*,raL,1 2Y ./R<NANE:.LLPR
When the pop p 0in"o0 prompts to e5ec te t0o scripts2 log in as s per ser r,,t or e-r,,t. .5ec te the follo0ing comman"s an" contin e the "atabase instance installation#
r,,t3vzstar1a*/' /,raAnventar5/,ra&nstR,,t.sh r,,t3vzstar1a*/' /,ra#$e/BMW/112D6!/r,,t.sh
12# /epeat steps ( thro gh - to install the primary application server instance on the star-7 logical host#
r,,t3vzstar1a*/' -(/&r -p /sap&nsta$$/$,)/J.E r,,t3vzstar1a*/' #/ /sap&nsta$$/$,)/J.E r,,t3vzstar1a*/sap&nsta$$/$,)/J.E' /sap&nsta$$/NW7"B/EWJM/sap&nst E.JANE:D<EPDIOE:N.MP7star-7
13# <Optional= /epeat steps ( thro gh - to install the a""itional application server on the starlogical host.
r,,t3vzstar1a*/' -(/&r -p /sap&nsta$$/$,)/..E r,,t3vzstar1a*/' #/ /sap&nsta$$/$,)/..E r,,t3vzstar1a*/sap&nsta$$/$,)/..E' /sap&nsta$$/NW7"B/EWJM/sap&nst E.JANE:D<EPDIOE:N.MP7star-
,elete all the ol" files in the temporary installation "irectory or create a ne0 temporary installation fol"er# /estart installation of the "atabase instance# 8or more information2 see the SAP note 1(!20&%# 'he ne0 SWPD pac1age accepts Oracle ,atabase 11#2#0#3 for installing SAP on Oracle Solaris 11# 2# P)oblem9 Go might see a pop p error 0in"o0 in Install Instance ;asics of ASCS 0ith the error message2 Mco l" not stop the instance in N min tesO# Wo)ka)ou+d9 Chec1 the sap&nst.$,) log file in the installation fol"er# If yo fin" the 0arning9 &nsta$$sap&n&t.sh e+&t w&th stat%s 12 type the follo0ing comman"s9
#h,wn B*saps5s /et#/&n&t.//sap&n&t #h,wn 75B /et#/&n&t.//sap&n&t $n -s /et#/&n&t.//sap&n&t /et#/r#".//E Bsap&n&t
3# P)oblem9 If yo are sing the ol" sap&nst might see the follo0ing error messages9
"
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
.n %ne+pe#te/ err,r has been /ete#te/ b5 E.J Sava Q&rt%a$ Ma#h&ne* Anterna$ Prr,r 0&nterpreter.#pp*"581H p&/7656 H t&/72 Prr,r* )%arantee0#,/e$etDs&ze 6 B O06ZO16Z 0s&zeDt1#,/e$etDs&ze 6 KXH8n,t en,%)h spa#e 2,r &nterpreter )enerat&,n81
Wo)ka)ou+d9 Go can choose from one on the follo0ing sol tions to fi5 the error9 ,o0nloa" the latest EWJM pac1age an" se the sap&nst tility# /emove the temporary fol"ers or files in /t-p/sap&nstDe+e.K.,o not remove the /t-p/sap&nstD&nst/&r "irectory# /eboot the server# After the reboot2 s0itch the logical hosts to the installation server an" ma1e s re they are not in the /epre#ate/ state " ring the SAP installation# 'he /et#/nssw&t#h.#,n2 file is over0ritten 0ith every reboot# If yo mo"ifie" it before2 yo may mo"ify it again for the SAP installation# !# P)oblem9 If yo are not sing the latest Hernel ,C,s for SWPD2 " ring the installation of "iagnostic instance2 yo might see the follo0ing error messages9
P+e#%t&,n ,2 the #,--an/ 8/%sr/sap/=../E?E/e+e/%#/s%nD6!/sap#,ntr,$ -pr,t NADI::J -nr 7 -2%n#t&,n @etJr,#essL&st8 2&n&she/ w&th ret%rn #,/e 255. O%tp%t* C,%$/ n,t ,pen the AC< #,--,n $&brar5. :he 2,$$,w&n) 2&$es -%st be &n the path /es#r&be/ b5 the env&r,n-ent var&ab$e 8L=DLABR.R?DJ.:I8* $&b&#%%#.s,.!BH $&b&#%/ata.s,.!BH $&b&#%&18n.s,.!B 9n$s%&BD-t.# 15!!> p&/ 7 2"2 6 L=DLABR.R?DJ.:I &s #%rrent$5 set t, /%sr/sap/=../E?E/e+e/%#/s%nD6! 9n$s%&BD-t.# 15!7> p&/ 7 2"2 6 PRROR 2B11-11-2" 17*B *1!. 67 CSE-"BB87 Anstan#e =../EM=. 7 9J.R:A.L> /&/ n,t st,p a2ter 2*1B -&n%tes. @&v&n) %p.
Wo)ka)ou+d9 +og in as the /aa/- ser on the installation no"e# Go can perform one of the follo0ing steps to fi5 the error messages9 Copy the files9 $&b&#%%#.s,.!BH $&b&#%/ata.s,.!BH an" $&b&#%&18n.s,.!B from the /sap-nt/OEA=6/e+e/%#/s%nD6! fol"er to /%sr/sap/=../E?E/e+e/%#/s%nD6! 2,$/er# .5tract the library files from the "o0nloa"e" E.JPTP#E.R to /%sr/sap/=../E?E/e+e/%#/s%nD6!. &# P)oblem9 'he sap&nst tility may be b sy rea"ing an" 0riting the information re3 ire" for installation# Fse the follo0ing 0or1aro n" to to chec1 if the sap&nst tility is b sy rea"ing an" 0riting# Wo)ka)ou+d9 Chec1 the "evice gro p# Iss e the &,stat comman" from the host 0hich hol"s the primary "evice gro p#
r,,t3vzstar1a*/sapDabap' #$/) stat%s r,,t3vzstar1a*/sapDabap' &,stat -+n#z " """"
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
Wo)ka)ou+d9 S0itch the primary no"e for storage to the installation no"e# Clic1 Mtry againO# 'his error occ rs beca se SFI, bit can only be set for a file on the global file systems from the primary no"e#
r,,t3pstar1*4' #$/) stat%s 777 C$%ster =ev&#e @r,%ps 777 --- =ev&#e @r,%p Etat%s --=ev&#e @r,%p Na-e Jr&-ar5 Ee#,n/ar5 Etat%s ----------------- ------- --------- -----sapDabap pstar2 pstar1 On$&ne sapDCava pstar2 pstar1 On$&ne r,,t3pstar1*4' #$/) sw&t#h -n pstar1 sapDabap r,,t3pstar1*4' #$/) stat%s 777 C$%ster =ev&#e @r,%ps 777 --- =ev&#e @r,%p Etat%s --=ev&#e @r,%p Na-e Jr&-ar5 Ee#,n/ar5 Etat%s ----------------- ------- --------- -----sapDabap pstar1 pstar2 On$&ne sapDCava pstar2 pstar1 On$&ne r,,t3pstar1*4'
3# +og in as the ,rasid ser in the installation no"e an" stop the Oracle listener#
vzstar1a*,rab-w 1Y $snr#t$ st,p
!# +og in as the r,,t ser in the installation no"e an" stop the SAP host agent#
r,,t3vzstar1a*/' /%sr/sap/h,st#tr$/e+e/saph,ste+e# -st,p
&# .ns re that all the SAP system an" Oracle "atabase processes have been stoppe"#
r,,t3vzstar1a*/' ps -e2 M )rep -& r,,t 2 5"6 8587 B B1*26*!7 pts/1B r,,t3vzstar1a*/' ps -e2 M )rep -& r,,t 2 5"8 8587 B B1*26*52 pts/1B r,,t3vzstar1a*/' sap B*BB )rep -& sap ,ra B*BB )rep -& ,ra
(# If yo have installe" the Oracle "atabase in the /,ra#$e local file system2 yo may either migrate it to /ACIASD or move it from the local file system to the global file system# 'o move the oracle
$
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
*# Copy the follo0ing files an" fol"ers from the installation no"e to the other no"es# Assign the same o0nership an" permissions to the files an" fol"ers2 as in the installation no"e# Go can create the tar files in the installation no"e as the r,,t ser an" e5tract the tar files on the other no"es#
/K :he 2,$$,w&n) 2&$es sh,%$/ be -a/e &/ent&#a$ as ,n the &nsta$$at&,n n,/e K/ /et#/)r,%p /et#/passw/ /et#/pr,Ce#t /et#/%serDattr /et#/sha/,w /et#/serv&#es /e+p,rt/h,-e /%sr/$,#a$/b&n 02,r Ora#$e =atabase1 /var/,pt/,ra#$e 02,r Ora#$e =atabase1 W ssh -T -$ r,,t vzstar2a Jassw,r/* Last $,)&n* :%e Ma5 22 B1*B6*! 2B12 2r,- n1#65 Ora#$e C,rp,rat&,n E%nOE 5.11 11.B N,ve-ber 2B11 ?,% have new -a&$. r,,t3vzstar2a*4' #/ /et# r,,t3vzstar2a*/et#' #p )r,%p )r,%p.,$/ r,,t3vzstar2a*/et#' #p passw/ passw/.,$/ r,,t3vzstar2a*/et#' #p sha/,w sha/,w.,$/ r,,t3vzstar2a*/et#' #p pr,Ce#t pr,Ce#t.,$/ r,,t3vzstar2a*/et#' #p %serDattr %serDattr.,$/ r,,t3vzstar2a*/et#' #p serv&#es serv&#es.,$/ r,,t3vzstar2a*/et#' s#p r,,t3vzstar1a*/et#/)r,%p . Jassw,r/* )r,%p 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM 5B" BB*BB r,,t3vzstar2a*/et#' s#p r,,t3vzstar1a*/et#/passw/ . Jassw,r/* passw/ 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM 1!!! BB*BB r,,t3vzstar2a*/et#' s#p r,,t3vzstar1a*/et#/pr,Ce#t . Jassw,r/* pr,Ce#t 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM 6B2 BB*BB r,,t3vzstar2a*/et#' s#p r,,t3vzstar1a*/et#/%serDattr . Jassw,r/* %serDattr 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM 51! BB*BB
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
r,,t3vzstar2a*/et#' s#p r,,t3vzstar1a*/et#/sha/,w . Jassw,r/* sha/,w 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM 7 6 BB*BB r,,t3vzstar2a*/et#' s#p r,,t3vzstar1a*/et#/serv&#es . Jassw,r/* serv&#es 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM 2!55 BB*BB
%# On the installation server vzstar1a2 create a tar file that incl "es all the ser home "irectories# Copy the tar file to the no"e vzstar2a#
r,,t3vzstar1a*/' #/ /e+p,rt r,,t3vzstar1a*/e+p,rt' tar #2v h,-e.tar h,-e r,,t3vzstar2a*/et#' s#p r,,t3vzstar1a*/e+p,rt/h,-e.tar /e+p,rt Jassw,r/* h,-e.tar 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM "2! XB BB*BB r,,t3vzstar2a*/et#' #/ /e+p,rt r,,t3vzstar2a*/e+p,rt' $s h,-e h,-e.tar r,,t3vzstar2a*/e+p,rt' tar -+2v h,-e.tar
-# Create the /%sr/$,#a$/b&n an" the /var/,pt/,ra#$e fol"ers on the no"e vzstar2a.Copy the oracle files from the installation no"e to the no"e vzstar2a#
r,,t3vzstar2a*/et#' s#p -r -p r,,t3vzstar1a*/%sr/$,#a$ /%sr/$,#a$ Jassw,r/* #,raenv 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM 5778 BB*BB ,raenv 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM 618" BB*BB /bh,-e 1BBY MKKKKKKKKKKKKKKKKKKKKKKKKKKKKKM 2!26 BB*BB r,,t3vzstar2a*/et#' s#p -r -p r,,t3vzstar1a*/var/,pt/,ra#$e /var/,pt/,ra#$e
10# Chec1 all the fol"ers an" files to ens re that the files2 fol"ers2 o0nership2 an" permissions are i"entical to those on the installation no"e# 11# Set the symbolic lin1 on the no"e vzstar2a as on the installation no"e#
r,,t3vzstar2a*/' r,,t3vzstar2a*/' r,,t3vzstar2a*/' r,,t3vzstar2a*/' #/ $n $n $n / -s /sapDabap/,ra#$e ,ra#$e -s /sapDabap/sap-nt sap-nt -s /sapDabap/%srsap /%sr/sap
12# Dove the SAP host agent /%sr/sap/h,st#tr$ to the local file system on all the Bone cl ster no"es#
r,,t3vzstar1a*/' r,,t3vzstar1a*/' r,,t3vzstar2a*/' r,,t3vzstar2a*/' r,,t3vzstar1a*/' r,,t3vzstar1a*/' -(/&r /%sr/sapD$,#a$ #p -rp /%sr/sap/h,st#tr$ /%sr/sapD$,#a$/ -(/&r /%sr/sapD$,#a$ #p -rp /%sr/sap/h,st#tr$ /%sr/sapD$,#a$/ -v /%sr/sap/h,st#tr$ /%sr/sap/h,st#tr$.,r&) $n -s /%sr/sapD$,#a$/h,st#tr$ /%sr/sap/h,st#tr$
13# .ns re that all the SAP system an" Oracle "atabase processes have been stoppe" on the installation no"e#
r,,t3vzstar1a*' ps -e2 M )rep -& sap r,,t3vzstar1a*' ps -e2 M )rep -& ,ra
&
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
1!# I"entify the reso rce gro ps 0hich have the logical host?s reso rces# S0itch the reso rce gro ps to the no"e vzstar2a to start the SAP system#
r,,t3vzstar1a*/%sr/$,#a$/b&n' r,,t3vzstar1a*/%sr/$,#a$/b&n' r,,t3vzstar1a*/%sr/$,#a$/b&n' r,,t3vzstar1a*/%sr/$,#a$/b&n' r,,t3vzstar1a*/%sr/$,#a$/b&n' #$r) #$r) #$r) #$r) #$r) sw&t#h sw&t#h sw&t#h sw&t#h sw&t#h -n -n -n -n -n vzstar2a vzstar2a vzstar2a vzstar2a vzstar2a s#s-r) ers-r) pas-r) ,ra#$e-r) aas-r)
1&# +og in as the ,rasid ser on the no"e vzstar2a an" start the Oracle listener#
vzstar2a*,rab-w 1Y $snr#t$ start
1(# +og in as the sida/- ser on the no"e vzstar2a an" start the SAP system together 0ith Oracle "atabase#
vzstar2a*b-wa/- 2Y startsap
1*# +og in to the SAP system sing the SAP EFI or sing the internet e5plorer# Cerify that the SAP system is r nning# 1%# +og in as the sida/- ser on the no"e vzstar2a. Stop the SAP system2 Oracle ,atabase2 an" sapstarsrv processes#
vzstar2a*b-wa/- "Y st,psap vzstar2a*b-wa/- !Y sap#,ntr,$ [nr Onr6 -2%n#t&,n Et,pEerv&#es
1-# +og in as the ,rasid ser on the no"e vzstar2a an" stop the Oracle listener#
vzstar2a*,rab-w 1Y $snr#t$ st,p
2# Copy the re3 ire" SAP Soft0are ,C,s an" 1ernel patches to the local fol"er in the local no"e# ,o
'
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
not p t them on )8S file system# ,o not p t them on global file system#
r,,t3vzstar2b*/sap&nsta$$' s#p -rp r,,t3vzstar1b*/sap&nsta$$/NW7"B . r,,t3vzstar2b*/sap&nsta$$' s#p -rp r,,t3vzstar1b*/sap&nsta$$/(erne$pat#hes .
3# <Optional= ,isable name service client2 for e5ample )IS2 to avoi" long4time 5p#at by sap&nst tility#
r,,t3vzstar2b*/' sv#s -a M )rep n&s ,n$&ne Ma5D1B sv#*/netw,r(/n&s//,-a&n*/e2a%$t ,n$&ne Ma5D1B sv#*/netw,r(/n&s/#$&ent*/e2a%$t r,,t3vzstar2b*/' sv#a/- /&sab$e sv#*/netw,r(/n&s/#$&ent*/e2a%$t r,,t3vzstar2b*/' v& /et#/nssw&t#h.#,n2 ' #,--ent ,%t the ,$/ passw/ an/ )r,%p entr&esH a// new ,nes 'passw/* 2&$es 9NO:;O<N=7ret%rn> n&s 9:R?.@.AN7B> ')r,%p* 2&$es 9NO:;O<N=7ret%rn> n&s 9:R?.@.AN7B> passw/* 2&$es )r,%p* 2&$es r,,t3vzstar2b*/' 5p#at passw/ #anNt #,--%n&#ate w&th 5pb&n/ r,,t3vzstar2b*/'
!# Start the SAP system 0ith Oracle "atabase# &# Create a ne0 temporary installation fol"er to install an a""itional application server on the physical host# / n sap&nst tility 0itho t the E.JANE:D<EPDIOE:N.MP parameter from the installation fol"er# Choose the A""itional Application Server Instance as sho0n in ill stration 2#
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
2# Create the serIpass0or" to access the oracle "atabase# Go may se yo r o0n serIpass0or"#
r,,t3vzstar1b*4' s% - ,rabnz Ora#$e C,rp,rat&,n E%nOE 5.11 11.B vzstar1b*,rabnz 1Y sL$p$%s 8/as s5s/ba8 N,ve-ber 2B11
E]LKJ$%s* Re$ease 11.2.B.".B Jr,/%#t&,n ,n We/ Ma5 2" 1B*B6*55 2B12 C,p5r&)ht 0#1 1 82H 2B11H Ora#$e. .$$ r&)hts reserve/.
C,nne#te/ t,* Ora#$e =atabase 11) Pnterpr&se P/&t&,n Re$ease 11.2.B.".B - 6!b&t Jr,/%#t&,n W&th the Jart&t&,n&n)H OL.JH =ata M&n&n) an/ Rea$ .pp$&#at&,n :est&n) ,pt&,ns E]L6 )rant #,nne#tH res,%r#e t, -ar5 &/ent&2&e/ b5 -ar5V @rant s%##ee/e/. E]L6 a$ter %ser -ar5 /e2a%$t tab$espa#e s5ste- L%,ta 1- ,n s5ste-V <ser a$tere/. E]L6 )rant se$e#t ,n vDWs5sstat t, -ar5V @rant s%##ee/e/. E]L6 )rant #reate tab$e t, -ar5V @rant s%##ee/e/. E]L6 )rant #reate sess&,n t, -ar5V @rant s%##ee/e/.
")
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
E]L6 e+&t
3# Sh t "o0n the Oracle server an" listener# !# /egister the Oracle server reso rce type#
r,,t3vzstar1b*4' #$rt re)&ster E<NW.,ra#$eDserver
%# Set the Res,%r#eDpr,Ce#tDna-e parameter for the ,ra#$e-rs an" the $&stener-rs reso rce#
r,,t3vzstar1b*4' #$rs set -p Res,%r#eDpr,Ce#tDna-e7BNZ ,ra#$e-rs r,,t3vzstar1b*4' #$rs set -p Res,%r#eDpr,Ce#tDna-e7BNZ $&stener-rs
11# <Optional= /epeat steps 1410 if yo 0ant to config re another Oracle server an" listener#
"1
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
st,psap C2ee SB1 star-1" st,psap C2ee PRE1B star-12 st,psap C2ee ECEBB star-11
3# +og in as the r,,t ser an" stop the SAP host agent processes#
r,,t3vzstar1b*4' /%sr/sap/h,st#tr$/e+e/saph,ste+e# -st,p r,,t3vzstar2b*4' /%sr/sap/h,st#tr$/e+e/saph,ste+e# -st,p
!# /ename E Bsap&n&t to s Bsap&n&tH to avoi" the starting of sapstartsrv " ring server reboot#
r,,t3vzstar1b*4' #/ t, /et#/r#"./ r,,t3vzstar1b*4' -v E Bsap&n&t s Bsap&n&t
&# Do"ify the start profile or instance profiles2 to ens re that the message server is restarte" by sapstartsrv2 an" the en3 e e server is not restarte" by sapstartsrv.
' -------------------------------------------------------------------------------' Etart E.J -essa)e server ' -------------------------------------------------------------------------------DME 7 -s.sapW0E.JE?E:PMN.MP1DW0ANE:.NCPDN.MP1 P+e#%teDB1 7 $,#a$ r- -2 W0DME1 P+e#%teDB2 7 $,#a$ $n -s -2 W0=ARDPTPC<:.BLP1/-s)DserverW0;:DPTP1 W0DME1 RestartDJr,)ra-DBB 7 $,#a$ W0DME1 p27W0DJ;1 ' -------------------------------------------------------------------------------' Etart E.J enL%e%e server ' -------------------------------------------------------------------------------DPN 7 en.sapW0E.JE?E:PMN.MP1DW0ANE:.NCPDN.MP1 P+e#%teDB" 7 $,#a$ r- -2 W0DPN1 P+e#%teDB! 7 $,#a$ $n -s -2 W0=ARDPTPC<:.BLP1/enserverW0;:DPTP1 W0DPN1 ' -,/&2&e/ 2,r enL%e%e server 2a&$,ver 2r,- RestartDJr,)ra- ' t, EtartDJr,)ra- 2,r E,$ar&s C$%ster* ' RestartDJr,)ra-DB1 7 $,#a$ W0DPN1 p27W0DJ;1 EtartDJr,)ra-DB1 7 $,#a$ W0DPN1 p27W0DJ;1
"
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
(# If the p blic net0or1 fails for more than 30 min tes2 the en3 e e replication server might get "isconnecte" from the en3 e e server# .nable the SAP 1eep4alive mechanism in the replication server to allo0 a tomatic reconnection# 'o enable the SAP 1eep4alive mechanism2 set the enL%e/enrep/(eepa$&veD#,%nt to 1 on en3 e e server an" en3 e e replication server instance profile#
enL%e/enrep/(eepa$&veD#,%nt 7 1
*# 'ype ps -e2 M )rep -& sap comman" on all the no"es to ens re that the SAP process is not r nning# %# Set r)Da22&n&t&es property for the s#s-r) reso rce gro p# 'ype the follo0ing comman"s to "eclare 0ea1 positive affinity for the ers-r) reso rce gro p#
r,,t3vzstar1b*4' #$r) set -p r)Da22&n&t&es7Rers-r) s#s-r) r,,t3vzstar1b*4' #$r) sh,w -p R@Da22&n&t&es s#s-r)
13# /egister the /eplication en3 e e server pree-pter reso rce type#
' #$rt re)&ster ORCL.saprepenLDpree-pt
""
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
6 s#s-Cava-startsrv-rs
1&# Create the central services reso rce# If yo are sing scalable storage reso rces2 yo can set the res,%r#eD/epen/en#&esD,22$&neDrestart property on storage reso rces# If yo are sing the failover global file system2 set the res,%r#eD/epen/en#&es property instea" of the res,%r#eD/epen/en#&esD,22$&neDrestart property#
r,,t3vzstar1b*4' #$rs #reate -/ -) s#s-r) -t sap#entr F 6 -p s&/7BNZ F 6 -p sapD%ser7bnza/- F 6 -p &nstan#eDn%-ber7BB F 6 -p &nstan#eDna-e7ECEBB F 6 -p h,st7star-11 F 6 -p 5e$$,w72B F 6 -p /eb%)D$eve$7B F 6 -p Retr5D#,%nt7B F 6 -p res,%r#eD/epen/en#&es7hasp!sapCavaHs#s-Cava-startsrv-rs F 6 s#s-Cava-rs
1(# Create the sapstartsrv reso rce for replicate" en3 e e server#
r,,t3vzstar1b*4' #$rs #reate -/ -) ers-r) -t sapstartsrv F 6 -p s&/7BNZ F 6 -p sapD%ser7bnza/- F 6 -p &nstan#eDn%-ber71B F 6 -p &nstan#eDna-e7PRE1B F 6 -p h,st7star-12 F 6 -p t&-e,%tDret%rn72B F 6 -p /eb%)D$eve$7B F 6 -p Ch&$/D-,nD$eve$75 F 6 -p res,%r#eD/epen/en#&esD,22$&neDrestart 7hasp!sapCava F 6 ers-Cava-startsrv-rs
"4
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
1-# Create the sapstartsrv reso rce for the primary application instance#
r,,t3vzstar1b*4' #$rs #reate -/ -) pas-r) -t sapstartsrv F 6 -p s&/7BNZ F 6 -p sapD%ser7bnza/- F 6 -p &nstan#eDn%-ber7B1 F 6 -p &nstan#eDna-e7SB1 F 6 -p h,st7star-1" F 6 -p t&-e,%tDret%rn72B F 6 -p /eb%)D$eve$7B F 6 -p res,%r#eD/epen/en#&esD,22$&neDrestart7hasp!sapCava F 6 pas-Cava-startsrv-rs
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
21# <Optional= 'he a""itional "ialog instances SB2 an" SB" can be config re" in m lti4master config ration# Create the m lti4master reso rce gro p an" p t it in the -ana)e/ an" ,n$&ne state#
r,,t3vzstar1b*4' #$r) #reate -p -a+&-%-Dpr&-ar&es72 -p /es&re/Dpr&-ar&es72 aas-%$t&-r r,,t3vzstar1b*4' #$r) -ana)e/ aas--%$t&-r) r,,t3vzstar1b*4' #$r) ,n$&ne aas--%$t&-r)
Create the sapstartsrv reso rce for the a""itional "ialog instance r nning in m lti4master config ration#
r,,t3vzstar1b*4' #$rs #reate -/ -) aas--%$t&-r) -t sapstartsrv F 6 -p s&/7BNZ F 6 -p sapD%ser7bnza/- F 6 -p &nstan#eDn%-ber^vzstar1b_7B2 F 6 -p &nstan#eDn%-ber^vzstar2b_7B" F 6 -p &nstan#eDna-e^vzstar1b_7SB2 F 6 -p &nstan#eDna-e^vzstar2b_7SB" F 6 -p t&-e,%tDret%rn72B F 6 -p /eb%)D$eve$7B F 6 -p res,%r#eD/epen/en#&esD,22$&neDrestart7hasp!sapCava F 6 aas--%$t&-startsrv-rs
Create the a""itional "ialog instance reso rce r nning in m lti4master config ration#
r,,t3vzstar1b*4' #$rs #reate -/ -) aas--%$t&-r) -t sap/&a F 6 -p s&/7BNZ F 6 -p sapD%ser7bnza/- F 6 -p &nstan#eDn%-ber^vzstar1b_7B2 F 6 -p &nstan#eDn%-ber^vzstar2b_7B" F 6 -p &nstan#eDna-e^vzstar1b_7SB2 F 6 -p &nstan#eDna-e^vzstar2b_7SB" F 6 -p h,st^vzstar1b_7vzstar1b F 6 -p h,st^vzstar2b_7vzstar2b F 6 -p /eb%)D$eve$7B F 6 -p res,%r#eD/epen/en#&esD,22$&neDrestart7hasp!sapCava F 6 -p res,%r#eD/epen/en#&es7,ra#$e-rsH$&stener-rsHs#s-Cava-rsHaas--%$t&-startsrv-rs F 6 aas--%$t&-rs
22# ,epen"ing on the storage topology2 a"" the re3 ire" affinities an" "epen"encies to the reso rce gro ps2 to ens re that the reso rce gro p al0ays has access to the necessary file system#
"%
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
In the follo0ing e5ample reso rce gro ps "eclares strong positive affinity for the hasp reso rce gro p#
r,,t3vzstar1b*4' #$r) set -p R@Da22&n&t&es7RRhasp!sapCava-r) ers-r) r,,t3vzstar1b*4' #$r) set -p R@Da22&n&t&es7RRhasp!sapCava-r) s#s-r) r,,t3vzstar1b*4' #$r) set -p R@Da22&n&t&es7RRhasp!sapCava-r) pas-r)
2&# Chec1 the stat s of the reso rce gro ps an" reso rces#
r,,t3vzstar1b*4' #$r) stat%s 777 C$%ster Res,%r#e @r,%ps 777 @r,%p Na-e ---------hasp!sapCava-r) s#s-r) ers-r) pas-r) ,ra#$e-r) N,/e Na-e --------vzstar1b vzstar2b vzstar1b vzstar2b vzstar1b vzstar2b vzstar1b vzstar2b vzstar1b vzstar2b E%spen/e/ --------N, N, N, N, N, N, N, N, N, N, Etat%s -----On$&ne On$&ne On$&ne O22$&ne O22$&ne On$&ne O22$&ne On$&ne On$&ne O22$&ne
"&
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
aas--%$t&-r)
vzstar1b vzstar2b
N, N,
On$&ne On$&ne
r,,t3vzstar1b*4' #$rs stat%s 777 C$%ster Res,%r#es 777 Res,%r#e Na-e ------------hasp!sapCava pree-pter-rs s#s-Cava-rs N,/e Na-e --------vzstar1b vzstar2b vzstar1b vzstar2b vzstar1b vzstar2b Etate ----On$&ne On$&ne On$&ne O22$&ne On$&ne O22$&ne On$&ne O22$&ne On$&ne O22$&ne O22$&ne On$&ne O22$&ne On$&ne O22$&ne On$&ne O22$&ne On$&ne O22$&ne On$&ne O22$&ne On$&ne On$&ne O22$&ne On$&ne O22$&ne On$&ne O22$&ne On$&ne On$&ne Etat%s Messa)e -------------On$&ne On$&ne On$&ne - Eerv&#e &s ,n$&ne O22$&ne On$&ne - Eerv&#e &s ,n$&ne. O22$&ne On$&ne - Eerv&#e &s ,n$&ne. O22$&ne On$&ne - L,)&#a$I,stna-e ,n$&ne. O22$&ne O22$&ne On$&ne - Eerv&#e &s ,n$&ne. O22$&ne On$&ne - Eerv&#e &s ,n$&ne. O22$&ne - L,)&#a$I,stna-e ,22$&ne. On$&ne - L,)&#a$I,stna-e ,n$&ne. O22$&ne On$&ne - Eerv&#e &s ,n$&ne. O22$&ne On$&ne - Eerv&#e &s ,n$&ne. O22$&ne - L,)&#a$I,stna-e ,22$&ne. On$&ne - L,)&#a$I,stna-e ,n$&ne. On$&ne O22$&ne On$&ne O22$&ne On$&ne - L,)&#a$I,stna-e ,n$&ne. O22$&ne On$&ne - Eerv&#e &s ,n$&ne. On$&ne - Eerv&#e &s ,n$&ne.
pas-Cava-startsrv-rs vzstar1b vzstar2b star-1" $&stener-rs ,ra#$e-rs star-1! aas--%$t&-rs vzstar1b vzstar2b vzstar1b vzstar2b vzstar1b vzstar2b vzstar1b vzstar2b vzstar1b vzstar2b
"'
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
On$&ne On$&ne
2(# /epeat steps 1420 for the SAP A;AP system to config re reso rces for ASCS2 ,;2 an" PAS# /epeat steps 1- an" 20 for the AAS instance =B2 0hich is r nning on a logical host# /epeat steps 2242& for the A;AP system to ta1e the reso rces online#
8or Oracle Solaris on 5%(6(! an" version *202 se the follo0ing 9 SAP HOS' AE.)' *#20 Solaris on 5%(6(! (!bit
SA/ SAPHOS'AE.)'1!361!342000&*3(#SA/ SAP HOS' AE.)' *#20 SP1!3 1!3 Info 2%31% 10#0!#2013
2# 8ollo0 the instr ctions in the P,8 "oc ment attache" to the SAP note 10310-( available at the SAP Service Dar1etplace http*//serv&#e.sap.#,-/n,tes# 8ollo0ing are the instr ctions to pgra"e the SAP host agent9 .5tract the E.JIOE:.@PN:.E.R archive into a temporary "irectory# S0itch to the r,,t ser# Change to the temporary "irectory 0here the e+tra#te/ pac1age is store"# Perform the pgra"e by typing the comman" saph,ste+e# -%p)ra/e in the temporary "irectory# Fpgra"e the SAP host agent on all the no"es locally#
"(
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
3# Chec1 if the saphas#r&pt#,.s, file e5ists in the /%sr/sap/OEA=6/E?E/e+e/r%n fol"er# If not2 p"ate the SAP 1ernel to the latest patchlevel# !# Copy the follo0ing three parameters into the "efa lt profile /sap-nt/OEA=6/pr,2&$e/=P;.<L:.J;L of the SAP system or to the instance profile files of each instance# )ote 4 'he secon" parameter an" its val e sho l" be entere" in one line#
' ' E.J I. E#r&pt C,nne#t,r ' serv&#e/ha$&b 7 /%sr/sap/OEA=6/E?E/e+e/r%n/saphas#r&pt#,.s, serv&#e/ha$&bD#$%sterD#,nne#t,r 7 /,pt/ORCLs#sapnetw/sapha#-//b&n/sapD,r#$D#$%sterD#,nne#t,r serv&#e/ha$&bD/eb%)D$eve$ 7 1
&# <Optional= If the SAP 1ernel *206.7' is not at least at patch level 300 or E.JIOE:.@PN: is not at least at patch level 11(2 create the follo0ing symbolic lin1s n"er the/%sr/$,#a$/b&n "irectory on every no"e# )ote9 8or SAP 1ernel *206.7' 0ith at least patch level 300 an" E.JIOE:.@PN: pac1age 0ith at least patch level 11(2 yo nee" not perform this step#
' #/ /%sr/$,#a$/b&n ' $n -s /,pt/ORCLs#sapnetw/sapha#-//b&n/2%n#t&,nsDsapDha 2%n#t&,nDsapDha ' $n -s /,pt/ORCLs#sapnetw/sapha#-//b&n/sapD,r#$D#$%sterD#,nne#t,r sapD#$%sterD#,nne#t,r r,,t3vzstar1a*/' $s -$a /%sr/$,#a$/b&n t,ta$ 8 /rw+r-+r-+ 2 r,,t r,,t ! Ma5 2 B2*22 . /rw+r-+r-+ " r,,t r,,t " Ma5 2 B2*1" .. $rw+rw+rw+ 1 r,,t r,,t !8 Ma5 2 B2*22 2%n#t&,nsDsapDha -6 /,pt/ORCLs#sapnetw/sapha#-//b&n/2%n#t&,nsDsapDha $rw+rw+rw+ 1 r,,t r,,t 58 Ma5 2 B2*1! sapD#$%sterD#,nne#t,r -6 /,pt/ORCLs#sapnetw/sapha#-//b&n/sapD,r#$D#$%sterD#,nne#t,r
(# .ns re that the sida/- ser has the cl ster a"ministration privilege on all the no"es# If not2 grant the cl ster a"ministration privilege to the sida/- ser#
' %ser-,/ -. s,$ar&s.#$%ster.a/-&n Os&/6a/- /K Or a// an entr5 &n /et#/%srDattr ,n a$$ n,/es. ;,r e+a-p$e* K/ b-wa/-****t5pe7n,r-a$Va%ths7s,$ar&s.#$%ster.a/-&nVpr,Ce#t7BMW
*# /estart the cl ster reso rce gro ps for SAP instances to activate the changes# Go 0ill see E.JDI.DOX in the /%sr/sap/OEA=6/OAnstan#e6/w,r(/sapstartsrv.$,) log file#
' ' ' ' #$r) #$r) #$r) #$r) restart restart restart restart ers-r) s#s-r) pas-r) aas-r)
)ote9 'he reso rce gro p s#s-r) sho l" fail over to the no"e 0here ers-r) is r nning# %#Go might se the startsap or st,psap scripts2 or the sap#,ntr,$ comman"s to start or stop the
4)
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
SAP instances# Alternatively2 yo can go to http*//Oh,st6*5Onr61" an" start the management console# -# +og in as the sida/- ser to the SAP DDC# If the pass0or" "oes not 0or12 chec1 the SAP note -2*(3*# Go m st set the SFI, bit for the files#
/sap-nt/OEA=6/e+e/On6%#/Op$at2,r-6/sap%+%ser#h( an/ /%sr/sap/OEA=6/O&nstan#e6/e+e/sap%+%ser#h(
10# 'o set p the SFI, bit config ration2 log in as the r,,t ser# Change to the e5ec table "irectory that contains sap%+%ser#h( an" type the follo0ing comman"s9
' #h,wn r,,t*saps5s sap%+%ser#h( ' #h-,/ %RsH,-rw+ sap%+%ser#h(
Wo)ka)ou+d9 'his error occ rs beca se of the follo0ing section 0hich e5ists in the SAP instance profile /%sr/sap/OEA=6/E?E/pr,2&$e/OEA=6DOAnstan#e6DOh,stna-e6 or in the SAP start profile /%sr/sap/OEA=6/E?E/pr,2&$e/E:.R:DOAnstan#e6DOh,stna-e6#
'----------------------------------------------------------------------' Etart S2PP /atabase
41
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
'----------------------------------------------------------------------D=B 7 /b.sapW0E.JE?E:PMN.MP1DW0ANE:.NCPDN.MP1 P+e#%teDB5 7 &--e/&ate r- -2 W0D=B1 P+e#%teDB6 7 &--e/&ate $n -s -2 W0=ARDC:DR<N1/startC2ee/b W0D=B1 EtartDJr,)ra-DBB 7 &--e/&ate W0D=B1 e+e/sap,s#,$ 7 W0=ARDC:DR<N1/sap,s#,$
'his section means that the startC2ee/b script is al0ays e5ec te" to chec1 if the "atabase is r nning# Since the R"trans program "oes not 0or1 for a >ava system2 it only chec1s if the Oracle processes are r nning on the host# 'he startC2ee/b script cannot get the correct "atabase stat s 0hen the "atabase is r nning on another no"e# 'o solve this2 comment o t the line EtartDJr,)ra-D++ of the "atabase in the profile#
'----------------------------------------------------------------------' Etart S2PP /atabase '----------------------------------------------------------------------D=B 7 /b.sapW0E.JE?E:PMN.MP1DW0ANE:.NCPDN.MP1 P+e#%teDB5 7 &--e/&ate r- -2 W0D=B1 P+e#%teDB6 7 &--e/&ate $n -s -2 W0=ARDC:DR<N1/startC2ee/b W0D=B1 ' EtartDJr,)ra-DBB 7 &--e/&ate W0D=B1 e+e/sap,s#,$ 7 W0=ARDC:DR<N1/sap,s#,$
Conclusion
Oracle Solaris Cl ster provi"es high availability for SAP central services instance2 en3 e e replication server instance2 "atabase instance2 as 0ell as for primary application server <former central instance e5cept message server an" en3 e e server= an" a""itional application servers <former "ialog instances=# Go may install each SAP system on its o0n Oracle Solaris Bones to provi"e more isolation an" protection# 'o install highly available SAP on Oracle Solaris Cl ster2 yo m st have information abo t SAP pro" cts an" Oracle Solaris Cl ster#
/eferences
8or more information abo t SAP pro" cts an" Oracle Solaris Cl ster2see the follo0ing "oc ments9 1# 8or more information abo t Oracle Solaris Cl ster ! 2 see Oracle Solaris cl ster ! "oc mentation# 2# SAP Installation E i"es are available at2 SAP Service Dar1et Place http9IIservice#sap#comIinstg i"es
4
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
3# SAP Soft0are ,o0nloa" Center http9IIservice#sap#comIs0"c !# SAP note 1((-(%!9 SAP on Solaris 11 &# Oracle Solaris Cl ster !#5 /elease )otes (# SAP note 1*!0-&%9 Central )ote9 HA SAP on Solaris Cl ster !#0I!#1 *# 8or an overvie0 on Oracle Solaris Cl ster2 see Oracle Solaris Cl ster overvie0 %# 8or more information abo t SAP on Oracle2 see Oracle ,atabase an" I' Infrastr ct re for SAP# -# Oracle Solaris Cl ster ,ata Service for SAP )etWeaver E i"e
4"
Installing Highly Available SAP Systems on Oracle Solaris 11 for Oracle Solaris Cl ster !
Installing Highly Availabile SAP Applications on Oracle Solaris 11 for Oracle Solaris Cl ster !#0 > ly 2012 Oracle Corporation Worl" Hea"3 arters &00 Oracle Par10ay /e"0oo" Shores2 CA -!0(& F#S#A# Worl"0i"e In3 iries9 Phone9 A1#(&0#&0(#*000
8a59 A1#(&0#&0(#*200 oracle#com
Copyright S 20122 Oracle an"Ior its affiliates# All rights reserve"# 'his "oc ment is provi"e" for information p rposes only an" the contents hereof are s b@ect to change 0itho t notice# 'his "oc ment is not 0arrante" to be error4free2 nor s b@ect to any other 0arranties or con"itions2 0hether e5presse" orally or implie" in la02 incl "ing implie" 0arranties an" con"itions of merchantability or fitness for a partic lar p rpose# We specifically "isclaim any liability 0ith respect to this "oc ment an" no contract al obligations are forme" either "irectly or in"irectly by this "oc ment# 'his "oc ment may not be repro" ce" or transmitte" in any form or by any means2 electronic or mechanical2 for any p rpose2 0itho t o r prior 0ritten permission# Oracle an" >ava are registere" tra"emar1s of Oracle an"Ior its affiliates# Other names may be tra"emar1s of their respective o0ners# Intel an" Intel 7eon are tra"emar1s or registere" tra"emar1s of Intel Corporation# All SPA/C tra"emar1s are se" n"er license an" are tra"emar1s or registere" tra"emar1s of SPA/C International2 Inc# AD,2 Opteron2 the AD, logo2 an" the AD, Opteron logo are tra"emar1s or registere" tra"emar1s of A"vance" Dicro ,evices# F)I7 is a registere" tra"emar1 of 'he Open Ero p# 0(12
44