Quick Reference: Solaris to AIX September 2001

October 16, 2001

Kim Tran

Quick Reference: Solaris to AIX September 2001 .

.

Quick Reference: Solaris to AIX September 2001 .

Copyright IBM Corporation 2000 All rights reserved .

. . . . . . . . . . . . . . . . . . . . . . . Network Management and Configuration. . . . . . . . . . . . . . . . . 13 iii . . . . . . 8 Virtual Disk Management . . . . . . . . 10 Special Notices . . . . . . . 9 Troubleshooting and Additional Location Information . . . . . . . . . . . . . . . . . . . . Installing and Upgrading Tasks . . . . . 1 Packaging . . . . Printer Management and Configuration . . . . . .Contents Quick Reference: Solaris to AIX . 8 Logical Volume Management . Device Management and Configuration . . User Management Tasks . Booting and Shutting Down . . 1 2 3 4 5 6 7 File System Management . . . . . . . . . . . . .

iv Quick Reference: Solaris to AIX .

1. AIX library information is listed under Technical Publications. Units Smallest installable unit Single installable image.0 fileset package Solaris 8 package package bundle Bundle offering. for example: v App-Dev: Application Development Environment v Client: – Pers-Prod – DCE-Client – Media-Defined software cluster Software configuration clusters.Quick Reference: Solaris to AIX Use this reference to contrast the AIX Version 5. Tables can also include location information of files or pertinent information that is related to the category they contain. Table 1. refer to the following Web address: http://www.com/servers/aix/library/. For detailed information about the AIX operating system.1 and Solaris 8 operating systems. Tasks are grouped according to major categories that are listed below. The following tables contrast common tasks on these operating systems.ibm. This reference provides information on AIX and Solaris in the following categories: v Packaging v Installing and Upgrading Tasks v Booting and Shutting Down v User Management Tasks v Device Management and Configuration v Network Management and Configuration v Printer Management and Configuration v File System Management v Virtual Disk Management v Logical Volume Management v Troubleshooting and Additional Location Information Packaging The following information contrasts AIX and Solaris packaging details. Each major category is contained within a table. must be distributed and installed as a unit Logical grouping of packages Logical grouping of packages and software clusters AIX Version 5. for example: v Core: Required operating system files v End-User System Support: Core plus window environment v Developer System Support: End-User plus the development environment v Entire Distribution: Developer System plus enhanced features v Entire Distribution Plus OEM: Entire Distribution plus third-party hardware drivers (on SPARC only) 1 .

Installing and Upgrading Tasks The information contrasts AIX and Solaris installing and upgrading tasks.1.0 installp -a or smitty install_latest (fast path) Display installed packages lslpp -L or smitty list_installed_sw (fast path) Remove software package installp -r (for applied package) or smitty reject (fast path) installp -u (for committed package) or smitty remove (fast path) Upgrade a package Verify correct installation installp -a lppchk or smitty check_files (fast path) Install a patch instfix or smitty update_by_fix (fast path) Remove a patch installp -r or smitty reject (fast path) Display installed patches Install OS on another disk (Alternate disk installation) Create an installation server for network installation Create a boot server for network installation Set up a client for network installation instfix -ia alt_disk_install nimconfig smitty nim_config_env nim -o bos_inst showrev -p Live Upgrade setup_install_server install_dir_path setup_install_server -b bootdirpath add_install_client patchrm patchadd N/A pkgchk pkginfo or pkgparam pkgrm Solaris 8 pkgadd 2 Quick Reference: Solaris to AIX . Tasks Install packages AIX Version 5. Table 2.

