Access Remote iSeries IFS

I would like to access a remote iSeries IFS directories from my local iSeries.  Is there an easy way to do this?  Essentially I want to be able to pull up a directory on Server B from Server A.

Thanks in advance.
LVL 1
Matthew RoessnerSenior Systems ProgrammerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gary PattersonVP Technology / Senior Consultant Commented:
That's exactly what /QFileSvr.400 is for.  For example, if you have two systems: LOCAL and REMOTE, you can log onto LOCAL and do this:

mkdir '/QFileSvr.400/remote'
cd '/QFileSvr.400/remote'
wrklnk

Of course you need a system name that can be resolved and connectivity.  You also need to have the same credentials on both systems (user ID and password).

https://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/ifs/rzaaxrfsfs.htm

http://www-01.ibm.com/support/docview.wss?uid=nas8N1017835

Can you ping the remote system from your local system?

And if the credentials issue presents a problem, then you might want to look at sFTP as another alternative.
0
Matthew RoessnerSenior Systems ProgrammerAuthor Commented:
I originally attempted to use the /QFileSvr.400 - but when I try to access it, it tells me:

Not authorized to object.  Object is /QFileSvr.400/ASCOR001.

My username/password is exactly the same on both my LOCAL and REMOTE server.  I even reset both passwords to make 100% sure.

Is there something else going on?

Thanks
0
Gary PattersonVP Technology / Senior Consultant Commented:
Can you please provide full message details?  Want to verify it is CPFA09C.

Requirements from second link above:

Your user-ID and password must match between the source and target IBM i systems.

Additionally, the system value Password level (QPWDLVL) must also match between the source and target IBM i systems. A mismatch between the systems will result in the user receiving the following message:

Message: CPFA09C - Not authorized to object. Object is /QFileSvr.400/RCH770A.
Cause: You do not have the correct authority for object /QFileSvr.400/RCH770A or for one of the directories in the object path.

So:

Does your remote user profile have rights to the root ("/") folder on the remote system ASCOR001?

What is the QPWDLVL system value on each machine (DSPSYSVAL QPWDLVL)?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

tliottaCommented:
Note that /QNTC (or even NFS) might be a better choice than /QFileSvr.400... maybe. I use /QFileSvr.400 often, but I have full control of my network and can set all needed elements.

Tom
0
Gary PattersonVP Technology / Senior Consultant Commented:
Using qntc for i-2-i file system access seems - I don't know - morally wrong?  Seriously, though, that's a workable approach, as is nfs.
0
Matthew RoessnerSenior Systems ProgrammerAuthor Commented:
It turns out the PWDLVL was different between the two servers. All of our production servers are at PWDLVL 2 - but our development server is still at PWDLVL 0. We have been meaning to switch from 0 to 2 on our development server - guess this gives us a good reason to do that.

Thanks for your help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.