I'm able to create a new dbspace using the semi-gui tool onmonitor (running a headless Linux server)
But how can I do this from cmd-line / script?
It seems you can use onspaces like
onspaces -c -d $DBSname -p $DBSfile -o 0 -s 153600
But AFAIK it require the IDS server is running in one of these modes online, quiescent or administration and this seems only possible to start the server if there already exist a dbspace.
Or am I missing something?
Can you really only setup a new server using the init menu in onmonitor?
$ONCONFIGfile. Other dbspaces can be added usingonspacesas shown when the server is up and running. You can't add dbspaces to an as-yet-uninitialized server. And, because the server must take action to record that the new dbspace is part of the data it manages, you can't add a dbspace to a server that is not not running.oninitwith the-ioption to initialize a server, you can create the root dbspace for a server. Note that this will destroy any data already associated with any previous incarnation of the server. It is dangerous and only to be used when you're sure you want to (re)initialize a server. Usingoninitwithout the-ioption will run the server again after it is created. There are multiple other options, but AFAICR, none of them add a dbspace. To add a dbspace, use theonspacescommand; that's what it is for.