The ccmsrv create command creates a database
server.
Synopsis
ccmsrv create [-f|-file config_file] [-s|-server servername] [-y]
Uses
Use the ccmsrv
create command to create a database server.
You must
run this command on the database server, as user informix.
Note: When
prompted for a server number, type a server number in the range 1
- 255. Ensure that this server number is not used by any other server
on the same machine. If
ccmsrv create fails, you
might see a message like this one in the log file:
shmget:
[EEXIST][17]: key 52574801: shared memory already exists
Either
a previous attempt to create this server failed, but did not remove
the shared memory. Or another Informix® server
with the same server number exists on this machine. The server might
be from an earlier release of Rational® Synergy,
or for your own use of Informix.
If
you are certain there is no other Informix server
with the same number, delete the shared memory with the specific key
using ipcrm. If there is another server using the
same number, retry ccmsrv create with a different
(unique) server number 1 - 255.
Also, if you need to
increase the size of your shared memory kernel parameters, you might
see a similar error in the log file:
16:53:12 shmat: [EMFILE][24]: out of shared memory
segments, check system SHMSEG
16:53:12 mt_shm_init: can't create resident segment
For more information,
see Modifying database server parameter values.
Options and arguments
- -f|-file config_file
- Specifies the path to the configuration file, described in Creating database servers using configuration files for UNIX. If you do not specify a configuration file, you
are prompted for the:
- Maximum number of users
- Server number
- root dbspace details (location offset size)
- log dbspace details (location offset size)
- ccm dbspace details (location offset size)
- temp dbspace details (location offset size)
- Number of CPUs
- -s|-server servername
- Specifies the name of the database server. The default is the
name of the current machine.
- The server name is restricted as follows:
- Is limited to 14 characters.
- Cannot have _net as the last four letters.
- Must be all lower case.
- Must have a letter as the first character.
- Can include any printable character except space, tab, new line,
and #.
- -y
- Executes the command without displaying confirmation messages.
Example
Create a database server
named hydra1.
$ ccmsrv create -s hydra1