This article hasn't been updated for over 5 years. The information below may be obsolete.
Solaris to AIX - A Quick Reference guide
This article is an extension to my older post Common Solaris and AIX sysadmin tasks to contrast the Solaris 8 and AIX 4.3.3 operating systems.
This article provides information on Solaris and AIX in the following categories:
[Packaging] [Installing] [Booting] [User Management] [Devices] [Network] [Printers] [File Systems] [Virtual Disks] [Logical Volumes] [Additional Location Information]
Packaging
| Units | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Smallest installable unit | package | fileset |
| Single installable image | package | package |
| Logical grouping of packages | software cluster | bundle |
| Logical grouping of packages | Software configuration clusters:
|
Bundle offering
|
Installing and Upgrading tasks
| Tasks | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Install packages | pkgadd | installp -a smitty install_latest |
| Display installed packages | pkginfo pkgparam |
lslpp -L smitty list_installed_sw |
| Remove software | pkgtm | installp -r installp -u smitty remove |
| Verify correct installation | pkgchk | lppchk smitty check_files |
| Install a patch | patchadd | instfix smitty update_by_fix |
| Remove a patch | patchrm | installp -r smitty reject |
| Display installed patches | showrev -p | instfix -ia |
| Install OS (alternate disk install) | Live Upgrade | alt_disk_install |
| Create install server (network installation) | setup_install_server install_dir_path | nimconfig |
| Create boot server for network install | setup_install_server -b boot_dir_path | smitty nim_config_env |
| Setup a client for network install | add_install_client | nim -o bos_inst |
Booting and Shutting Down
| Tasks/Locations | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Boot process | Phases:
|
Phases:
|
| Kernel modules directory | Kernel modules are stored in three directories:
|
Kernel and kernel extension modules are stored in two directories:
|
| Create and stop processes and services for a current system run level based on the /etc/inittab file. | Set the default environment variables as defined in /etc/default/init. | Set the default environment variables as defined in /etc/rc. |
| System run levels | Eight run levels:
|
Defined run levels:
|
| Determine system run level | who -r | who -r |
| Change a system run level | Choose one of the following:
|
telinit level number |
| Startup script | /sbin/rc run-level number | /etc/rc |
| Display boot information | N/A | bootinfo |
| Display or alter the list of boot devices | boot | bootlist |
User Management Tasks
| Tasks/Locations | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Run multiple tasks in a GUI environment | admintool | smit (smitty) or wsm |
| Add a user | useradd | mkuser |
| Remove a user | userdel | rmuser |
| Change a user | usermod | chuser |
| List users | listuers | lsuser |
| Password files | /etc/passwd /etc/shadow |
/etc/apsswd /etc/security/passwd |
| Group files | /etc/group | /etc/group /etc/security/group |
| Process resource limits for users | /etc/system | /etc/security/limits |
| Systemwide environment file | N/A | /etc/environment |
| Environment attributes for users | N/A | /etc/security/environ |
| Configuration information for logging into system | /etc/default/login | /etc/security/login.cfg |
| Configuration information for user authentication | /etc/pam.conf | /etc/security/login.cfg |
| Profile template | /etc/skel/local.profile | /etc/security/.profile |
Device Management and Configuration
| Tasks | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Run multiple tasks in a GUI environment | admintool | smit (smitty) or wsm |
| Configure a device | Choose from the following:
|
cfgmgr |
| Define a device | Choose from the following:
|
mkdev |
| Remove a device | rem_drv | rmdev |
| change a device | N/A | chdev |
| List devices | sysdef | lsdev |
| Display device | prtconf | lscfg |
Network Management and Configuration
| Tasks | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Run multiple tasks in a GUI environment | admintool | smit (smitty) or wsm |
| Configure TCP/IP | ifconfig | mktcpip |
| Display interface settings | ifconfig | ifconfig |
| Configure interface | ifconfig | ifconfig |
| Change name service | edit /etc/nsswitch.conf | chnamsv |
| Unconfigure name service | edit /etc/nsswitch.conf | rmnamsv |
| Display name service | cat /etc/nsswitch.conf | lsnamsv |
Printer Management and Configuration
| Tasks | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Run multiple tasks in a GUI environment | admintool | smit (smitty) or wsm |
| Add a printer | lpadmin | mkdev |
| Start a printer | enable | qadm |
| Stop a printer | disable | qadm |
| Add a printer class | lpadmin | N/A |
| Disaply printer queue status | lpstat | lpstat |
| Cancel a print job | cancel | qcan |
| Add printer queue | lpadmin | mkque mkquedev mkvirprt |
| Change printer queue | lpadmin | chque chquedev chvirprt |
| Remove printer queue | lpadmin | rmque rmquedev rmvirprt |
| Display printer queue settings | lpadmin | lsque lsquedev lsvirprt |
File System Management
| Tasks | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Run multiple tasks in a GUI environment | admintool | smit (smitty) or wsm |
| Foramt a disk | format | N/A |
| Check a fle system | fsck | fsck |
| Mount a file system | mount | mount |
| Display available file sytem space | df | df |
| Partition a disk | format | N/A |
| List a volume's table of contents | prtvtoc | lchangelv |
| Add a file system | newfs mkfs |
crfs |
| Unmount a file syetem | umount | umount |
| Backup file system files/directories | ufsdump | backup |
| Restore file systems file/directories | unfrestore | restore |
| Change a file system | tunefs | chfs |
| Remove a file system | N/A | rmfs |
| Display a file system | cat /etc/vfstab | lsfs |
Virtual Disk Management
| Tasks | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Run multiple tasks in a GUI environment | metatool | smit (smitty) or wsm |
| Expand a file system | growfs | cgfs smitty chjfs |
| Delete metadevice | metaclear | N/A |
| Configure metadevice | metainit | N/A |
| Modify metadevice | metaparam | N/A |
| Rename metadevice | metarename | N/A |
| Displat status of metadevice | metastat | N/A |
Logical Volume Management
The information in this table includes Solaris 8 and the Veritas Volume Manager (VxVM). IBM includes its Logical Volume Manager (LVM) in AIX Version 4.3.3.
| Tasks | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Storage Structure |
|
|
| Run multiple tasks in a GUI environment | vxva | smit (smitty in non-GUI) or wsm |
| Move logical volume to another physical volume | vxassist move | migratepv |
| Create logical volume | vxassist make | mklv |
| Extend logical volume | vxassist growto | extendlv |
| Remove logical volume | vxedit rm | rmlv |
| Set up sysboot information on VM disk | vxbootsetup | N/A |
| Manage VM disks | vxdisk | N/A |
| Create volume group | vxdg init | mkvg |
| Add disks under volume manager | vxdiskadd | extendvg |
| Administer disks | vxdiskadm | redicevg extendvg |
| Setup disks | vxdisksetup | extendvg |
| Change logical volume settings | vxedit set | chlv |
| Create configuration records for storage structures | vxmake | mkvg mklv |
| Manage plexes or volume groups | vxplex | chvg mkvg |
| Display volume group | vxprint | chvg lsvg |
| Change size of volume | vxresize | lchangelv |
| Manage subdisk or physical volume | vxsd | chpv |
| Display statistics for storage structures | vxstat | lspv lsvg lslv |
| Manage volumes | vxvol | chlv mklv rmlv |
| Backup up operating system | ufsdump | mksysb mkcd |
| Restore operating system | ufsrestore | restore |
Troubleshooting and Additional Location Information
| Tasks | Solaris 8 | AIX 4.3.3 |
|---|---|---|
| Change a hostname | Edit:
|
chdev -l inet0 -a hostname=hostname |
| List of well-known networking services and port numbers | /etc/services | /etc/services |
| List of well-known protocols | /etc/protocols | /etc/protocols |
| Provide interface-level packet tracing for Internet protocols | snoop | iptrace |
| Display network status | netstat | netstat |
| Display NFS and RPC statistics | nfsstat | nfsstat |
| Display statistics on network I/O and network CPU usage | N/A | netpmon |
| Display a snapshot of virtual memory | N/A | svmon |
| Display virtual memory statistics | vmstat | vmstat |
| Display I/O statistics | iostat | iostat filemon |
| Report system activity | sar | sar |
| Display simple and complex lock contention information | N/A | lockstat |
| Report CPU usage | N/A | tprof |
| Simulate a system with different memory sizes for performance testing | N/A | rmss |
| Display system error log | dmesg | errpt -a |
| Display/Set dump device | dumpadm | sysdumpdev |
| Display paging/swapping space | swap -l | lsps -a |
| Specify users who have access to cron (Every user has access to cron if the access file does not exist.) | /etc/cron.d/cron.allow | /var/adm/cron/cron.allow |
| Specify users who have no access to cron | /etc/cron.d/cron.deny | /var/adm/cron/cron.deny |
| Specify remote users and hosts that can execute commands on the local host | /etc/hosts.equiv | /etc/hosts.equiv |
| Information about mounting local and remote file system | /etc/vfstab | /etc/filesystems |
| Display information about the current mounted file systems | mount /etc/mnttab |
mount |
| Default superuser log | /var/adm/sulog | /var/adm/sulog |
| Configure syslogd logging | /etc/syslog.conf | /etc/syslog.conf |
| Display physical RAM | prtconf | bootinfo -r |