Notes from upgrading curupira, 26 April 2004
Start time 0955

Ran xh-os-upgrade -b in ~mpatters/upgrade
curupira 21# cp /tmp/xos_1403811/pkgs.sort.ed .
curupira 22# cp /tmp/xos_1403811/uninstall.log .

curupira 9# ls -lR /vendor
total 8
-rw-r--r--    1 root     sys          601 Feb  5  2003 .cshrc
...
/vendor/etc:
total 16
-rw-r--r--    1 root     sys          573 Aug  9  2002 cshrc
-rw-r--r--    1 root     sys          265 Apr 30  2003 group

Only things in group that were different were things we added and:
< sgismmsp:*:25:sgismmsp
---
> sgismmsp:*:25:
> accounts::102:dabrown,jkeir,lcsuess,pnrthomp,rbutterw

so that should be ok.

/etc/cshrc doesn't exist.  So I copied /vendor/etc/cshrc to /etc.
Also did
curupira 28# cp /.cshrc /xhier-cshrc
curupira 29# cp .cshrc /

curupira 31# ls -l
total 0
lrwxr-xr-x    1 root     sys           39 May  6  2003 indir ->
../.software/arch/mfcf-basics/bin/indir
lrwxr-xr-x    1 root     sys           50 Aug  9  2002 perl55 ->
../share/disk/.software/arch/perl-5.005/bin/perl55
lrwxr-xr-x    1 root     sys           55 Jan  4  2003 perlcc ->
/share/disk/.software/arch/perl-5.004-vendor/bin/perlcc
curupira 32# rm *

curupira 39# pwd
/.software/local/xhier/data/conf_save
curupira 40# find . -type f
./patch/os-extras/.#xh-patch-lock
./patch/os-extras/setdefault
./patch/irix_extras/.#xh-patch-lock
./patch/lpr/.#xh-patch-lock
./patch/local_curupira.math.uwaterloo.ca/.#xh-patch-lock
./crontab/xhier
./crontab/os-extras
./services/xhier
./aliases/xhier
./aliases/os-extras
curupira 41# 

so we don't care about any of the xh-patch-lock files.
I couldn't remember what to do with the rest, so I:
curupira 58# tar cf /home/mpatterson/upgrade/conf_save.tar .
(from /.software/local/xhier/data/conf_save)

curupira 61# xh-rm-package -f os-extras
Msmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
Mesmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
Msmtp8: Warning: first argument in [IPC] mailer must be TCP or FILE
Mrelay: Warning: first argument in [IPC] mailer must be TCP or FILE
Warning: .cf file is out of date: sendmail SGI-8.12.5 supports version 10, .cf
file is version 8
xh-patch: FYI: Next patchfile in the list is "setdefault"...
xh-patch: Ignoring patchfile "setdefault"
curupira 62#  xh-rm-package -f xhier
showpath: Unknown software package name "os-extras".
xhier Install: unable to set search rules,
xhier Install:   so subsequent (de)installation may fail.
showpath: "xhier" is not installed.
UX:csh: SV=0: No match
xh-chk-services: warning: duplicate entry redefining readnews/tcp to port 532
(readnews/tcp to port 119) discarded
showpath: "xhier" is not installed.
Msmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
Mesmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
Msmtp8: Warning: first argument in [IPC] mailer must be TCP or FILE
Mrelay: Warning: first argument in [IPC] mailer must be TCP or FILE
Warning: .cf file is out of date: sendmail SGI-8.12.5 supports version 10, .cf
file is version 8
showpath: "xhier" is not installed.
showpath: "xhier" is not installed.
showpath: "xhier" is not installed.
showpath: "xhier" is not installed.
showpath: "xhier" is not installed.
xh-rm-package warning: deinstallation of "xhier" failed,
xh-rm-package warning:   so system state may not have been
xh-rm-package warning:   properly restored.
showpath: "xhier" is not installed.
UX:csh: SV=0: xh-gather-requests - Command not found
xh-alter-requests: this host ("curupira.math") doesn't use
xh-alter-requests:   local requests files, so use "xh-dist2" instead
xh-alter-requests:   on some server to modify configuration.
curupira 63# 

And now do os-extras by hand; running stuff found in the UnInstall
fragment of the Install script.
curupira 24# rm -f /bin/showpath /usr/man/man1/showpath.1
/usr/man/cat1/showpath.1
curupira 25# rm -f /bin/searchpath /usr/man/man1/searchpath.1
/usr/man/cat1/searchpath.1
curupira 26# 

edited /var/spool/cron/crontabs/root
/etc/inetd.conf
/etc/services
/etc/shells
and removed Xhier comment fragments

Now, on curupira:
Inst> from pentane:/fsys1/IRIX_install_images/6.5.23/overlay1/dist

Hrm, got a lot of this:
Reading product descriptions ..  55% 
WARNING: Invalid filetype "X" at line 33 of desktop_eoe_6523m.idb
WARNING: Invalid filetype "X" at line 34 of desktop_eoe_6523m.idb
ERROR: No product corresponding to "" at line 33 of desktop_eoe_6523m.idb

