- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: San shared storage between two RHEL5.1 servers
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 06:35 AM
тАО07-03-2009 06:35 AM
San shared storage between two RHEL5.1 servers
The problem is :
- 2 servers RHEL5.1
- XP array presenting the same LUN to both servers
- The servers must be active/passive. I don't want them to be able to acces the data at the same time, I need to secure this point. I don't need high availability, passing from one server to the other will always be a manual operation.
I've seen some ways (HA-LVM, LVM-CLUSTER, lvchange --addtag...) but no real clue how to implement it precisely. Have you got some clues, links, pdf ?
Do you see an other way ?
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2009 07:43 AM
тАО07-03-2009 07:43 AM
Re: San shared storage between two RHEL5.1 servers
You should have to only configure the disk on the storage.
Normally you would have to partition it.
run:
fdisk -l
# On both systems find the SAN disks,
# run some dd tests to be sure.
run:
fdisk
To partition the SAN disk.
You can also use the PSP provided web based utilities to configure the disk, if you get a stable version of PSP on your system.
There are problems with RHEL 5.1 and it might be worth moving to RHEL 5.3 via yum, if your applications will permit it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 02:42 AM
тАО07-07-2009 02:42 AM
Re: San shared storage between two RHEL5.1 servers
I've already used the disk. I'm using Device. I've made on the first server :
- pvcreate on /dev/mapper/mpathxx
- vgcreate
- lvcreate
- mkfs.ext3
- mount
When I want to use it on the second server I do the following :
- on the first server
* umount
* lvchange -a n
* vgexport
- on the second
* vgimport
* lvchange -a y
* mount
The problem is that when the disk is used by one server you can format it on the other. Or you can mount it and write on it on both server. There is no security.
I'm using HP XP array but the servers aren't HP so I can't use PSP.
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 07:43 PM
тАО07-07-2009 07:43 PM
Re: San shared storage between two RHEL5.1 servers
Wel, Of course you cant expect security from this kind of implementation.
If you present same Lun from XP Disk array to 2 different hosts, any of them can use it in a given time(This is how you form a cluster). But in your case since the LUN is not formatted as a cluster file system you have to unmount it form one node to mount it with other.
When you do this it is obivious that you will be able to see the files crated from the previous host on the current host because to the host its just a disk with a readable file system.
its same thing as you plug in a HDD of your system to some ones system and read data.
For security you can use data encryption techniques. There are many
eg:http://www.unixmen.com/linux-tutorials/296-encrypt-data-in-linuxunix
Also its best to use zoning from your SAN switches if any.
Hope this info will help you.
Good Luck...!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 10:11 PM
тАО07-07-2009 10:11 PM
Re: San shared storage between two RHEL5.1 servers
There is no way to do this without the cluster service, you can choose one method not both, clvmd(LVM-CLUSTER), or HA-LVM.
First one all you need is the cluster services to be run beside the clvmd service, then from the node you want to use the disk use the command vgchange, when this done the other node can not enable and use the vg at all.
the second one, you have to build a LVM service, and you can make it auto start or not.
follow this link:
http://kbase.redhat.com/faq/docs/DOC-3068
and
http://kbase.redhat.com/faq/docs/DOC-5648
Hope it will help you...