[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sapdb-general
Subject:    AW: where to start the databases?
From:       Jürgen_Hötzel <juergen.hoetzel () cyperfection ! de>
Date:       2002-09-25 12:19:44
[Download RAW message or body]

Your scripts are very helpfull. I think something like this should be
integrated in the next RPMs, using the "%config" directive.
Configuration options should never be in startup files. This will make
updating much easier and not a pain, if I forget my dbm passwords.

juergen
> -----Ursprüngliche Nachricht-----
> Von: sapdb.general-admin@listserv.sap.com [mailto:sapdb.general-
> admin@listserv.sap.com] Im Auftrag von Simon Matter
> Gesendet: Mittwoch, 25. September 2002 11:29
> An: Hoetzel, Juergen
> Cc: sapdb.general@listserv.sap.com
> Betreff: Re: where to start the databases?
> 
> "Hoetzel, Juergen" schrieb:
> >
> > I used to start the database using the initscript /etc/init.d/sapdb
on
> > redhat-7.1:
> >
> > $DBMCLI -d TST -u dbm,dbm db_warm> /dev/null &
> >
> > But after an RPM-Upgrade to the next Version this file is always
> > overwritten and only x_server is started on system, the database
stays
> > offline.
> >
> > What is the recommended way to bring a database online on System
boot?
> 
> You may find my init scripts usefull. Find them at
> http://home.teleport.ch/simix/RPMS/SAPDB/
> 
> The scripts in the RPM are not RedHat like, so they don't work
reliable.
> 
> My scripts are for RedHat. There is a config file in
> /etc/sysconfig/sapdb where you configure which instances you want to
> start automatically.
> Ex.:
> 
> # Instances: [DB]:[user],[password]:[startflag]...
> INSTANCES="TST:dbm,dbm:1 MYDB:dbm,dbm:0"
> 
> # DB startup sequence
> DBSTARTUP="db_clear db_warm"
> 
> # DB shutdown sequence
> DBSHUTDOWN="db_offline"
> 
> HTH
> Simon
> 
> >
> > Juergen
> > _______________________________________________
> > sapdb.general mailing list
> > sapdb.general@listserv.sap.com
> > http://listserv.sap.com/mailman/listinfo/sapdb.general
> 
> --
> Simon Matter              Tel:  +41 61 695 57 35
> Fr.Sauter AG / CIT        Fax:  +41 61 695 53 30
> Im Surinam 55
> CH-4016 Basel             [mailto:simon.matter@ch.sauter-bc.com]
> _______________________________________________
> sapdb.general mailing list
> sapdb.general@listserv.sap.com
> http://listserv.sap.com/mailman/listinfo/sapdb.general

_______________________________________________
sapdb.general mailing list
sapdb.general@listserv.sap.com
http://listserv.sap.com/mailman/listinfo/sapdb.general
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic