Doc needed for Sol 8/SDS 4.2.1 Upgrade to Sol 9/SVM via Reinstallation

From: Barry Tait (Barry.Tait@aggreko.co.uk)
Date: Fri Oct 20 2006 - 10:20:32 EDT


Hello All,

I have a Solaris 8 machine running SDS 4.2.1 which I need to upgrade to
Solaris 9 and SVM.

The machine in question (v880 with local disks and SAN attachment) is a
test machine but I

am working on developing an upgrade process for a fairly urgent upgrade.

root@whatever # uname -a

SunOS whatever 5.8 Generic_117000-05 sun4u sparc SUNW,Sun-Fire-880

root@whatever #

root@whatever # pkginfo -l SUNWmdg

   PKGINST: SUNWmdg

      NAME: Solstice DiskSuite Tool

  CATEGORY: system

      ARCH: sparc

   VERSION: 4.2.1,REV=1999.11.04.18.29

   BASEDIR: /

    VENDOR: Sun Microsystems, Inc.

      DESC: Solstice DiskSuite Tool

    PSTAMP: 11/04/99-18:32:06

  INSTDATE: Feb 11 2002 14:14

    VSTOCK: 258-6252-11

   HOTLINE: Please contact your local service provider

    STATUS: completely installed

     FILES: 150 installed pathnames

                   6 shared pathnames

                  19 directories

                   1 executables

                7320 blocks used (approx)

root@whatever #

** I am keen to preserve my existing SDS configuration and, ideally, the
data in the SDS filesystems. **

My dev server configuration is as follows (a mixture of simple concats
and concat mirrors) that has

developed over time.

root@whatever # metastat -p

d0 -m d1 d2 1

d1 1 1 c1t0d0s0

d2 1 1 c4t1d0s0

d10 -m d11 d12 1

d11 1 1 c1t0d0s1

d12 1 1 c4t1d0s1

d30 -m d31 1

d31 2 1 c1t0d0s6 \

         1 c4t1d0s6

d40 -m d41 1

d41 2 1 c1t2d0s0 \

         1 c4t3d0s0

d50 -m d53 1

d53 2 1 c4t9d0s0 \

         1 c1t11d0s0

d60 -m d61 1

d61 2 1 c1t4d0s0 \

         1 c4t5d0s0

d70 -m d74 1

d74 2 1 c4t12d0s0 \

         1 c1t10d0s0

d80 -m d81 d82 1

d81 3 1 c1t0d0s3 \

         1 c1t10d0s5 \

         1 c1t11d0s6

d82 3 1 c4t1d0s3 \

         1 c4t9d0s5 \

         1 c4t12d0s6

d90 -m d91 1

d91 2 1 c1t0d0s4 \

         1 c4t1d0s4

d100 -m d101 1

d101 4 1 c1t0d0s5 \

         1 c1t11d0s1 \

         1 c4t1d0s5 \

         1 c4t12d0s1

d110 -m d113 1

d113 6 1 c1t8d0s0 \

         1 c1t10d0s1 \

         1 c1t10d0s3 \

         1 c4t13d0s0 \

         1 c4t9d0s1 \

         1 c4t9d0s3

d120 -m d121 d122 1

d121 1 1 c1t8d0s5

d122 1 1 c4t13d0s5

root@whatever #

Our root filesystem is mirrored as is swap.

root@whatever # df -k

Filesystem kbytes used avail capacity Mounted on

/dev/md/dsk/d0 4129290 2895749 1192249 71% /

/proc 0 0 0 0% /proc

fd 0 0 0 0% /dev/fd

mnttab 0 0 0 0% /etc/mnttab

swap 2699688 16 2699672 1% /var/run

swap 3215256 515584 2699672 17% /tmp

/dev/md/dsk/d40 68124506 28030814 39412447 42% /u04

/dev/md/dsk/d60 68124506 39505501 27937760 59% /u05

/dev/md/dsk/d50 1804734 1149515 546935 68% /u06

/dev/md/dsk/d70 1804734 63435 1633015 4% /u07

/dev/md/dsk/d90 36291940 496201 35432820 2% /u02

/dev/md/dsk/d80 21677938 10026103 11435056 47% /u01

/dev/md/dsk/d120 16174221 14368150 1320845 92% /exports

/dev/md/dsk/d110 69840210 36248777 32194629 53% /u08

/dev/md/dsk/d100 39226587 13365083 25469239 35% /u03

/dev/md/dsk/d30 4869135 2725378 2046375 58% /u09

[snip VxVM filesystems]

root@whatever #

I have 7 state db replicas all default SDS size:

root@whatever # metadb -i

        flags first blk block count

     a m p luo 16 1034
/dev/dsk/c1t0d0s7

     a p luo 1050 1034
/dev/dsk/c1t0d0s7

     a p luo 2084 1034
/dev/dsk/c1t0d0s7

[snip other 6]

I have hunted and googled around for a document on how to achieve what
must surely

be a fairly common task but I have not come up with a one-stop-shop
document.

I have developed the following process from a variety of sources, but I
feel that there must

be a formal document somewhere for this - I have asked Sun Support for
the same and I

am awaiting a response at present.

1. Backup md.tab (Done: md.tab.20061019)
2. Add disk info to DS config file metastat -p >>
/etc/lvm/md.tab (done)
3. At the bottom of /etc/lvm/md.tab add the following by hand

mddb01 -c 9 c1t0d0s7 c1t1d0s7 c1t2d0s7 c1t3d0s7 \

c1t4d0s7 c1t5d0s7 c4t12d0s7 c4t13d0s7 c4t9d0s7

4. Save /etc/lvm/md.tab to server x and email to self
5. Rebuild server by installing Solaris 9 and SVM packages
6. Restore the /etc/lvm/md.tab file get from server x

7. Create the metadb's: metadb -a -l
1034 -f mddb01
8. Create the metdevices: metainit -a

Can anyone confirm if my proposed process is adequate or point me in the
direction of a

document that covers the process for the above full upgrade via
reinstallation?

Thanks,

Barry

Tel: 0044 141 551 6019

Visit us at http://www.aggreko.com

Confidentiality Notice: This communication and any accompanying attachments
contain confidential information intended for a specific individual and
purpose. This communication is private and protected by law. If you are not
the intended recipient, you are hereby respectfully notified that any
disclosures, copying, forwarding or distribution, or the taking of any action
based on the contents of this communication is strictly prohibited.

_____________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:03 EDT