Converting a SunOS release 4 system to the Solaris 7 software involves more than just running the Solaris installation program and loading the software. Usually, there is data on the SunOS release 4 system that needs to be transferred to a Solaris 7 system. This data may be full file systems, such as /home, or locally customized system files, such as /etc/hosts or /etc/passwd.
No matter how you plan to handle the data transfer, you should back up all disk partitions by doing full dumps before you begin the installation process. Because the device naming conventions are different in the Solaris 7 operating environment, you might inadvertently choose the wrong disk when you install the Solaris 7 software. Backing up the file systems before you begin the installation procedure offers some protection should this occur. For information about device naming conventions, see "Device Naming Conventions".
Note about file system formats:
If you are running SunOS 4.1.1 software without QuickCheck or Backup Copilot utilities, SunOS 4.0.x, or SunOS 4.1 software, the file systems are upwardly and backwardly compatible, although not identical in all cases.
Before you begin the installation process, you should print a copy of the system's existing disk partitions. It can serve as a reference for many decisions that are made about configuring the Solaris 7 system. The following procedure is one way to obtain the disk partition information.
Save the disk partition information.
The mappings between file system names (for example, /usr, /home) and device names (for example, /dev/sd0g) reside in the configuration file /etc/fstab. Before proceeding, you should make a printed copy of the /etc/fstab file to help you construct the Solaris 7 file.
Use this section only if you are upgrading a system running the SPARCserverTM Manager or Solstice DiskSuite unbundled products. (These products are used to mirror, concatenate, or stripe multiple disks.)
To upgrade your system without this product, you have to modify your multiple-partition configurations to use single partitions. In particular, a concatenated or striped file system must be reorganized onto a single disk, and partitions and mirrors can no longer be used.
If the system is running SPARCserver Manager or Solstice DiskSuite utilities, you should save the metadevice configuration information before installing Solaris 7 software. This enables you to recover the state of the metadevices when you install Solaris 7 software, and serves as a reference as you construct the list of disks attached to your system.
# /etc/metastat -p | lpr
# /etc/metadb -i | lpr
You should create a list of the SunOS release 4 files and file systems that you want to back up and restore after installing Solaris 7 software.
Locally developed applications
Any unbundled software products
Third-party peripheral devices and drivers (8 mm tape drives and SBus cards, for example)
Do extract and transfer the data files that have changed locally or those on which the server depends for administrative data, such as some /etc files (for example, /etc/hosts), exported file systems (use the exportfs command to list them), and /tftpboot directory, which you should save as a safety precaution.
Do completely preserve file systems containing only locally generated data, such as spool and user home directories.
Save file systems that contain information about clients if you are migrating a server for SunOS release 4 clients. Typically, /export is such a file.
There are a number of SunOS release 4 system configuration files that can be merged or converted for the Solaris platform. Use the example list that follows to help select the system configuration files you want to back up.
The list contains suggestions. You should study the items in the list carefully and add or delete files depending on the configuration at your site. For example, if you have special files in directories from third-party software vendors, you may need to save them.
If the system is a NIS master server, you should save all the files that reside in the NIS master directory (for example, /etc). Additionally, save any other master files that you added to NIS. Examples of files to back up include:
./etc (if the system is a NIS client or has no name service)
./var/nis (if the system is a NIS master server)
Boot programs in./tftpboot
Make a list of how much disk space each file system that you want to move to the Solaris 7 upgrade uses. Refer to this list when installing the Solaris 7 software, since you can partition disk space for your SunOS release 4 file systems when running the Solaris 7 installation program.
If you are converting a network of SunOS release 4 systems to the Solaris 7 software, decide the order of the systems to convert so that you do not inconvenience for the users. For example, you might want to convert all client systems before you convert any servers. The first system you convert should be a standalone system with a locally attached CD-ROM drive.
For a while, you will probably manage a network consisting of both SunOS release 4 and Solaris 7 systems, and part of your planning should involve determining priorities. For example, you may want to convert one domain and use it for system administration testing and for porting internally developed applications before you convert the entire network environment.