AIX to AIX File Sharing


 
Thread Tools Search this Thread
Operating Systems AIX AIX to AIX File Sharing
# 1  
Old 09-06-2011
AIX to AIX File Sharing

Hello All,

In my office their are two AIX servers and I want to establish file sharing between these two servers.

Kindly help me in this regard ASAP.

Regards,
Adnan Wahid
# 2  
Old 09-06-2011
Quote:
Originally Posted by adnan_wns
Hello All,

In my office their are two AIX servers and I want to establish file sharing between these two servers.

Kindly help me in this regard ASAP.

Regards,
Adnan Wahid
To do what exactly? The simplest would be an NFS link between the two servers, but it depends on what you want to achieve!
# 3  
Old 09-06-2011
have you tried exportfs command?
# 4  
Old 09-06-2011
Quote:
Originally Posted by johnf
To do what exactly? The simplest would be an NFS link between the two servers, but it depends on what you want to achieve!
simple file sharing is required.

---------- Post updated at 01:40 PM ---------- Previous update was at 01:39 PM ----------

Quote:
Originally Posted by polar
have you tried exportfs command?
Nope I did't use it
# 5  
Old 09-07-2011
You have several options:

1) NFS

You have to start the NFS subsystem first if it is not already started. Then create an exported directory (you might want to make this a separate file system) on one of the two machines and mount this on the other. Files in there can be accessed by both systems. You seem to be not all too knowledgeabe about systems administration (no offense, but you come across like this), so you best do it via SMIT, which is menu driven all the way.

Advantage: true file sharing and easy to implement (~5 min).
Disadvantage: NFS can effectively hang a system if the network connection breaks and NFS has some really ong timeouts, which is why it is usually not used in production environments as a permanent solution. Some problems with NFS can only be solved by a reboot.



2) FTP (or some securified variant of it)

You just have to start the FTP (or SFTP) subsystem if it is not already started. FTP is not file sharing but file transfer. You copy files from one system to another in order to synchronize its contents. You might want to automate this process and put it in crontab.

Advantage: very reliable and stable. Even if the network breaks for a while there is nothing to do to clean up. No setup at all (for FTP itself).

Disadvantage: FTP is a bit clumsy and you may need to do some scripting to implement this effectively - depending on what exactly you need and what your environment looks like this can range from very little effort to a full-bown project. Another disadvantage is that FTP transfers passwords over the network in clear text, so they could be sniffed. This is why SFTP (Securified FTP) is recommended instead most of the times.

3) RCP or its securified variant SCP or rsync

This is similar to FTP but with a much more "intelligent" client. You will probably need less scripting to implement this effectively. Again, the securified variant SCP is under most circumstances preferable. rsync as well as scp are using ssh as authentication mechanism.


I hope this helps.

bakunin
# 6  
Old 09-08-2011
Agree with bakunin, for NFS method:
1) Put all target client's hostname in source server by vi/etc/hosts
2) smitty nfs>NFS>Add a directory to exports list
for example
:: path > /tmp
:: export 'now'
:: security 'sys'
:: mode 'read-only'
:: hosts allowed root access (client's hostname)
3) lssrc -a | grep nfs
4) startsrc -s rpc.mountd (if the daemon is in inoperative mode)
5) startsrc -s nfsd (if the daemons is in inoperative mode)
6) lssrc -a | grep nfs
7) on client's server mount<source hostname>:/tmp /mnt
8) df -g /mnt (to verify NFS is mounted)
9) make sure to unmount by typing umount /mnt

Last edited by polar; 09-08-2011 at 10:12 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

3. AIX

problem on sharing cdrom drive in AIX with linux

HI i have setuped a nfs between a AIX system and a linux os ,keeping AIX as sever i need to share the CDrom in AIX server with the linux operating system. ie. linux os machine does't have a cdrom . will i be able be share ..i tried a lot but it gives a message which resembles NFS access... (3 Replies)
Discussion started by: raguraja
3 Replies

4. AIX

Nim on AIX 7.1 used to migrate AIX 5.3 to AIX 6.1...is possible?

Using nimadm: nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y Initializing the NIM master. Initializing NIM client sap024. 0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies

5. Shell Programming and Scripting

shellscript on AIX to download file from windows to AIX

i require the shell script that is running on the AIX to download a file from Windows desktop to the location where the shell script resides onthe AIX system. I have used the below code: but it throwing the error as below.please help me at the earliest to resolve the issue. error message :... (1 Reply)
Discussion started by: kvkc
1 Replies

6. AIX

How to upgrade AIX Firmware & TL Maintenance Level in AIX

Steps to upgrade AIX TL ( technology Level ) / Maintenance Level in AIX ( including Firmware HMC VIOS ) This article or post covers upgrades for - Hardware Management Console ( HMC ) - Firmware ( also known as microcode ) - VIO ( Virtual I/O Server = PowerVM ) - AIX Version, Technology... (2 Replies)
Discussion started by: filosophizer
2 Replies

7. AIX

IY17981 fix required for aix 4.3.3 to aix 5L migration but not found

Hi, redbook documentation is telling that IY17981 fix is required for aix 4.3.3 to aix 5L migration. But there is no mention about that fix in any ML installation packages. - My system is ML11 : oslevel –r 4330-11 - But xlC.rte is on wrong version : lslpp -L xlC.rte xlC.rte ... (3 Replies)
Discussion started by: astjen
3 Replies

8. AIX

How to apply aix 5.3 TL8 properly on ML5 aix system ?

Is it necessary to put system into single user mode for applying aix 5.3 TL8 on a aix 5.3.5.0 system ? Is the TL8 installation not totally safe ? thank you. (6 Replies)
Discussion started by: astjen
6 Replies
Login or Register to Ask a Question