AIX - Network - Remove IP Address
Using ifconfig command we can remove network interface from network list
#ifconfig en0 detach (Removes en0 card from the network interface list)
Monday, May 4, 2009
Sunday, May 3, 2009
AIX - Network - Enable IP address
Enable IP address
#ifconfig en0 up (Turns on network card en0)
#ifconfig en0 up (Turns on network card en0)
AIX - Network - Disable IP address
AIX - Network - Disable IP address
Using ifconfig command we can disable the IP address
#ifconfig en0 down (Turns off network card en0)
Using ifconfig command we can disable the IP address
#ifconfig en0 down (Turns off network card en0)
AIX - Network - Assign IP address to NIC
Assign IP address to NIC
Using mktcpip or smitty tcpip command we can assign IP address to NIC
#smitty tcpip
It will ask following details
Hostname –
IP address –
Subnet mask –
DNS server –
DNS Server name –
Gateway –
#
Or
#ifconfig en0 inet 192.168.1.1 netmask 255.255.255.0 up (Configure en0 starts Immediately)
After finishing this process ip address assigned to NIC
Or
We can assign one more IP address to same network card
#ifconfig en0 192.168.1.33 alias (adding alias IP to en0)
#ifconfig –en0 192 168.1.33 –alias (Removing alias IP from en0)
Using mktcpip or smitty tcpip command we can assign IP address to NIC
#smitty tcpip
It will ask following details
Hostname –
IP address –
Subnet mask –
DNS server –
DNS Server name –
Gateway –
#
Or
#ifconfig en0 inet 192.168.1.1 netmask 255.255.255.0 up (Configure en0 starts Immediately)
After finishing this process ip address assigned to NIC
Or
We can assign one more IP address to same network card
#ifconfig en0 192.168.1.33 alias (adding alias IP to en0)
#ifconfig –en0 192 168.1.33 –alias (Removing alias IP from en0)
AIX - Network - NIC Configuration
AIX - Network - NIC Configuration
Using cfgmrg command we can configure to server
Cfgmgr command is device management related command. If we want to install new network card, first we should connect network in server. While booting the server boot process is starting the cfgmrg, so that time network card will be installed in server.
We have installed Ethernet card 1.
That Ethernet card is divided into three parts
Ent0 – Physical adapter
En0 – Logical name
Et0 – Architecture of the card (802.3)
Or
Using mkinet command we can install the NIC
Using cfgmrg command we can configure to server
Cfgmgr command is device management related command. If we want to install new network card, first we should connect network in server. While booting the server boot process is starting the cfgmrg, so that time network card will be installed in server.
We have installed Ethernet card 1.
That Ethernet card is divided into three parts
Ent0 – Physical adapter
En0 – Logical name
Et0 – Architecture of the card (802.3)
Or
Using mkinet command we can install the NIC
AIX -NETWORK
The below are the activities performed in NETWORK:
1. NIC Configuration
2. Assign IP address to NIC
3. Disable IP address
4. Enable IP address
5. Remove IP address
6. Check the NIC IP status
7. Check the NIC device status
8. Check the network statistics
9. To change HOST name
10. Trace the HOST
11. Assign gateway to network
12. Clear the gateway table
1. NIC Configuration
2. Assign IP address to NIC
3. Disable IP address
4. Enable IP address
5. Remove IP address
6. Check the NIC IP status
7. Check the NIC device status
8. Check the network statistics
9. To change HOST name
10. Trace the HOST
11. Assign gateway to network
12. Clear the gateway table
Saturday, May 2, 2009
AIX - Refresh (restart) Daemon
AIX - Refresh (restart) Daemon
Using refresh command we can restart the daemon
#refresh –g nfs (restart the group of subsystems)
#refresh –s rpc.statd (restart the single subsystems)
Like this we can restart the daemons,
Using refresh command we can restart the daemon
#refresh –g nfs (restart the group of subsystems)
#refresh –s rpc.statd (restart the single subsystems)
Like this we can restart the daemons,
AIX - Stop Daemon
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
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
AIX - List Daemon
AIX - List Daemon
Using lssrc command we can list the daemons
If we want see check status of the nfs daemon, whether subsystems are started or not.
Execute the following command.
#lssrc –g nfs
Nfsd – started
Biod – started
Rpc.mountd – not started
Rpc.lockd – started
Rpc.statd – not started
Or we can check single subsystem status using
#lssrc –s nfsd
Nfsd - started
NOTE:
#lssrc –a
The above command list the status of all the daemons, like this we can list and check the status of the daemons
Using lssrc command we can list the daemons
If we want see check status of the nfs daemon, whether subsystems are started or not.
Execute the following command.
#lssrc –g nfs
Nfsd – started
Biod – started
Rpc.mountd – not started
Rpc.lockd – started
Rpc.statd – not started
Or we can check single subsystem status using
#lssrc –s nfsd
Nfsd - started
NOTE:
#lssrc –a
The above command list the status of all the daemons, like this we can list and check the status of the daemons
AIX - Start 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.
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.
Subscribe to:
Posts (Atom)