Operating System - HP-UX
1828362 Members
3380 Online
109976 Solutions
New Discussion

Re: files between servers

 
SOLVED
Go to solution
AnthonySN
Respected Contributor

files between servers

Hi,
We need to share filesystem between the cluster nodes and one standalone server (don't want NFS)
Cluster nodes will be creating the files in the shared filesystem and the standalone needs to print the same.
Is there any way we can achieve it or software available for this.
20 REPLIES 20
Pete Randall
Outstanding Contributor

Re: files between servers

OldSchool
Honored Contributor

Re: files between servers

"We need to share filesystem between the cluster nodes and one standalone server (don't want NFS)"

You've a problem w/ NFS (which would be one of the "standard" solutions). I find it easier to manage that CIFS / Samba (but that may just be me)

"Cluster nodes will be creating the files in the shared filesystem and the standalone needs to print the same."

That, generally, does not require shared filesystems. "lp" to a remote printer/queue on the "standalone" system?
AnthonySN
Respected Contributor

Re: files between servers

CIFS is for sharing between unix and windows environment.
cluster nodes as well as standalone are hpux11.31
Robert-Jan Goossens
Honored Contributor

Re: files between servers

Hi Sasj,

Why don't you want to use NFS?

Regards,
Robert-Jan
AnthonySN
Respected Contributor

Re: files between servers

its a requirment from audit of not using nfs.
Pete Randall
Outstanding Contributor

Re: files between servers

> CIFS is for sharing between unix and windows environment. cluster nodes as well as standalone are hpux11.31

If you read the link I provided, you will find:

"The CIFS Client allows HP-UX systems to mount file systems on Windows, the HP CIFS Server, Samba, and other CIFS servers"


Pete

Pete
AnthonySN
Respected Contributor

Re: files between servers

thanks for that.
one more question what would happen if the pkg moves from node1 to node2 and the files are generated on node2, will the cifs share remain intact or create problem.
do we need to remount the shares.
yes we will use virtual ip only in cifs.
Steven E. Protter
Exalted Contributor
Solution

Re: files between servers

Shalom,

Sssh. Secret. CIFS client uses NFS code (HP support told me this once).

Your question:
one more question what would happen if the pkg moves from node1 to node2 and the files are generated on node2, will the cifs share remain intact or create problem.

>> Depends on how you set things up. If you have a package running CIFS, and the files are all on shared storage than a package move will have no impact at all on files, nor will it create a problem. There will be a momentary delay during fail over operation as CIFS(Samba) runs start up.

do we need to remount the shares.
No
yes we will use virtual ip only in cifs.
So long as all users use the virutal(floating) IP address no user changes will be required in response to a package failover.

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
OldSchool
Honored Contributor

Re: files between servers

"its a requirment from audit of not using nfs."

a) then they (auditting) will probably object to CIFS as well.

b)does "audit" have a suggested alternative?

c) again, since you stated the object was to print the files on the standalone system, I would submit that sharing/mounting filesystems is not necessary to do this. or is there more hear that you have yet to describe?
AnthonySN
Respected Contributor

Re: files between servers

yes as you said they objecting to CIFS also.

the files are to be processed by the application on the standalone server and then printed
Patrick Wallek
Honored Contributor

Re: files between servers

>>yes as you said they objecting to CIFS also.

Well, I would now ask the auditors how exactly you are supposed to do this since they object to the possible solutions so far.
OldSchool
Honored Contributor

Re: files between servers

"They" don't want CIFS, and "they" don't want NFS, which are the two classic file sharing methods. ("They" being the auditors)

How to "they" propose to solve this? I don't know if you can multi-home something off a SAN that would work (never looked into it that far).

You also might be able to do something with a psuedo-printer, but its been a long time since I've had to mess w/ such (using lp to move the file and so forth)
Steven E. Protter
Exalted Contributor

Re: files between servers

Shalom,

You can set up password free file transfer using openssh on HP-UX (secure shell)

http://www.hpux.ws/?p=10

This is secure, however I really think your auditors need a clue.

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
Steven Schweda
Honored Contributor

Re: files between servers

See if I understand this.

Some user on a cluster somehow creates some
kind of file on a local file system?

Some user on some non-cluster system wishes
to send this file to some printer somewhere?

I'm sure that I don't know:

Where the printer is connected, and whether
the non-cluster system can use it directly.

Whether a user on the non-cluster system
could send some kind of request (remsh, ssh,
...) to a cluster system to get this print
job done from the cluster system.

Whether actual file sharing is even needed.


As usual, it might be more helpful to provide
a clear description of the real situation and
the real requirements, rather than asking
how to implement some particular scheme which
may or may not be possible, especially when
every suggestion elicits more constraints
which should have been provided in the
original problem statement.
AnthonySN
Respected Contributor

Re: files between servers

we are planning to install CIFS and check how it works and if the security team is ok with it, we may go ahead with CIFS.
Jupinder Bedi
Respected Contributor

Re: files between servers

yes you can ... here are docs.



CIFS/9000 Server Configuration.

http://docs.hp.com/en/B8725-90021/ch01s05.html

CIFS/9000 Client Configuration.

http://docs.hp.com/en/B8724-90022/ch02s02.html

-HTH
All things excellent are as difficult as they are rare
AnthonySN
Respected Contributor

Re: files between servers

these docs are related to hpux 11.0
anyways i will check fot it thanks.
AnthonySN
Respected Contributor

Re: files between servers

we are right now tryng the scp option.
after which we plan to implement CIFS.
one doubt is whether to configure cifs server on both the cluster nodes or one
Steven Schweda
Honored Contributor

Re: files between servers

> We need to share filesystem [...]

> we are right now tryng the scp option.

It might be good to decide what you really
need to do.
Johnson Punniyalingam
Honored Contributor

Re: files between servers

>>one doubt is whether to configure cifs server on both the cluster nodes or one<<

Appreciate if you could read below doc's to clear all doubts :)

http://docs.hp.com/en/B8725-90101/ch02.html

Thanks,
Johnson
Problems are common to all, but attitude makes the difference