- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: FS for both HPUX and Linux
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
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
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-06-2011 01:01 AM
07-06-2011 01:01 AM
FS for both HPUX and Linux
Hi,
I ran into a problem in moving huge amount of data between HPUX11.11 and rhel5.
The best solution we thought of is using a SAN disk that will be connected both to the Unix and the Linux servers.
The problem is the FS type, is there any FS type which can be mounted both in Unix and Linux ?
From what I've searched there isn't one (will be very glad to find out I'm wrong), but I saw there is something called FreeVXFS, which lets me mount a vxfs FS on Linux, where can I find it ?
(the new "ITRC" is killing me...google find a lot of threads which leads no where...)
Thanks ahead,
Ilia.
- Tags:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 01:57 AM
07-06-2011 01:57 AM
Re: FS for both HPUX and Linux
>is there any FS type which can be mounted both in Unix and Linux?
There is NFS but you probably rejected that for being too slow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 03:13 AM
07-06-2011 03:13 AM
Re: FS for both HPUX and Linux
NFS was rejected for giving us 80M/s over 1G cross cable.
Copying 13T with 80M/s will make us wait for about 46 hours........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 07:29 AM
07-06-2011 07:29 AM
Re: FS for both HPUX and Linux
Greetings!
I trust your need is for a Filesystem to be mountd on HP-UX, write massive amounts of data to it with whatever conversions needed (Endianess and all). Then once done, the filesystem is unmounted on HP-UX and mounted on Linux and data is "processed" there.
If so and you do not need simultaneous access on both HP-UX and Linux AND if your need is simply for data migration purposes (Oracle DB migration I suppose?) -- then the solution is to use the CDS features of Veritas Volume Manager and Filesystem sir.
You will need VxVM and VxFS on your HP-UX 11i environments. You will need to have SAN disks presented to both Linux and HP-UX. You create the VxVM DG in CDS mode (CDS is cross-platform data sharing - it allows Diskgroups to be moved from one platform to another). The volumes you create on top of the VxVM Diskgroup will ned to have VxFS on them. Once you write your data on HP-UX, you unmount the filesystem and you do a "vxfsfcdconvert" to convert the filesystem to little-Endian (Linux-X86) format. You then export the VxVM DG with its volumes and import on Linux. Mount up the VxFS filesystems and presto -- your HP-UX 11i data is now on Linux, properly byte-swapped (Endianness) and ready to be processed on Linux.
This is the method I architected to do our just concluded mega HP-UX to RHEL migration involving close to 100TB of Databases.
On Linux, VxVM/VxFS is free up for 1 DiskGroup and up to 4 volumes/filesystems only. Pretty sufficient for data migrations/conversions.
NOW, if you have 10GBE or can trunk several GigabitE NICs -- NFS *could* be a viable solution as well.
Hope this helps and guides you.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 07:31 AM
07-06-2011 07:31 AM
Re: FS for both HPUX and Linux
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 10:17 PM
07-06-2011 10:17 PM
Re: FS for both HPUX and Linux
Thanks a lot.
I'm not familiar with the vxvmfcdconvert, which deport installs that command ? I only found vxvmconvert.
Let me understand if I got it right:
1. I create a regular vxfs FS on a device (I don't need LVM)
2. Put my data on the FS
3. umount
4. run the vxvmfcdconvert on the device
5. on the Linux, mount -t vxfs device mountpoint
right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 08:01 AM
07-13-2011 08:01 AM
Re: FS for both HPUX and Linux
And it is actually fscdconv
Here's the entire process:
UNIX to LINUX:
On UNIX:
1.) Unmount the filesystem on UNIX.
root# umount /vxfloater1
2.) Do the Endian Conversion or CDS conversion so filesystem on top of the volume is “mountable – r/w” on Linux.
root# /opt/VRTS/bin/fscdsconv -e -t os_name=Linux -f /root/vxfloater1.recov /dev/vx/dsk/vxfloater1/data
UX:vxfs fscdsconv: INFO: V-3-26040: Please verify if the following details identify the migration target for /dev/vx/dsk/vxfloater1/data:
Operating system : Linux
Operating system version : any
Architecture : any
VxFS version : any
Bits : 64
UX:vxfs fscdsconv: INFO: V-3-26037: Would you like to proceed further with migration? (ynq) y
UX:vxfs fscdsconv: INFO: V-3-26041: The filesystem would need to be byteswapped for use on this target.
UX:vxfs fscdsconv: INFO: V-3-26037: Would you like to proceed further with migration? (ynq) y
UX:vxfs fscdsconv: INFO: V-3-26130: There are no files violating the CDS limits for this target.
UX:vxfs fscdsconv: INFO: V-3-26047: Byteswapping in progress ...
UX:vxfs fscdsconv: INFO: V-3-21842: Do you wish to commit to conversion? (ynq) y
UX:vxfs fscdsconv: INFO: V-3-26048: The filesystem has been byteswapped and is now ready for use on the specified target.
3.) Deport the VxVM DiskGroup
root# vxdg deport vxfloater1
On LINUX:
4.) Import the VXVM Diskgroup
root# vxdg import vxfloater1
5.) Start the contained volume(s) in the transported Diskgroup
root# vxvol –g vxfloater1 startall
6.) Mount the filesystem(s) on top of the volume to its corresponding mountpoint.
root# mount -t vxfs /dev/vx/dsk/vxfloater1/data /vxfloater1
# df -k /vxfloater1
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/vx/dsk/vxfloater1/data
4194106368 391896 4160951088 1% /vxfloater1
Data on the filesystem(s) on the transported VxVM DiskGroup from UNIX should now be natively readable/writable by LINUX at FULL SAN Speed
LINUX to UNIX:
On LINUX:
1.) Unmount the filesystem on LINUX
root# umount /vxfloater1
2.) Deport the VxVM DiskGroup
root# vxdg deport vxfloater1
On UNIX:
3.) Import the VxVM DiskGroup
root# vxdg import vxfloater1
4.) Start the contained volume(s) within the VxVM DiskGroup
root# vxvol –g vxfloater1 startall
5.) Do the Endian Conversion or CDS conversion so filesystem on top of the volume is “mountable – r/w” once more on UNIX.
root# /opt/VRTS/bin/fscdsconv -i -f /root/vxfloater1.recov /dev/vx/dsk/vxfloater1/data
UX:vxfs fscdsconv: INFO: V-3-26036: The filesystem would need to be byteswapped for use on this machine.
UX:vxfs fscdsconv: INFO: V-3-26037: Would you like to proceed further with migration? (ynq) y
UX:vxfs fscdsconv: INFO: V-3-21842: Do you wish to commit to conversion? (ynq) y
6.) Mount the filesystem(s) on top of the volume(s) that was/were converted.
root# mount /dev/vx/dsk/vxfloater1/data /vxfloater1
Data on the filesystem(s) on the transported VxVM DiskGroup from LINUX should now be natively readable/writable by UNIX at FULL SAN Speed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 07:56 AM
07-14-2011 07:56 AM
Re: FS for both HPUX and Linux
NFS 4 would probably do the trick. That would require HP-UX 11.31.
Also Symmatec should be consulted. They have CFS for HP-UX cluster file system. If you can provide SAN access to both systems you might find they have a CFS variant that works for Linux.
As far as speed goes, HP-UX and Linux both support 10G network infrastructure and channel bonding. You can get a heck of a lot of speed between the systems using a network based solution.
I would think make whichever system is prod the NFS or CIFS Master and let the slave system be the client. This can work, but it will cost you a few bucks.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com