Notes on when I finished the upgrade of ar0072e0 to DCE 2.2 on 12-4-99. | Starting Point | Ending Point ---------+---------------------------+-------------------- AIX | 4.3.2 | 4.3.2 DCE | 2.1 | 2.2 /var/dce | Part of /var file system | Its own file system /etc/dce | Part of / file system | Ok as is. /krb5 | Part of / file system | Ok as is. Setup ===== 1) Comment out /etc/rc.dce from /etc/inittab, and reboot to stop DCE. 2) Make backups in /dceconfig directory. - Clear out /dceconfig leaving only empty etcdce, krb5, and vardce directories. - lslpp -L > /dceconfig/lslpp-L - cp -pr /var/dce/* /dceconfig/vardce - cp -pr /etc/dce/* /dceconfig/etcdce - cp -pR /krb5/* /dceconfig/krb5 3) Restore /var/dce. - Make a 800 Mb /var/dce file system (1638400 512-byte blocks). - mv /var/dce /var/dce.orig - mount /var/dce - cp -pr /var/dce.orig/* /var/dce - rm /var/dce.orig 4) Start DCE to insure all is in a consistent state. It is. - /etc/rc.dce all Conversion ========== 1) With /etc/rc.dce still commented out in /etc/inittab, reboot again to stop DCE. 2) Clean out the /dfscache directory. for i in $(jot 10 0);do rm /dfscache/V1$i*;done for i in $(jot 10 0);do rm /dfscache/V$i*;done find /dfscache -type f -exec rm {} \; 3) Restore /etc/rc.dce line in /etc/inittab. 4) Install DCE 2.2 (here we go). - mount cws:/spdata/sys1/install/aix432/lppsource /mnt - smitty update_all Afterwards, check the level of the DCE filesets. I've had cases where for some reason, DCE (and other filesets) didn't get updated the first time, but did the second. Couldn't explain it. 5) Attempt the conversion. /etc/rc.dce all 6) Check out /opt/dcelocal/etc/cfgdce.log for errors. Had to dce.clean to stop DCE, then /etc/rc.dce all again before it converted everything ok, but all did come up. 7) Configure dceunixd, either via "config.dce dce_unixd" or smitty. - smitty dce - Configure DCE/DFS - Configure DCE/DFS Servers - DCE UNIXD Server Accept all the defaults. 8) Check for old DCE 2.1 crap with a lslpp -L | more. I had to manually - installp -u dce.compat.dfsnfs.smit dce.msg.en_US.compat.dfsnfs.smit - installp -u dce.compat.edfs.smit dce.msg.en_US.compat.edfs.smit - installp -u dce.doc.en_US.inf dce.doc.en_US.smit - installp -u dce.dfsnfs.rte 9) shutdown -Fr one more time to verify all's well. On the shutdown, I received these msgs dfsexport: revoking tokens for filesets on aggregate 5 dfsexport: revoking tokens for filesets on aggregate 4 dfsexport: revoking tokens for filesets on aggregate 3 dfsexport: revoking tokens for filesets on aggregate 2 1999-12-04-08:05:46.252-08:00I----- dfsexport WARNING ftl general aggr_ops.c 310 0x00000001 msgID=0x2224300A dfsexport: failed to detach /dev/scsi0lv:scsi0, status 0x00000080 (??? / aaa) dfsexport: revoking tokens for filesets on aggregate 1 So check out aggregate 1 on reboot. Here's /var/dce/dfs/dfstab # blkdev aggname aggtype aggid [UFS fsid] /dev/ssa0lv ssa0 lfs 1 /dev/scsi0lv scsi0 lfs 2 /dev/scsi1lv scsi1 lfs 3 /dev/ssa1lv ssa1 lfs 4 /dev/ssa2lv ssa2 lfs 5 So aggregate 1 is ssa0, which has patent.fpcache.00-49 and patent.fpcache300.25-49 on it. On reboot, there was a lot of recovery going on. See the log file at /var/dce/dfs/adm/FtLog to monitor it. All seemed well after time, though. ========================================================================= Notes on when I finished the upgrade of ar0071e0 to DCE 2.2 on 12-4-99. | Starting Point | Ending Poing ---------+---------------------------+-------------------- AIX | 4.3.2 | 4.3.2 DCE | 2.1 | 2.2 /var/dce | Link to /dceconfig/vardce | Its own file system /etc/dce | Link to /dceconfig/etcdce | Part of / file system. /krb5 | Link to /dceconfig/krb5 | Part of / file system. Setup ===== 1) Comment out /etc/rc.dce from /etc/inittab, and reboot to stop DCE. 2) Make backups in /dceconfig directory. Remove links, keeping /dceconfig/etcdce and /dceconfig/vardce directories as backups. - rm /var/dce /etc/dce /krb5 - lslpp -L > /dceconfig/lslpp-L 3) Restore /var/dce. - Make a 800 Mb /var/dce file system (1638400 512-byte blocks). - mount /var/dce - cp -pr /dceconfig/vardce/* /var/dce 4) Restore /etc/dce and /krb5 - mkdir /etc/dce /krb5 - cp -pr /dceconfig/etcdce/* /etc/dce - cp -pr /dceconfig/krb5/* /krb5 5) Start DCE to insure all is in a consistent state. It is. - /etc/rc.dce all Conversion ========== 1) With /etc/rc.dce still commented out in /etc/inittab, reboot again to stop DCE. 2) Clean out the /dfscache directory. for i in $(jot 10 0);do rm /dfscache/V1$i*;done for i in $(jot 10 0);do rm /dfscache/V$i*;done find /dfscache -type f -exec rm {} \; 3) Restore /etc/rc.dce line in /etc/inittab. 4) Install DCE 2.2 (here we go). mount cws:/spdata/sys1/install/aix432/lppsource /mnt smitty update_all 5) Check for old DCE 2.1 crap with a lslpp -L | more. I had to manually - installp -u dce.compat.edfs.smit dce.msg.en_US.compat.edfs.smit - installp -u dce.doc.en_US.inf dce.doc.en_US.smit - installp -u dce.dfsnfs.rte 6) Attempt the conversion. /etc/rc.dce all 7) Check out /opt/dcelocal/etc/cfgdce.log for errors. Had to dce.clean to stop DCE, then /etc/rc.dce all again before it converted everything ok, but all did come up. 8) Configure dceunixd. - smitty dce - Configure DCE/DFS - Configure DCE/DFS Servers - DCE UNIXD Server Accept all the defaults. 9) shutdown -Fr one more time to verify all's well. Interesting that I got lots of dfsexport ERROR messages, saying that it Can't get ... token on 0,,14329, server ar0071e0.patent.ibm.com: because the Server initializing after restart: wait and retry (dfs / fsh) but it "proceeding with detach" and finally shut down. On reboot, there was a lot of recovery going on. See the log file at /var/dce/dfs/adm/FtLog to monitor it. All seemed well after time, though.