12/02/96, 4FAX# 2545 Restoring 128 Port Adapter Configuration After mksysb SPECIAL NOTICES Information in this document is correct to the best of our knowledge at the time of this writing. Please send feedback by fax to "AIXServ Information" at (512) 823-4009. Please use this information with care. IBM will not be responsible for damages of any kind resulting from its use. The use of this information is the sole responsibility of the customer and depends on the customer's ability to eval- uate and integrate this information into the customer's operational environment. ABOUT THIS DOCUMENT This document addresses the failure of a mksysb restore to recreate the exact configuration of the 128 port adapter. This document applies to both AIX 3.2.x and 4.1.x but cannot be used to migrate the configuration from 3.2 to 4.1. Possible reasons are: 1. The rans are configured in bus order, this may be dif- ferent than the original order. This results in the tty's and printers being assigned to different physical devices. 2. Remote rans are not restored due to cfgmgr not finding the rans during the rebuild process. NOTE: This assumes that no hardware has been moved nor added. For instance, the 128 port adapters are in the same slots and the rans remain in their original posi- tion. This also assumes that tty's and lp's have not been given any unique naming. STEPS 1. Place the mksysb tape in the tape drive and run the fol- lowing: cd /tmp for AIX 3.2.5 tctl -f /dev/rmt0.1 fsf 3 tar -xvf /dev/rmt0 ./etc/objrepos for AIX 4.x restore -s4 -xdvf /dev/rmt0.1 ./etc/objrepos 2. Change the ODMDIR pointer to the new temporary ODM data- base and extract the needed information. Restoring 128 Port Adapter Configuration After mksysb 1 12/02/96, 4FAX# 2545 export ODMDIR=/tmp/etc/objrepos odmget -q "name like tty*" CuAt >>tty.out odmget -q "name like tty*" CuDv >>tty.out odmget -q "name like lp*" CuAt >>lp.out odmget -q "name like lp*" CuDv >>lp.out odmget -q "name like sa*" CuAt >>sa.out odmget -q "name like sa*" CuDv >>sa.out odmget -q "name like cxma*" CuDv >cxma.out odmget -q "name like cxma*" CuAt >>cxma.out 3. Change the ODMDIR pointer back to the original database and delete entries we are going to be changing: export ODMDIR=/etc/objrepos odmdelete -o CuDv -q "name like tty*" odmdelete -o CuAt -q "name like tty*" odmdelete -o CuDvDr -q "value3 like tty*" odmdelete -o CuAt -q "name like lp*" odmdelete -o CuDv -q "name like lp*" odmdelete -o CuDvDr -q "value3 like lp*" odmdelete -o CuAt -q "name like sa*" odmdelete -o CuDv -q "name like sa*" odmdelete -o CuAt -q "name like cxma*" odmdelete -o CuDv -q "name like cxma*" 4. Next, add the saved pieces back in: odmadd lp.out odmadd tty.out odmadd sa.out odmadd cxma.out 5. Save the base configuration to the boot disk and reboot. Upon reboot, missing /dev and /etc/inittab entries will be created. savebase shutdown -Fr. Restoring 128 Port Adapter Configuration After mksysb 2 12/02/96, 4FAX# 2545 READER'S COMMENTS Please fax this form to (512) 823-4009, attention "AIXServ Informa- tion". You may also e-mail comments to: elizabet@austin.ibm.com. These comments should include the same customer information requested below. Use this form to tell us what you think about this document. If you have found errors in it, or if you want to express your opinion about it (such as organization, subject matter, appearance) or make sug- gestions for improvement, this is the form to use. If you need technical assistance, contact your local branch office, point of sale, or 1-800-CALL-AIX (for information about support offer- ings). These services may be billable. Faxes on a variety of sub- jects may be ordered free of charge from 1-800-IBM-4FAX. Outside the U.S. call 415-855-4329 using a fax machine phone. When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any way it believes appropriate without incurring any obligation to you. NOTE: If you have a problem report or item number, supplying that number may help us determine why a procedure did or did not work in your specific situation. Problem Report or Item #: Branch Office or Customer #: Be sure to print your name and fax number below if you would like a reply: Name: Fax Number: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ END OF DOCUMENT (mksysb.128port.fix.bak, 4FAX# 2545) Restoring 128 Port Adapter Configuration After mksysb 3