Red Hat GLOBAL FILE SYSTEM 5.0 Manual do Utilizador Página 22

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 28
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 21
22
Deploying a Data Sharing Cluster
Configuring Shared Storages on GFS
Setting up a shared data storage located on a partition formatted with GFS v2 is supported for
virtual machines only and includes the following steps:
1 Configuring the data storage for the first node in the cluster.
2 Configuring the data storage for all the other nodes in the cluster.
Configuring the Data Storage for the First Node in the Cluster
To configure the shared data storage for the first node in the cluster, do the following:
1 Log in to any of your cluster nodes.
2 Use standard Linux tools, such as Logical Volume Manager, to set up a logical volume (for
example, /dev/vg01/lv01) on your data storage. This logical volume will host the /vz
partition. Please notice that one logical volume is required for each Red Hat GFS file system.
Note: If you are going to use Logical Volume Manager (LVM) for creating logical volumes, make sure
that it is configured with the clustered locking support. Otherwise, the LVM metadata may become
corrupted. For detailed information on LVM and its configuration settings, turn to the LVM
documentation and lvm.conf man pages.
For example:
# pvcreate /dev/sdb1
# vgcreate vg01 /dev/sdb1
# lvcreate -l 100%VG -n lv01 vg01
3 Create a GFS file system on the logical volume using the gfs_mkfs utility. For example, you
can run the following command to do this:
# gfs2_mkfs -p lock_dlm -t psbmCluster:gfs2 -j 4 /dev/vg01/lv01
In this example:
-p lock_dlm denotes the name of the locking protocol that will be used by the GFS file
system. The currently recognized cluster-locking protocols include lock_dlm and
lock_nolock.
-t psbmCluster:gfs2 denotes the name of the cluster (psbmCluster) for which the
GFS file system is created and the name that will be assigned to the GFS file system (gfs2).
Note: Keep in mind that you will need to specify this name when creating a cluster configuration.
-j 4 is the number of journals that will be created by the gfs2_mkfs utility. When
deciding on the number of journals, keep in mind that one journal is required for each cluster
node which is to mount the GFS file system. You can also make additional journals at the
time of the GFS file system creation to reserve them for future use.
/vg01/lv01 denotes the logical volume where the GFS file system is to be located.
Vista de página 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 28

Comentários a estes Manuais

Sem comentários