Hi,

This is the one I use.  For your reference.

#
# mydb is the target instance name
#
dbmcli db_create mydb dbm,dbm

#
# Tune the configuration for your purpose
#
dbmcli -d mydb -u dbm,dbm <<EOC
param_startsession
param_init
param_put CACHE_SIZE 50000
param_put MAXUSERTASKS 20
param_put MAXDATAVOLUMES 64
param_put DIAG_HISTORY_NUM 5
param_put USE_COROUTINES YES
param_put rundirectory /home/sdb/mydb
param_checkall
param_commitsession
param_addvolume 1 LOG LOG_001 F 3840
param_addvolume 1 DATA DAT_001 F 131072
db_admin
db_activate system,manager
load_systab -ud manager
EOC

dbmcli -d mydb dbm,dbm db_state  <-- should be ONLINE now


Cheers,
Andy

-----Original Message-----
From: Zavier Sheran [mailto:[EMAIL PROTECTED]
Sent: 2004?4?23? 5:25
To: maxdb
Subject: Script to create instance with dbmcli


I'm running into problems using DB Manager trying to setup and instance on a
remote Linux server.

Either I can't go through the setup because of an error or the instance that
I create causes Apache to segfault when accessed via PHP.

I had it working once, the problem with segfaulting turned out to be a
faulty instance (creating a new one solved the problem), but then the server
had to be reinstalled and I can't make it work anymore.

 Is there a sample script that has all the necessary parameters to create an
instance via dbmcli?


Thanks a lot

-Zavier



-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to