From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

> as it ships, SapDB/win32 requires manual intervention for 
> starting up an instance after reboot. Providing a 
> "RESTART_SHUTDOWN AUTO" during instance creation does not 
> change this. 
> 
> Is there an _automated_ way of setting up a database instance 
> autostart -- automated meaning "install SapDB, kick script to
> create instance and it will be active after the next reboot"?
> 
> It looks to me as if setting the related NT service to "auto" would
> provide this. Can anybody confirm that this is all you need? 
> Does anybody know of a convenient way to set up a service's startup 
> mode from Perl (assuming the cli tools that ship with SapDB do not
suffice)?

The "automatic" flag for the service is responsible for the OFFLINE
to COLD transition. The "RESTART_SHUTDOWN AUTO" is responsible for
COLD to WARM transition _only_ after an automatic start of the 
service.

For an automatic restart of the database on reboot you have to set 
both values.

Please notice that the "RESTART_SHUTDOWN AUTO" has no effect if 
you start the service manual via the service manager or the DBM.

If you create a database with dbmcli on the command line you 
may use the option -a to create a service entry with automatic
startup:
  dbmcli db_create -a <dbname> <dbmusr>,<pwd>

(see also
http://www.sapdb.org/htmhelp/6b/9cc7ac4b6311d4aa1100a0c9430730/content.htm )

This option is not available in the DBMGui.

Bernd
-- 
SAP Labs Berlin
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to