Home | Previous Page | Next Page   Configuration > Coserver Configuration > Configuring Multiple Coservers >

Organizing the Configuration File

Figure 6 shows an excerpt from the global, coserver-specific, and storage-manager specific sections in a sample ONCONFIG file. This sample configuration uses eight nodes with a single coserver on each node.

Figure 6. Global and Coserver-Specific Sections of an ONCONFIG File
DBSERVERNAME            eds

ROOTSLICE            rootdbs
ROOTPATH            /work/dbspaces/rootdbs_%c
ROOTOFFSET            0
ROOTSIZE            40000

MIRROR            1             # 1 = yes
MIRRORPATH            /work/dbspaces/mirror_%c
MIRROROFFSET            0

PHYSSLICE            rootdbs
PHYSFILE            8000

LOGFILES            3
LOGSIZE            1000
...

COSERVER            1
   NODE         octopus1
   ...

END
...

COSERVER            8
   NODE         eagle8
   ...

END

# The storage manager can access onbar-worker processes on
# coservers 1 through 8.
BAR_SM              1
  BAR_WORKER_COSVR  1-8
END

The configuration parameters that Figure 6 shows generate the following dbspace names and pathnames for the root dbspaces:

coserver 1         rootdbs.1         /work/dbspaces/rootdbs_1
                  /work/dbspaces/mirror_1
...

coserver 8         rootdbs.8         /work/dbspaces/rootdbs_8
                  /work/dbspaces/mirror_8

Backups go to the storage manager on coserver 1.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]