IBM 000-8697 Manual Do Utilizador

Página de 702
Operating OnLine
3-101
Change the Status of a Mirrored Chunk
If you are logged in as user informix, you can create a dbspace within
DB-M
onitor or from the command line. If you are logged in as root, you must
use the command-line option.
From DB-Monitor
1.
From within
DB-M
onitor, select the Parameters menu, Shared-
Memory option to change the shared-memory residency setting. A
value of
Y
 enforces shared memory, and a value of
N
 permits all or
part of shared memory to be swapped to disk. Change the value in
the field,
Forced Residency,
 to either
Y
 or
N
.
2.
Reinitialize shared memory (take OnLine offline and then to
quiescent mode) for the change to take effect.
From the Command Line
1.
To change the value of
 RESIDENT
 from the command line, use an
editor to edit the file specified by $
INFORMIXDIR
/etc/$
TBCONFIG
. A
value of 1 enforces shared memory and a value of 0 permits all or
part of shared memory to be swapped to disk.
2.
Change the value of
 RESIDENT
to either 1 or 0. Reinitialize shared
memory (take OnLine offline and then to quiescent mode) for the
change to take effect.
Change the Status of a Mirrored Chunk
Two status changes are possible:
Change a mirrored chunk from online to down
Change a mirrored chunk from down to recovery
The status of a chunk is described by a combination of flags.
You can take down or restore a chunk only if it is part of a mirrored pair. You
can take down or restore either the primary chunk or the mirror chunk, as
long as the other chunk in the pair is online.