Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 427
  • Last Modified:

upgrade Solaris 6 to Solaris 8 on a NIS+ master server

How can I upgrade an old sparc5 running Solaris 6, and NIS+ master server, to a Ultra box running Solaris 8, and also a NIS+ master server?

The Ultra box will replace the sparc one. The machine name, IP and domain stay the same.

  • 2
1 Solution
I assume that you have some experience with Solaris UNIX and Sun boxes.

Here's an easy way to do this transfer:

Assume that you are going to use the same name and IP for the new box (Ultra).

1. Do a full system backup for your old sparc5 box (ufsdump),
(use tape or another HD).

2. do a dummy OS install using Solaris 8 on your new box,(the hd partition, should be the same as your final product).

   After your installation, backup the following files, to a tape, or somewhere you can put it back to this new box.

    a) create a list of files to be backup
            cd /
            find devices dev -print > /tmp/list
            add the following to /tmp/list:
   b) backup the files
            cat /tmp/list | cpio -oacv > /tmp/machine-name.cpio

     then copy the mavhine-name.cpio file to somewhere you can use it later.

3. use ufsrestore to restore the old box's backup to the new box.
Make the disk bootable, like: (Creat the boot blocks on the root partion)

  installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk  /dev/rdsk/c0t0d0s0

rename or backup the following files on / for later use:
            mount /dev/dsk/c0t0d0s0 /mnt
            cd /mnt/etc
            [ ] mv device.tab device.tab.org
            [ ] mv devlink.tab devlink.tab.org
            [ ] mv vfstab vfstab.org
            [ ] mv path_to_inst path_to_inst.org
            [ ] mv path_to_inst.old path_to_inst.old.org
            [ ] mv hostname.old-interface hostname.new-interface
                (eg mv hostname.le0 hostname.hme0)
            [ ] mv dfs/dfstab dfs/dfstab.org
            [ ] cp -p motd motd.org
            [ ] cp -p mail/sendmail.cf mail/sendmail.cf.org

4. restore the the backup files from the dumy installation to the new box.

             a) Delete all the old device files
                rm -rf devices dev &
             c) restor the files
                cd /mnt
                cp /machine-name.cpio .
                cpio -icdmuv < machine-name.cpio
                rm machine-name.cpio
             d) edit etc/vfstab and etc/dfs/dfstab files if needed
             e) shuldown the system

5. Connet your new box to a hub/switch (power up the hub, but not connet to the network!!!). Perfrom an upgrade installation on the new box (use Solaris 8 !)

try to apply the latest Solaris patches to the new box when
         possible, make sure you backup /etc/mail/sendmail.cf before apply the

   Then you can do some test on the new box, and it should work for you.

6.Make sure that Replica server(s) are runing, pull the old sparc5 box off the network, and put the new box on line.

Good luck!

PS: please ask CS delete the duplicated question, and get your points refund.

let me know if you need future information. If need sometime to get this don't. (I did it before)



Hi steviewonder,

   You have a lot of question still open, please colse some of them.
Force Accepted (administrative action)

Community Support Moderator @Experts Exchange

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now