Determine a system’s run level who -r who -r Quick Reference: Solaris to AIX 3 . load the system board.boot script Kernel modules directory Kernel and kernel extension modules are stored in two directories: v /usr/lib/boot v /usr/lib/drivers Kernel modules are stored in three directories: v /platform/sparc/kernel or /platform/i86pc/kernel v /kernel v /usr/kernel System run levels Defined run levels: v 0-1: Reserved for future use v 2: Multiuser mode with NFS resources shared (default run level) v 3-9: Defined according to the user’s preferences v m. Table 3.S: Single-user mode (maintenance level) Eight run levels: v 0: Power-down state v s or S: Single-user state v 1: Administrative state v 2: Multiuser state v 3: Multiuser state with NFS resources shared (default run level) v 4: Alternative multiuser (not in use) v a.s.q: init command to reexamine the /etc/inittab file Note: When a level from 1 to 9 is specified. loads other kernel base devices modules based on the /etc/system file.Booting and Shutting Down The following displays processes and locations of items that are involved in booting and shutting down a system in AIX and Solaris. Tasks/Locations Boot process AIX Version 5.boot script and executes the core kernel. locate ufsboot Power-On Self-Test (POST). switch to hard-disk root v init: Starts other processes based on file system. starts /sbin/init program v System Boot: Start init process phase 2. locate the boot image.0 Phases: Solaris 8 Phases: v Boot PROM: Display system v Read Only Storage (ROS): Check information. load the boot image v Boot Programs: bootblk loads and into memory.c: Starts processes assigned to v 5: Power-down state the new run levels while leaving the existing processes at the current v 6: Reboot state level running v Q. perform bootblk. run POST. the init command kills processes at the current level and restarts any processes associated with the new run level based on the /etc/inittab file.b.1.M. begin system executes the ufsboot initialization and execute phase 1 of v Kernel Initialization: ufsboot loads the /etc/rc. v Base Device Configuration: Start initializes core kernel data Configuration Manager to configure structures. start other processes the /etc/inittab file defined by records in the /etc/inittab file and execute phase 3 of the /etc/rc.

1.0 Choose one of the following: v smitty users (fast path) v smitty v wsm Add a user Remove a user Change a user List users Password files mkuser rmuser chuser lsuser /etc/passwd and /etc/security/passwd Group files /etc/group and /etc/security/group Process resource limits for users /etc/security/limits N/A useradd userdel usermod listusers /etc/passwd and /etc/shadow /etc/group Solaris 8 admintool 4 Quick Reference: Solaris to AIX .0 telinit level number Solaris 8 Choose one of the following: v halt v init v poweroff v reboot v shutdown v telinit v uadmin /sbin/rc run-level number N/A N/A boot reboot or shutdown -i 6 halt or poweroff Startup script Use new kernel Display boot information Display or alter the list of boot devices Shutdown and reboot Shutdown /etc/rc bosboot bootinfo bootlist shutdown -Fr shutdown or halt User Management Tasks The following displays tasks and location of files or information that is needed to perform user management in AIX and Solaris. Table 4.1. (continued) Tasks/Locations Change a system’s run level AIX Version 5.Table 3. Tasks/Locations Run multiple tasks in a GUI environment AIX Version 5.

profile /etc/pam. Table 5.0 /etc/profile and /etc/environment Configuration information for user authentication Profile template /etc/security/user /etc/security/. (continued) Tasks/Locations Systemwide environment file AIX Version 5.1.1.Table 4. Tasks Run multiple tasks in a GUI environment AIX Version 5.0 Choose one of the following: v smitty device (fast path) v smitty v wsm Configure a device cfgmgr Choose one of the following: v drvconfig v devlinks v disks v tapes v ports Choose one of the following: v drvconfig v devlinks v disks v tapes v ports rem_drv N/A sysdef Solaris 8 admintool Define a device mkdev Remove a device Change a device List devices rmdev chdev lsdev Quick Reference: Solaris to AIX 5 .profile Solaris 8 N/A Device Management and Configuration The following is a list of tasks that are used for device management and configuration in AIX and Solaris.conf /etc/skel/local.

0 Choose one of the following: v smitty tcpip (fast path) v smitty v wsm Configure TCP/IP mktcpip Editing all of the following: /etc/hostname. Table 6.conf vi /etc/nsswitch.1. Tasks Run multiple tasks in a GUI environment AIX Version 5.conf or NSORDER environment variable ifconfig ifconfig vi /etc/nsswitch.conf Solaris 8 N/A Configure host name resolution order vi /etc/nsswitch.conf cat /etc/nsswitch.conf vi /etc/netsvc.* /etc/inet.* /etc/defaultrouter /etc/defaultdomain Display interface settings Configure interface Change name service Unconfigure name service Display name service ifconfig ifconfig chnamsv rmnamsv lsnamsv or cat /etc/resolv.conf 6 Quick Reference: Solaris to AIX .Network Management and Configuration The following are tasks that are employed when performing network management and configuration in AIX and Solaris.

