Cluster shared storage

From Teknologisk videncenter
Revision as of 15:20, 31 March 2009 by Heth (talk | contribs) (RedHat/Centos WEB servers)
Jump to: navigation, search

RedHat/Centos shared storage

Consider the drawing below. The WEB-servers run Centos 5.2 and share the redundant data from the shared storage.

  • Each WEB server has access to the same data from the shared storage calles NAS - Network Attached Storage.
  • The WEB-servers has Read/Write access to the NAS.
  • Locking of files open for writing is necessary.
Gigabit ethernet SAN/Cluster løsning

The shared Storage

Two servers with each two drives are installed with FreeNAS The drives are exported as iSCSI targets.

RedHat/Centos WEB servers

The WEB servers all run Centos 5.2 and use the the FreeNAS servers for application data.

  • Make a cluster with membernodes.
  • On one system do the following
    1. Install iSCSI initiator software on the WEB-servers
      1. Attach the logical drives to the system system
    2. Create a Volume Group with mirror
    3. Create a logical Volume
    4. Create a GFS filesystem
  • On all the Clusternodes
    1. Install iSCSI initiator software on the WEB-servers
      1. Attach the logical drives to the system system
    2. Make a mountppoint
    3. Mount the Logical Volume (GFS Filesystem)