Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Sunday 26 June 2011

AIX - SRC AND DAEMONS

AIX - SRC AND DAEMONS

Group of subsystems called daemons, using src command we can perform the following activities with subsystems and daemons.

1. Start daemon
2. List daemon
3. stop daemon
4. refresh (restart) daemon

AIX - Start daemon

Using srcstart command we can start the daemon.Actually nfs daemon has 5 subsystems (services), when you configured nfs in server, that 5 subsystems are always start state. If one subsystem is not working properly or not started, then the nfs is not working properly.

Nfs daemons:

Server: 1. nfsd, 2. rpc.mountd

Client: 3.biod, 4. rpc.statd, 5. rpc.lockd

If clients are not able to access the network file system from the server, that time you have to start or restart the nfsd and rpc.mountd subsystems.

#startsrc –s nfsd
#startsrc –s rpc.mountd

Flag –s is mentioned for single, because we are starting single nfsd subsystem

If we want start complete nfs daemons using –g flag

#startsrc –g nfs
Nfsd – started
Biod – started
Rpc.mountd – started
Rpc.lockd – started
Rpc.statd – started
#
The above command is start all the 5 subsystems at the same time, but it is not recommended.
Like this we start single subsystem or group of subsystems.
AIX - Stop Daemon

Using stopsrc command we can stop the daemon,If we want to stop nfs daemon, then your command will be

#stopsrc –g nfs

Nfsd – stopped
Biod – stopped
Rpc.mountd – stopped
Rpc.lockd – stopped
Rpc.statd – stopped

Or we can stop single subsystem using –s flag

#stopsrc –s nfsd
Nfsd – stopped, like this we can stop the daemons

No comments:

Post a Comment