Printer Management and Configuration The following displays tasks that are involved in printer management and configuration in AIX and Solaris. Table 7.1.0 Choose one of the following: v smitty print (fast path) v smitty v wsm Add a printer Start a print queue mkdev qadm (AIX printing subsystem) or lpc (System V) qadm (AIX printing subsystem) or lpc lpstat qcan Choose one of the following: v AIX printing subsystem: – mkque – mkquedev – mkvirprt v System V: – lpadmin -p Change a print queue Choose one of the following: v AIX printing subsystem: – chque – chquedev – chvirprt v System V: – lpadmin -p Remove a print queue Choose one of the following: v AIX printing subsystem: – rmque – rmquedev – rmvirprt v System V: – lpadmin -x Display settings of a print queue Choose one of the following: v AIX printing subsystem: – lsque – lsquedev – lsvirprt v System V: – lpstat lpadmin lpadmin lpadmin lpadmin enable Solaris 8 admintool Stop a print queue disable Display print queue status Cancel a print job Add a print queue lpstat cancel lpadmin Quick Reference: Solaris to AIX 7 . Tasks Run multiple tasks in a GUI environment AIX Version 5.

Table 9.File System Management The following are tasks that are employed when performing file system management in AIX and Solaris.Automatically handled lchangelv crfs format fsck mount df format prtvtoc newfs or mkfs Unmount a file system Back up file systems/files/directories Restore file systems/files/directories Change a file system Remove a file system Display file system information umount backup restore chfs rmfs lsfs or cat /etc/filesystems Display file system mount table mount /etc/mtab umount ufsdump ufsrestore tunefs N/A cat /etc/vfstab Solaris 8 N/A Virtual Disk Management The following is a list of tasks that are used when implementing virtual disk management in AIX and Solaris. Tasks Run multiple tasks in a GUI environment AIX Version 5.0 Choose one of the following: v smitty fs (fast path) v smitty v wsm Format a disk Check a file system Mount a file system Display available file-system space Partition a disk List a volume’s table of contents Add a file system N/A .Automatically handled fsck mount df N/A . Table 8.1 smitty chjfs or wsm chfs or smitty chjfs Delete metadevice Configure metadevice N/A N/A metaclear metainit Solaris 8 metatool growfs 8 Quick Reference: Solaris to AIX . Tasks Run multiple tasks in a GUI environment Expand file system AIX Version 5.1.

A volume group is composed of physical volumes. A physical volume is a physical disk the same thing as a disk. A subdisk (somewhat similar to AIX physical partition) is composed of partitions/slices. vxva Run multiple tasks in a GUI environment Choose one of the following: v smitty lvm (fast path) v smitty v wsm Move logical volume to another physical volume Create logical volume Extend logical volume Remove logical volume Create volume group Remove disk from volume group Add disks under volume manager Administer disks migratepv mklv extendlv rmlv mkvg reducevg extendvg reducevg or extendvg vxassist move vxassist make vxassist growto vxedit rm vxdg init vxdg rmdisk vxdiskadd vxdiskadm Set up disks extendvg vxdisksetup Quick Reference: Solaris to AIX 9 . The information in this table includes Solaris 8 and the Veritas Volume Manager (VxVM). A volume group is divided into logical volumes. A plex (similar to AIX logical partition) is composed of subdisks.1. A volume (similar to AIX logical volume) is composed of plexes. (continued) Tasks Modify metadevice Rename metadevice Display status of metadevice AIX Version 5.Table 9. A logical volume is extensible and can reside on more than one physical volume. A file system is placed onto a logical volume.1 N/A N/A N/A Solaris 8 metaparam metarename metastat Logical Volume Management The following is a list of tasks that are used when performing logical volume management in AIX and Solaris. A VM disk is composed of subdisks. IBM includes its Logical Volume Manager (LVM) in AIX Version 5.0 Solaris 8 A disk is composed of physical partitions. A disk group (similar to AIX volume group) is composed of VM disks. A file system is placed onto a partition.1. Tasks Storage Structure AIX Version 5. A disk is composed of partitions/slices. Table 10.

