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

Posted on 2003-03-03
Medium Priority
Last Modified: 2013-12-27
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.

Question by:steviewonder
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 38

Accepted Solution

yuzh earned 400 total points
ID: 8061385
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)



LVL 38

Expert Comment

ID: 8061399
Hi steviewonder,

   You have a lot of question still open, please colse some of them.

Expert Comment

ID: 8120994
Force Accepted (administrative action)

Community Support Moderator @Experts Exchange

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question