Cluster shared storage
From Teknologisk videncenter
RedHat/Centos shared storage example
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.
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
- Install iSCSI initiator software on the WEB-servers
- Attach the logical drives to the system system
- Create a Volume Group with mirror
- Create a logical Volume
- Create a GFS filesystem
- Install iSCSI initiator software on the WEB-servers
- On all the Clusternodes
- Install iSCSI initiator software on the WEB-servers
- Attach the logical drives to the system system
- Make a mountppoint
- Mount the Logical Volume (GFS Filesystem)
- Install iSCSI initiator software on the WEB-servers