Você está na página 1de 7

HTTP://SYBASEBLOG.

COM

Upgrading ASE12.5 to 15.x


On Unix/Lin x P!at"or#
Team SybaseBlog.com 09/22/2010

Disclaimer:SybaseBlog.com is neither sponsored by nor in any way affiliated with Sybase,Inc/SAP AG. In any case, neither the a thors, nor Sybase Inc/SAP AG ass mes any responsibility for errors in the this doc ment, nor do they ha!e any liblilties for damages res lting from the se of this doc.If yo are sing any S pported " #ns pported commands/feat res listed in doc ments, this is completely on yo r$ ser% ris&, sybaseblog.com not ha!ing any libilitiy. Sybase is the trademar& of Sybase 'orp $ An SAP 'ompany%.

Please take the backup of tables, files, dirs before making any changes. Below steps can be changed for working environment/platform. Before doing on Prod, first proceed with DEV/ !" env.

ASE 15.x Intsallation : (. Please first read all the plateform re) irement, os patch le!el before AS*(+, installation. If any patch is recommended, please get it apply with #ni, team. -. Install Adapti!e Ser!er (+, into its installation directory other than AS* (-.+. .. r n ./set p to install AS*(+, / 0 st install Binary / do not create any Instance. r n ./set p /console in command mode, do not create any instance here. Pre !gra"e Tas#s: (. Please r n dbcc chec&db, dbcc chec&alloc and dbcc chec&catalog in single ser mode with fi, option, and ma&e s re that there is no *rrors from the chec&, if there is any *rror, Please 1i, the problem. It is critical for s ccessf l migration. -. Bac& p database and D mp 2ransaction 3ogs. .. bcp system tables o t syslogins, sysloginroles, sys sages, sysser!ers, sysdatabases, sysde!ices 4. *ns re that Instance has sybsystemdb if it does not e,ist, create it. +. Disable a diting sing 'ommand Sp5'onfig re 6a diting7, 8 9. Sa!e the c rrent a dit settings for the pre:(+.8.- Adapti!e Ser!er sing the command: sp5displaya dit ;. 2here are recommendation to set allow password downgrade7 to ( / in case we want to downgrade from (+.8.- to (-.+.4 again / b t not re) ired in my case. Beca se encryption algo is changed in AS* (+. <. *,tract databse de!ices and databases creation scripts sing ddlgen,Sybase 'entral.
#pgrading AS* (-.+ to (+., = http://sybaseblog.com

>. Sa!e sp5config re o tp t. (8.Sa!e data cache information. ((. ?a&e s re, AS* is config red with eno gh loc& str ct res for the pgrade process to complete s ccessf lly, it is strongly recommended that yo perform the following steps: a% In e!ery ser database, e,ec te the following ) ery: (@ select - A $co nt$A%% B (88 from systabstats -@ go b% Cecord the highest !al e ret rned c% If the !al e from Step - abo!e is less than the c rrent n mber of config red loc& str ct res, then increase the config red !al e to the !al e from Step -, as shown below: (@ sp5config re 6n mber of loc&sD, -@ go (-. 2a&e the bac& p of cronEobs and comment o t/s spend all the dba maint Eobs and application Eobs in cron/a tosys. (.. Please ma&e s re there is no ser acti!ity on the ser!er. (4. 3oc& all the #ser and Application ID, f nctinal ids, system ids: repser!er dbo. ? st ta&e the bcp o t of syslogins before changing it. #S* master go *F*' sp5config re 6allow pdates to system tables7,( go select 6 pdate syslogins set stat s G - where name G H6 B nameB7D6 from syslogins where name not in $Hha serD,DprobeD,Dprobe5sybaseD,DsaD% order by name go (+. Set p blac& o t/define green Ione to a!oid alerts. $optional%. (9. 'reate a new profile named as .profile5(+ in sybase home directory by copying AS* (+, SJBAS*.sh . Kerify that yo r SJBAS* en!ironment !ariable points to the location of the new Adapti!e Ser!er software files yo E st installed.
. #pgrading AS* (-.+ to (+., = http://sybaseblog.com

set the L3DSJBAS*, L3DSJBAS*5AS*, and L3DSJBAS*5L'S en!ironment !ariables to the location of the ser!er yo are pgrading,to a!oid any possibe error d ring s)l pgraderes. (;. ?a&e a bac& p of e,isting .profile and mo!e it with .profile5(-.+ (<. pre grade test : pre pgrade is need to r n for pgrade elibibilty test for fi,ing error/warning before act al pgradeM pre pgrade is e,e which is loacted nder /ase(+58/ pgrade/. i%If yo are in (-.+ en!iorment $ by e,ec ting .profile5(-.+%, go in the below mentioned dir and iss e the below command. /AS*:(+58/ pgrade@ pre pgrade :S :#sa ii% If yo are in (+, en!, $by e,ec ting .profile5(+%, please copy the interfaces filefrom (-.+ dir to (+, dir. 2hen r n the abo!e command. (>. C n Pre pgrde test: It may recommends lot of warning, errors for yo r databases and config params. Please fi, all these errors ntil all is not resol!ed and get it confirm with pre pgrade test. -8. 1i, all reported errors and repeat pre pgrade process ntil no error. And see the sentence as below. Pre pgrade of Adapti!e Ser!er to (+.8 is complete. #pgrade eligibility test s cceeded. !gra"e Ste!s: Before proceeding with any further steps , please make sure preupgrade step is clean and you have backup of all databases, tables etc. (. ?a&e s re yo are in ASe (+ en!iorment, $ by e,ec ting .profile5(+% -. cd to sample reso rce files directory. .. copy the s)l ser!er reso rce file with new name before modifying original file. 4. *dit the reso rce file for the old sybase home dir $AS* (-.+%,for reser!er word chec& yes and pdate the reso rce file as per yo r en!iorment. +. No need to sh tdown yo r AS* (-.+ ser!er, s)l pgradres will ta&e care all the things.
4 #pgrading AS* (-.+ to (+., = http://sybaseblog.com

9. Lnly e,ec te this command once yo ha!e done with all abo!e steps and yo ha!e ta&en all bac& p. $?LS2 I?PLC2AN2% s)l pgraderes again perform pre pgrade, before act al pgrade.$ yo can modify its beha!io r in reso rce file%. s)l pgraderes will copy a tomatically the interface file, cfg file , r n ser!er file in ase (+,. *,ec te the following command with reso rce file: s)l pgraderes :r Oreso rce5file5name@ 'opying interfaces file entry to new directoryP 2he interfaces file entry has been copied to the new directory. C nning pre pgrade programP 2he pre pgrade program has completed s ccessf lly. 'hec&ing reser!ed words in each databaseP No reser!ed word conflicts were fo nd. 'hec&pointing all databasesP All databases ha!e been chec&pointed. 'opying config ration file to new directoryP 2he config ration file has been copied to the new directory. #pdating C#N5S*CK*C fileP 2he C#N5S*CK*C file has been pdated. Doing pre: pgrade modificationsP Pre: pgrade modifications s cceeded. Cestarting Adapti!e Ser!erP. Adapti!e Ser!er has been restarted. C nning pgrade programP 2he pgrade program has completed s ccessf lly. Cestarting Adapti!e Ser!erP. Adapti!e Ser!er has been restarted. C nning installmaster scriptP installmaster: (8Q complete. installmaster: -8Q complete. installmaster: .8Q complete. installmaster: 48Q complete. installmaster: +8Q complete. installmaster: 98Q complete. installmaster: ;8Q complete. installmaster: <8Q complete. installmaster: >8Q complete. installmaster: (88Q complete. 2he installmaster script has been s ccessf lly installed. C nning installcommit scriptP 2he installcommit script has been s ccessf lly installed.
+ #pgrading AS* (-.+ to (+., = http://sybaseblog.com

Installing common character sets $'ode Page 4.;, 'ode Page <+8, ISL 3atin:(, ?acintosh and RP Coman:<%P 'haracter sets installed. Cestarting Adapti!e Ser!erP. Adapti!e Ser!er has been restarted. Done ;. 3og in the ser!er, chec& the c rrent !ersion with SS!ersion, SSboottime, database/de!ice stat s. Post$%!gra"e tas#s: (. Installing (+, stored proced res after pgrade depending which f nction is being sed on the ser!er. installsec rity / C n this script if the Adapti!e Ser!er A diting f nctionality was enabled in yo r earlier installation. installhas!ss / C n this script if the RA f nctionality is enabled and the RA feat re is c rrently in se in the pgraded installation of Adapti!e Ser!er. Installmodel instmsgs.ebf 'hec& the installation script !ersion sing sp5!ersion by logging in AS*. -. 'ompare sp5config re o tp t to see if there is any difference. Kerify proced re cache allocation after pgrading. Kerify data cache has no change. .. ?a&e s re license file is sed. sa!e the license files with a .lic file name e,tension to the SJSA?:-58/licenses directory of the license ser!er installation. ?odify the !ariable in .profile for any instances on the same bo,. 1or e,ample: 3?53I'*NS*51I3*Gser!ername.lic If yo not ha!ing lic file, it will r n nder grace period of ( months, yo will get same warning in errorlog. 4. Ceboot the instance +. Ceenabling a diting if needed.

#pgrading AS* (-.+ to (+., = http://sybaseblog.com

$%"%r%n&%' : (ttp://')*oo+'.')*a'%.&o# P *!i'(ing P!at"or# : (ttp://')*a'%*!og.&o# ,i'&!ai#%r: S)*a'%B!og.&o# i' n%it(%r 'pon'or%d *) nor in an) -a) a""i!iat%d -it( S)*a'%./n&. /n an) &a'%. n%it(%r t(% a t(or'. nor S)*a'% /n& a'' #%' an) r%'pon'i*i!it) "or %rror' in t(% t(i' do& #%nt. nor do t(%) (a0% an) !i*!i!ti%' "or da#ag%' r%' !ting "ro# t(% '% o" t(i' do&./" )o ar% 'ing an) S pport%d 1 Un' pport%d &o##and'/"%at r%' !i't%d in do& #%nt'. t(i' i' &o#p!%t%!) on )o r2 '%r3 ri'+. ')*a'%*!og.&o# not (a0ing an) !i*i!iti). S)*a'% i' t(% trad%#ar+ o" S)*a'% Corp 2 An SAP Co#pan)3. T(% opinion' %xpr%''%d (%r% r%pr%'%nt o r o-n and not t(o'% o" #) an) pa't and pr%'%nt %#p!o)%r.

#pgrading AS* (-.+ to (+., = http://sybaseblog.com

Você também pode gostar