1.1.Table 10. Table 11.* v /etc/net/*/hosts List of well-known networking services and port numbers List of well-known protocols /etc/services /etc/protocols /etc/services /etc/protocols snoop netstat nfsstat N/A Provide interface-level packet tracing iptrace for Internet protocols Display network status Display NFS and RPC statistics Display statistics on network I/O and network CPU usage netstat nfsstat netpmon 10 Quick Reference: Solaris to AIX .0 Solaris 8 vxedit set vxmake Change logical volume settings chlv Create configuration records for mkvg storage structures or mklv Manage plexes or volume groups chvg or mkvg Display volume group Change size of logical volume lsvg extendlv or chlv Manage subdisk or physical volume Display statistics for storage structures chpv Choose one of the following: v lspv v lsvg v lslv Choose one of the following: v chlv v mklv v rmlv vxplex vxprint vxresize vxsd vxstat Manage volume vxvol Troubleshooting and Additional Location Information The following table includes troubleshooting and additional location information in AIX and Solaris. (continued) Tasks AIX Version 5. Tasks/Locations Change a host name AIX Version 5.0 chdev -l inet0 -a hostname=host name Solaris 8 Minimum change required for the following files: v /etc/nodename v /etc/hosts v /etc/hostname.

allow /var/adm/cron/cron.d/cron.deny /etc/hosts.conf prtconf Back up operating system mksysb (to tape or file) or mkcd (CD-ROM) Solstice Backup: nwadmin Restore operating system mksysb (to tape or file) or mkcd (CD-ROM) Choose one Solstice Backup: v nwadmin v nwrecover Start or stop scripts directory Devices directory /etc /dev /etc/init.equiv /etc/cron.deny /etc/hosts.1.0 svmon svmon vmstat iostat or filemon Report system activity Display simple and complex lock contention information Report CPU usage Simulate a system with different memory sizes for performance testing Display system error log Display/Set dump device Display paging/swapping space sar lockstat tprof or topas rmss sar N/A N/A N/A Solaris 8 N/A N/A vmstat iostat errpt -a sysdumpdev lsps -a dmesg N/A swap -l /etc/cron.Table 11.d/cron. (continued) Tasks/Locations Display a snapshot of virtual memory Capture and analyze a snapshot of virtual memory Display virtual memory statistics Display I/O statistics AIX Version 5.d /devices Quick Reference: Solaris to AIX 11 .equiv /var/adm/sulog /etc/syslog.allow Specify users who have access to cron (Every user has access to cron if the access file does not exist.conf bootinfo -r or prtconf /var/adm/sulog /etc/syslog.) Specify users who have no access to cron Specify remote users and hosts that can execute commands on the local host Default superuser log Configure syslogd logging Display physical RAM /var/adm/cron/cron.

12 Quick Reference: Solaris to AIX .

IBM may not offer the products. programs. there is no guarantee that the same or similar results will be obtained elsewhere. and features available in your area. IBM Corporation. The use of this information or the implementation of any techniques described herein is a customer responsibility and depends on the customer’s ability to evaluate and integrate them into the customer’s operational environment. service or feature. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.Special Notices This document was produced in the United States. Sources for non-IBM list prices and performance numbers are taken from publicly available information including D. Therefore. Some measurements quoted in this document may have been estimated through extrapolation. service or feature that does not infringe on any of IBM’s intellectual property rights may be used instead of the IBM product. Armonk. IBM has not tested these products and cannot confirm the accuracy of performance. Actual results may vary. and the information may be subject to change without notice. Information in this document concerning non-IBM products was obtained from the suppliers of these products. Any performance data contained in this document was determined in a controlled environment. Any reference to an IBM product. service or feature may be used. Customers attempting to adapt these techniques to their own environments do so at their own risk. IBM cannot guarantee the accuracy of any information presented after the date of publication. Consult your local IBM business contact for information on the products. program. Some measurements quoted in this document may have been made on development-level systems. program. IBM is not responsible for printing errors in this publication that result in pricing or information inaccuracies. compatibility or any other claims related to non-IBM products. to IBM Director of Licensing. published announcement material or other publicly available sources. Any functionally equivalent product. New Castle Drive. vendor WWW Home Pages. SPEC Home Page. Brown. NY 10504-1785 USA. IBM may have patents or pending patent applications covering subject matter in this document. program.H. 13 . services or features discussed herein in other countries. The information contained in this document has not been submitted to any formal IBM test and is distributed ″AS IS″. The furnishing of this document does not give you any license to these patents. There is no guarantee these measurements will be the same on generally available systems. in writing. service or feature is not intended to state or imply that only IBM’s product. While each item may have been reviewed by IBM for accuracy in a specific situation. GPC (Graphics Processing Council) Home Page and TPC (Transaction Processing Performance Council) Home Page. programs. the results obtained in other operating environments may vary significantly. vendor announcements. The information contained in this document represents the current views of IBM on the issues discussed as of the date of publication. Send license inquires. Users of this document should verify the applicable data for their specific environment. program. services.

UNIX is a registered trademark in the United States and other countries licensed exclusively through The Open Group.S.htm.ibm. trademarks owned by IBM can be found at http://iplswww.com/wpts/trademarks/trademar. A full list of U. 14 Quick Reference: Solaris to AIX . product and service names may be trademarks or service marks of others.The following terms are trademarks of International Business Machines Corporation in the United States and/or other countries: AIX. Other company.nas.

.

Printed in the United States of America on recycled paper containing 10% recovered post-consumer fiber. .

Sign up to vote on this title
UsefulNot useful