Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Guía de instalación Pagina 167

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 240
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 166
In this example, the /d ev/csmb_vg /csmb_l v file system will be mounted at /mnt/gfs2 on all
nodes. This mount point must match the value that you specify as the location of the share directory
with the path = option in the /etc/samba/smb.co nf file, as described in Section 11.5, “ Samba
Configuration .
To create the file system to host the CTDB state information on the logical volume
/d ev/csmb_vg /ctd b_l v, execute the following command:
[root@ clusmb-01 ~]# mkfs. g fs2 -j3 -p l o ck_d l m -t csmb: ctd b_state
/d ev/csmb_vg /ctd b_l v
Note that this command specifies a different lock table name than the lock table in the example that
created the filesystem on /d ev/csmb_vg /csmb_l v. This distinguishes the lock table names for the
different devices used for the file systems.
The output of the mkfs. g fs2 appears as follows:
This will destroy any data on /dev/csmb_vg/ctdb_lv.
It appears to contain a gfs2 filesystem.
Are you sure you want to proceed? [y/n] y
Device:
/dev/csmb_vg/ctdb_lv
Blocksize: 4096
Device Size 1.00 GB (262144 blocks)
Filesystem Size: 1.00 GB (262142 blocks)
Journals: 3
Resource Groups: 4
Locking Protocol: "lock_dlm"
Lock Table: "csmb:ctdb_state"
UUID:
BCDA8025-CAF3-85BB-B062-CC0AB8849A03
In this example, the /d ev/csmb_vg /ctd b_l v file system will be mounted at /mnt/ctd b on all
nodes. This mount point must match the value that you specify as the location of the . ctd b. l o ck
file with the C T D B_R EC O VER Y _LO C K option in the /etc/sysco nfi g /ctd b file, as described in
Section 11.4, “CTDB Configuration .
11.4. CT DB Configurat ion
The CTDB configuration file is located at /etc/sysco nfi g /ctd b. The mandatory fields that must
be configured for CTD B operation are as follows:
C T D B_NO D ES
C T D B_P UBLIC_AD D R ESSES
C T D B_R EC O VER Y _LO C K
C T D B_MANAG ES_SAMBA (must be enabled)
C T D B_MANAG ES_WINBIND (must be enabled if running on a member server)
The following example shows a configuration file with the mandatory fields for CTDB operation set
with example parameters:
Chapt er 1 1 . Clust ered Samba Con fig urat ion
163
Vista de pagina 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 239 240

Comentarios a estos manuales

Sin comentarios