Operating System - HP-UX
1840014 Members
1748 Online
110159 Solutions
New Discussion

How to share one directory between HPux11.0 and Linux 9

 
SOLVED
Go to solution
GerGon
Regular Advisor

How to share one directory between HPux11.0 and Linux 9

Hi everybody,

How can I share a Directory on HP ux v.11.0, so Linux version 9, can see it and read information?

To migrate from Oracle 8i To Oracle 9i, in different boxes, I need to put share data diretory so Oracle Upgrade can see that directory like local, although, Oracle thinks that the database to migrate stay at same box, and It'll do the migration...

I don't have anything special in both servers, both have LVM only.

I know samba is an option but I can't configure that, Are there other posibilities to do that?

How to configure these?

Thanks for your time...
6 REPLIES 6
Paul Cross_1
Respected Contributor

Re: How to share one directory between HPux11.0 and Linux 9

As has been posted to this forum before, use NFS. Here is a guide:
http://www.cites.uiuc.edu/wsg/resources/unixguide/nfs.html
Patrick Wallek
Honored Contributor

Re: How to share one directory between HPux11.0 and Linux 9

How about NFS?

Set the HP-UX as an NFS server and start the processes.

Set up your /etc/exports file.

The make sure the Linux box has NFS client processing running and mount the dir export from HP-UX.
Tor-Arne Nostdal
Trusted Contributor
Solution

Re: How to share one directory between HPux11.0 and Linux 9

On the HP-UX server you must export the filesystem.

If you do not know the syntax for editing the /etc/exports file directly I recommend you to do this by using: sam

if you edit the /etc/exports manually make sure you run the command: exportfs afterwards.

Linux 9... SUSE ?
On SUSE Linux 9.0 you can use YaST Control Center/Network Services and configure the NFS Client

- or a terminal window
* create a mountpoint (empty directory)
* mount -t nfs {hp-ux_server_ip}:/directory /{local_mount_point}
* and to make it permanent edit the /etc/fstab
I'm trying to become President of the state I'm in...
Steven E. Protter
Exalted Contributor

Re: How to share one directory between HPux11.0 and Linux 9

NFS is shipped in both operating systems.

vi /etc/exports

pick the directory for sharing

exportfs -av to reload the shares.

The mount command above will work.

You could try samba. Thats an option in most versions of Linux and an add in product called CIFS/9000 in HP-UX side.


Client
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA

Server:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

Based on Samba 2.2

Not from HP:
http://hpux.connect.org.uk/hppd/hpux/Networking/Misc/samba-3.0.2a/

Based on Samba 3.02

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
KapilRaj
Honored Contributor

Re: How to share one directory between HPux11.0 and Linux 9

I think linux NFS Client has a default blocksize of 1 K which needs to be changed to 8K if u are looking for a better performance.... when u mount it, use the following options as well.

rsize=8192,wsize=8192"

Regds,

Kaps
Nothing is impossible
Tim Sanko
Trusted Contributor

Re: How to share one directory between HPux11.0 and Linux 9

Being lazy I think this is the easiest way to
migrate the databases.

Export the oracle db as system. Do a full export to the NFS drive.

make identical filesystems on the new box, or
re-layout the tablespaces, and inport the data from the shared drive. Then create the indexes after the import.

That is how I would proceed.

Tim Sanko