So let's try this:
Inst> from pentane:/fsys1/IRIX_install_images/6.5_foundation/found_1/dist
Inst> open pentane:/fsys1/IRIX_install_images/6.5_foundation/found_2/dist
Inst> open pentane:/fsys1/IRIX_install_images/6.5.23/overlay1/dist

and we still got a lot of those WARNINGs.  grrr.

Ah hah, reading the caveats for install:
Updated version of Inst requires patch 5086

New installation features were used starting with IRIX 6.5.21 that necessitate
an updated version of the Inst program. If you plan to install using the
miniroot, then you may do so by the usual method. However, if you plan to
upgrade by 'live' install to IRIX 6.5.21 or later, you may have to install a
patch.

If you wish to do a live install and are running IRIX 6.5.19 or earlier, then
you must first install patch 5086. This patch can be found in the installtools
directory on CD1. Once the patch is installed, you must exit and restart Inst
before beginning your upgrade. The patch will be removed automatically once the
images have been installed.

so I guess we need that patch.

Inst> from pentane:/fsys1/IRIX_install_images/6.5.23/overlay1/installtools
Inst> k *
Inst> i patch*
Inst> go
No errors, so we quit out and re-start Inst.

Inst> from pentane:/fsys1/IRIX_install_images/6.5_foundation/found_1/dist
Inst> open pentane:/fsys1/IRIX_install_images/6.5_foundation/found_2/dist
Inst> open pentane:/fsys1/IRIX_install_images/6.5.23/overlay1/dist
hurray, no errors
then add the other 2 overlay CDs and the apps, more_apps images.

Inst> k *
Inst> i eoe.sw.jlimits
(just to be sure)
Inst> i eoe.sw.csaacct     
everything else on Robyn's list appears to be there.

e.sw.csaacct cannot be installed because of missing prerequisites:
1a. Do not install eoe.sw.csaacct (1289570120)
1b. Also install eoe.sw.acct (1289570120).

chose 1b

Inst> conflicts 1b
eoe.sw.acct cannot be installed because of missing prerequisites:
  1a. Do not install eoe.sw.acct (1289570120)
  1b. Also install eoe.sw.base (1289570120).
Inst> conflicts 1b
There are conflicts which you may address now, or postpone:

eoe.sw.base (1289570120) is incompatible with x_eoe.sw.xfwp (1278786820)
eoe.sw.base (1289570120) is incompatible with x_eoe.sw.plugin (1278786820)
eoe.sw.base (1289570120) is incompatible with x_eoe.sw.pex (1278786820)
etc.

then that gives lots of other conflicts, aiee.

So start again from scratch.  This time we'll skip the *acct* bits.
Inst> conflicts
No conflicts

Inst> go  
bleebloo

Um.  That didn't take very long at all (like 30 seconds.)
It wants to restart.
curupira 66# reboot
Reboot curupira?  y
Shutdown started.     Mon Apr 26 11:02:21 EDT 2004

Let's hope that it comes back up again ok, or we're screwed.  :)
... hurray, it did.
curupira 1# uname -R
6.5 6.5.19m
curupira 2# 

something didn't go right... maybe I shouldn't have loaded the foundation
CDs.

Let's try just loading the overlay CDs.
Ah, LOTS of things are listed as upgrades now.
But it still completed in under 15s this time.

Inst> install U
Inst> conflicts
and we got some:
performer_eoe.sw.performer cannot be installed because of missing
prerequisites:
1a. Do not install performer_eoe.sw.performer (1279105820)
1b. Also install shader_eoe.sw.libraries (1319187900).
openssl.sw.lib32 cannot be installed because of missing prerequisites:
2a. Do not install openssl.sw.lib32 (1279424520)
2b. Also install kerberos.sw.lib32 (1289323720).

so choose 1b, 2b
Inst> conflicts 1b 2b
No conflicts

woo hoo.
Inst> go
and NOW it's taking a long time.

Inst> admin config changed
m etc/group
  etc/group.N
m etc/inetd.conf
  etc/inetd.conf.N
m etc/nsswitch.conf
  etc/nsswitch.conf.N
m etc/passwd
m etc/passwd.O
m var/X11/xdm/Xservers
  var/X11/xdm/Xservers.N
  var/X11/xdm/xdm-config
m var/X11/xdm/xdm-config.O
m var/spool/cron/crontabs/root
  var/spool/cron/crontabs/root.N

Merged diffs for:
group (added a * to the daemon group passwd entry and sgismmsp to the group)
inetd.conf (changed revision number, rest were comments)

Didn't touch:
nsswitch.conf
/var/X11/xdm/Xservers

It added:
sgismmsp:*LK*:25:25:Sendmail Mail Submission Account:/dev/null:/dev/null
to passwd

