Difference between revisions of "Cluster shared storage"
From Teknologisk videncenter
m (→RedHat/Centos shared storage) |
m (→RedHat/Centos WEB servers) |
||
Line 13: | Line 13: | ||
*Make a cluster with membernodes. | *Make a cluster with membernodes. | ||
*On one system do the following | *On one system do the following | ||
− | *#Install [[iSCSI]] initiator software on the WEB-servers | + | *#Install [[iSCSI]] initiator software on the WEB-servers, if not present. |
− | *##Attach the logical drives to the | + | *##Attach the logical drives to the system |
*#Create a Volume Group with mirror | *#Create a Volume Group with mirror | ||
*#Create a logical Volume | *#Create a logical Volume | ||
*#Create a GFS filesystem | *#Create a GFS filesystem | ||
*On all the Clusternodes | *On all the Clusternodes | ||
− | *#Install [[iSCSI]] initiator software on the WEB-servers | + | *#Install [[iSCSI]] initiator software on the WEB-servers, if not present. |
− | *##Attach the logical drives to the | + | *##Attach the logical drives to the system |
*#Make a mountppoint | *#Make a mountppoint | ||
*#Mount the Logical Volume (GFS Filesystem) | *#Mount the Logical Volume (GFS Filesystem) |
Revision as of 07:24, 1 April 2009
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, if not present.
- Attach the logical drives to the system
- Create a Volume Group with mirror
- Create a logical Volume
- Create a GFS filesystem
- Install iSCSI initiator software on the WEB-servers, if not present.
- On all the Clusternodes
- Install iSCSI initiator software on the WEB-servers, if not present.
- Attach the logical drives to the system
- Make a mountppoint
- Mount the Logical Volume (GFS Filesystem)
- Install iSCSI initiator software on the WEB-servers, if not present.