Difference between revisions of "Cluster shared storage"

From Teknologisk videncenter
Jump to: navigation, search
m (RedHat/Centos WEB servers)
m (RedHat/Centos shared storage)
Line 3: Line 3:
 
*Each WEB server has access to the same data from the shared storage calles NAS - Network Attached 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.
 
*The WEB-servers has Read/Write access to the NAS.
*Locking of files open for writing is necessary.  
+
*Locking of files open for writing is necessary.
 +
[[Image:SAN tegning1.png|thumb|300px|none| Gigabit ethernet SAN/Cluster løsning]]
 +
 
== The shared Storage ==
 
== The shared Storage ==
 
Two servers with each two drives are installed with [http://www.freenas.org FreeNAS]
 
Two servers with each two drives are installed with [http://www.freenas.org FreeNAS]
Line 9: Line 11:
 
== RedHat/Centos WEB servers ==
 
== RedHat/Centos WEB servers ==
 
The WEB servers all run Centos 5.2 and use the the FreeNAS servers for application data.
 
The WEB servers all run Centos 5.2 and use the the FreeNAS servers for application data.
*Install [[iSCSI]] initiator software
+
*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
 +
*#Create a logical Volume
 +
*#Create a GFS filesystem
 +
*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)

Revision as of 15:19, 31 March 2009

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.

  • 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
    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)