It undid a bunch of changes to /var/X11/xdm/xdm-config that vizserver made.
< DisplayManager._0.loginProgram:               /var/X11/xdm/Xlogin
< DisplayManager._1.loginProgram:               /var/X11/xdm/Xlogin
< DisplayManager._2.loginProgram:               /var/X11/xdm/Xlogin
< DisplayManager._3.loginProgram:               /var/X11/xdm/Xlogin
< DisplayManager._4.loginProgram:               /var/X11/xdm/Xlogin
< DisplayManager._5.loginProgram:               /var/X11/xdm/Xlogin
< DisplayManager._6.loginProgram:               /var/X11/xdm/Xlogin
< DisplayManager._7.loginProgram:               /var/X11/xdm/Xlogin
---
> DisplayManager._0.loginProgram:
/var/X11/xdm/Xlogin.vizserver
> DisplayManager._1.loginProgram:
/var/X11/xdm/Xlogin.vizserver
> DisplayManager._2.loginProgram:
/var/X11/xdm/Xlogin.vizserver
> DisplayManager._3.loginProgram:
/var/X11/xdm/Xlogin.vizserver
> DisplayManager._4.loginProgram:
/var/X11/xdm/Xlogin.vizserver
> DisplayManager._5.loginProgram:
/var/X11/xdm/Xlogin.vizserver
> DisplayManager._6.loginProgram:
/var/X11/xdm/Xlogin.vizserver
> DisplayManager._7.loginProgram:
/var/X11/xdm/Xlogin.vizserver

so I'll copy the .O file to ~mpatters/upgrade.

It looks like somebody ("pog"?) made a bunch of changes to
/var/spool/cron/crontabs/root without really saying where, when, or why.

2 3 * * * /usr/freeware/bin/rsync -ac --delete /share/disk/curupira1/
/share/disk/curupira1.mirror/

so I'll copy the old file to ~mpatters/upgrade, and put the new one in place
over top, then copy that rsync command back in.

Quit out of inst, reboot, and pray again.
curupira 5# reboot
Reboot curupira?  y
Shutdown started.     Mon Apr 26 11:36:27 EDT 2004

curupira 1# uname -R
6.5 6.5.23m
curupira 2# 

hurray!

Now let's upgrade the applications.

use the applications and more applications images as sources, k *, install U,
resolve the 3 conflicts (moz), and go.

You must restart your system to complete the installation.

You may continue with installations or quit now.

Inst> admin config changed
m etc/passwd
m etc/passwd.O
m var/X11/xdm/Xservers
  var/X11/xdm/Xservers.N
m var/sgi_apache/httpd-outbox/etc/httpd.conf
m var/sgi_apache/httpd-outbox/etc/httpd.conf.O

No important changes to any of these.
so reboot time.
Again.

curupira 3# reboot
Reboot curupira?  y
Shutdown started.     Mon Apr 26 12:01:51 EDT 2004

Now we can start re-installing xhier.

1>(root)@pentane[143]% xh-first-time -v curupira.math
and of course it's complaining about admin files.
Fixed /.software/share/xhier/config/local/allowed-types

xh-register: xh-registrar/tcp not defined in services file
xh-register: Check to make sure the 'xhier' package is properly installed

I get a lot of these:
Msmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
Mesmtp: Warning: first argument in [IPC] mailer must be TCP or FILE
Msmtp8: Warning: first argument in [IPC] mailer must be TCP or FILE
Mrelay: Warning: first argument in [IPC] mailer must be TCP or FILE
Warning: .cf file is out of date: sendmail SGI-8.12.5 supports version 10, .cf
file is version 8

every now and then.  :~(

Installed everything from pkgs.sort.ed.

curupira 137# xh-local-maintenance
curupira.math Warning: "bind-9.2" is present but not installed.
curupira.math Warning: "finger-uw" is present but not installed.
  irix_extras Install warning: Get it or a Waterloo bind package.
curupira.math xh-install output for package "os-extras"
os-extras Install warning: Many vendor sendmail daemons are known
os-extras Install warning:   known to have security holes.
os-extras Install warning:   So you should install a
os-extras Install warning:   recent sendmail package instead.
curupira.math Warning: "trn-3.6" is present but not installed.
curupira.math xh-install output for package "xhier"
  xhier Install warning: the list of explicitly requested packages
  xhier Install warning:   doesn't include all of the installed
  xhier Install warning:   packages on this host ("curupira.math")
  xhier Install warning:   that are maintained elsewhere:
  xhier Install warning:     os-extras
  xhier Install warning:   so it's likely that
  xhier Install warning:     "/software/xhier/config/local/requests"
  xhier Install warning:   should be updated, or that the
  xhier Install warning:   package should be deleted.

oh, forgot to remove the -os-extras bit from the requests file.
Now xh-install xhier doesn't squawk any more.

Installed bind-9.2, and now xh-install irix_extras doesn't complain.

Hey, and now we can ssh in to curupira!
[mpatters@torres] ~> ssh curupira uname -R
mpatters@curupira.math.uwaterloo.ca's password: 
6.5 6.5.23m
[mpatters@torres] ~> 

Do a final reboot, just to make sure everything comes up ok at boot-time.
ssh does, anyway.  :))))

Fix super_ttys so I can suw.

This ought to conclude the exercise.

Completed 1242h.

-- MikePatterson - 19 Mar 2005

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2005-03-19 - MikePatterson
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback