- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap space on the SAN. Any problems?
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
тАО02-11-2009 11:37 AM
тАО02-11-2009 11:37 AM
This server never swaps and will certainly never page to secondary swap space.
Has anyone ever had problems with either device or filesystem swap on SAN? I used filesystem swap on Jamacia disk years ago without problems. Any feedback is welcome.
Thanks,
Jim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 11:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 11:47 AM
тАО02-11-2009 11:47 AM
Re: Swap space on the SAN. Any problems?
I do not think that shall be any sort of problems. I have myseld seen rp84XXX ORacle DB Servers 11.11 OS systems using EVA 8K LUNS assigned to them for swapping.
Just one thing to add , uou shall need to do two things additionally, you might be aware of that:
1)suppose you create a New VG for that then
must edit the /etc/lvmrc and put that VG entry in the custom_VG_activation so that the VG is activated at the boot time say vgXX.
2)might need to adjust the Kernel Tunables as for the New Swap Size on the system as maxswapchunks
3)must create the Swap LV on that VG with the command as
#lvcreate -L
4)put the entry in the /etc/fstab to acivate swapping on that LV at the boot-time.
/dev/vgXX/
5)do a swapon on that LV
#swapon -a (after adding that entry to /etc/fstab)
or
#swapon /dev/vgXX/
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 11:53 AM
тАО02-11-2009 11:53 AM
Re: Swap space on the SAN. Any problems?
>> entry in the custom_VG_activation so that
>>the VG is activated at the boot time say
>>vgXX.
You should only need to do this if the server is part of an MC Service Guard cluster.
Otherwise ALL VG's should be activated automatically.
# grep AUTO_VG_ACTIVATE /etc/lvmrc
AUTO_VG_ACTIVATE=1
Run the 'grep' command above to check your /etc/lvmrc. If AUTO_VG_ACTIVATE is set to '1' then ALL VG's will be activated automatically at boot time. No script modification is necessary.
However, if AUTO_VG_ACTIVATE is set to 0, then you will need to add the VG for your swap to the list of VGs that need to be activated, as stated above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 11:54 AM
тАО02-11-2009 11:54 AM
Re: Swap space on the SAN. Any problems?
swap space on the SAN.
Definitely something you can do.
Definitely something I would never do.
Someone pulls or cuts a cable and the system is messed beyond belief.
Doing it through a SCSI cable to a Jamaica box is something I have often done. You get the same throughput as you do to an internal disk.
Based on the conditions you lay out, if the SAN and LUNS are reliable you can do this, but you need to watch throughput.
The LUN should not be RAID 5, that will slow down disk writes.
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
тАО02-11-2009 12:00 PM
тАО02-11-2009 12:00 PM
Re: Swap space on the SAN. Any problems?
If you have the luxury and the SAN space is there you can use it otherwise larger boot disks or an extra pair of local disks might be cheaper.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 12:06 PM
тАО02-11-2009 12:06 PM
Re: Swap space on the SAN. Any problems?
The risks of losing SAN connection are justified. But if that happens we are in big trouble anyway and a swap device, especially one that is not swapping, might be the least of our worries.
That said, I realize that the HP-UX I/O subsystem seems fairly immune from momentary disk interruptions. Might not be so resilient for swap space if the server can't see that for a few seconds.
I appreciate everyones responses!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 12:10 PM
тАО02-11-2009 12:10 PM
Re: Swap space on the SAN. Any problems?
>>is messed beyond belief.
Not if it is probably set up with alternate paths.
>>The LUN should not be RAID 5, that will
>>slow down disk writes.
Baloney!!!!! Modern arrays are fast enough that I seriously doubt there is a significant impact between RAID 1 and RAID 5. That is why you have large amounts of cache on the controllers and fast processors on the raid controllers.
Besides...
>>This server never swaps and will certainly
>>never page to secondary swap space.
So that makes the above comment about RAID 5 moot.
And to quote/paraphrase our good, albeit MIA, friend A. Clay Stephenson: "Worrying about performance when setting up swap is like rearranging the deck chairs on the Titanic." It's pointless. If you are swapping to any significant extent your performance will ***SUCK*** anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 02:02 PM
тАО02-11-2009 02:02 PM