J�rgen H�tzel schrieb:
> 
> 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.

There are other thing that should be changed in the RPMs as well. File
rights are dangerous and the %pre/%post install scripts are too
complicated. I think when the build process becomes easier, then RPM
packaging will improve too.

Simon

> 
> juergen
> > -----Urspr�ngliche Nachricht-----
> > Von: [EMAIL PROTECTED] [mailto:sapdb.general-
> > [EMAIL PROTECTED]] Im Auftrag von Simon Matter
> > Gesendet: Mittwoch, 25. September 2002 11:29
> > An: Hoetzel, Juergen
> > Cc: [EMAIL PROTECTED]
> > 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
> > > [EMAIL PROTECTED]
> > > 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:[EMAIL PROTECTED]]
> > _______________________________________________
> > sapdb.general mailing list
> > [EMAIL PROTECTED]
> > http://listserv.sap.com/mailman/listinfo/sapdb.general
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to