Solaris 9 Installation Guide

Creating a Cross-Platform Install Server for CD Media

If you need to use a CD of a platform different from the install server, you cannot read the CD in the install server. You need a remote system to read the CD. For example, if you are setting up a SPARC install server and need to use IA CD media, you need a remote IA system to read the CDs.

To Create an IA Install Server on a SPARC System With IA CD Media

Use this procedure to create an IA install server on a SPARC system with IA CD media. You need the following:


Note -

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Basic Administration for detailed information about managing removable media without the Volume Manager.


In this procedure, SPARC system is the SPARC system that is to be the install server and remote IA system is the remote IA system to be used with the IA CD media.

  1. On the remote IA system, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must also be in the NIS, NIS+, DNS, or LDAP name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. On the remote IA system, insert the Solaris 9 Software 1 of 2 Intel Platform Edition CD into the system's drive.

  3. On the remote IA system, add the following entries to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
    
  4. On the remote IA system, start the NFS daemon.


    remote IA system# /etc/init.d/nfs.server start
    
  5. On the remote IA system, verify that the CD is available to other systems by using the share command.


    remote IA system# share
    -   /cdrom/sol_9_ia/s0 ro,anon=0 " "
    -   /cdrom/sol_9_ia/s2 ro,anon=0 " "
  6. On the SPARC system that is to be the IA install server, become superuser.

  7. On the SPARC system, access the IA CD by creating two directories for the appropriate mount points, one for the miniroot and one for the product.


    SPARC system# mkdir directory_name_s0 
    

    SPARC system# mkdir  directory_name_s2
    

    directory_name_s0

    Is the name of the directory to contain the miniroot from slice 0 

    directory_name_s2

    Is the name of the directory to contain the product from slice 2 

  8. On the SPARC system, mount the remote IA CD image.


    SPARC system# mount remote_IA_system_name:/cdrom/sol_9_ia/s0 directory_name_s0
    

    SPARC system# mount remote_IA_system_name:/cdrom/sol_9_ia/s2 directory_name_s2
    
  9. On the SPARC system, change to the Tools directory on the mounted disc:


    SPARC system# cd /directory_name_s2/Solaris_9/Tools
    
  10. On the SPARC system, copy the disc in the drive to the install server's hard disk in the directory you've created by using the setup_install_server command:


    SPARC system# ./setup_install_server -t directory_name_s0 install_dir_path
    

    -t

    Specifies the path to a boot image if you want to use a boot image other than the one in the Tools directory on the Solaris 9 Software 2 of 2 CD. 

    directory_name_s0

    Is the name of the directory that contains the miniroot from slice 0. 

    install_dir_path

    Specifies the directory where the disc image is to be copied. The directory must be empty. 


    Note -

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 9 Software disc images. To determine available disk space, use the df -kl command.


  11. On the SPARC system, change to the top directory.


    SPARC system# cd /
    
  12. On the SPARC system, unmount both directories.


    SPARC system# unmount directory_name_s0 
    

    SPARC system# unmount directory_name_s2
    
  13. On the IA system, unshare both CD-ROM slices.


    remote IA  system# unshare /cdrom/sol_9ia/s0
    

    remote IA  system# unshare /cdrom/sol_9ia/s2
    
  14. On the IA system, eject the Solaris 9 Software 1 of 2 Intel Platform Edition CD.

  15. Insert the Solaris 9 Software 2 of 2 Intel Platform Edition CD into the SPARC system's CD-ROM drive.

  16. On the SPARC system, change to the Tools directory on the mounted CD:


    SPARC system# cd /cdrom/cdrom0/Solaris_9/Tools
    
  17. On the SPARC system, copy the CD to the install server's hard disk:


    SPARC system# ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  18. Eject the Solaris 9 Software 2 of 2 Intel Platform Edition CD.

  19. On the SPARC system, insert the Solaris 9 Intel Platform Edition Languages CD into the SPARC system's CD-ROM drive and mount the CD.

  20. On the SPARC system, change to the Tools directory on the mounted CD:


    SPARC system# cd /cdrom/cdrom0/Tools
    
  21. On the SPARC system, copy the CD to the install server's hard disk:


    SPARC system# ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  22. Decide if you want to enable users to use the Solaris Web Start installation method to boot a system and install the Solaris 9 software from a network.

    • If no, eject the Solaris 9 Intel Platform Edition Languages CD and go to Step 30.

    • If yes, eject the Solaris 9 Intel Platform Edition Languages CD and continue.

  23. On the remote IA system, insert the Solaris 9 Intel Platform Edition Installation CD into the IA system's CD-ROM drive.

  24. On the remote IA system, add the following entry to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
    
  25. On the remote IA system, start the NFS daemon.


    remote IA system# /etc/init.d/nfs.server start
    
  26. On the remote IA system, verify that the CD is available to other systems:


    remote IA system# share
    -   /cdrom/multi_sol_9_ia/s0 ro,anon=0 " "
    -   /cdrom/multi_sol_9_ia/s2 ro,anon=0 " "
  27. On the SPARC system, mount the slices on the CD.


    SPARC system# mount remote_IA_system_name:/cdrom/multi_sol_9_ia/s0 directory_name_s0 
    SPARC system# mount remote_IA_system_name:/cdrom/multi_sol_9_ia/s2  directory_name_s2
    
  28. On the SPARC system, change to the directory that contains modify_install_server on the mounted CD:


    SPARC system# cd directory_name_s2
    
  29. Copy the Solaris Web Start interface software to the install server:


    SPARC system# ./modify_install_server -p install_dir_path directory_name_s0
    

    -p

    Preserves the existing image's miniroot in install_dir_path/Solaris_9/Tools/Boot.orig

    install_dir_path

    Specifies the directory where the Solaris Web Start interface is to be copied 

    directory_name_s0

    Name of the directory to contain the miniroot from slice 0 

  30. Decide if you want to patch the files that are located in the miniroot (Solaris_9/Tools/Boot) on the net install image that was created by setup_install_server.

    • If no, go to the next step.

    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.


      Caution - Caution -

      Don't use the patchadd -C unless you have read the Patch Readme instructions or have contacted your local Sun support office.


  31. Decide if you need to create a boot server.


Example 12-3 Creating an IA Install Server on a SPARC System With IA CD Media

The following example illustrates how to create an IA install server on a SPARC system that is named rosemary. The following IA CDs are copied from a remote IA system that is named tadpole to the SPARC install server's /export/home/s9cdia directory.

On the remote IA system:


tadpole (remote IA system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
tadpole (remote IA system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
tadpole (remote IA system)# /etc/init.d/nfs.server start

On the SPARC system:


rosemary (SPARC system)# mkdir /iaS0
rosemary (SPARC system)# mkdir /iaS2
rosemary (SPARC system)# mount tadpole:/cdrom/sol_9_ia/s0 /iaS0
rosemary (SPARC system)# mount tadpole:/cdrom/sol_9_ia/s0 /iaS2
rosemary (SPARC system)# cd /iaS2/Solaris_9/Tools
rosemary (SPARC system)# ./setup_install_server -t /iaS0 /export/home/s9cdia
rosemary (SPARC system)# cd /
rosemary (SPARC system)# unmount /iaS0
rosemary (SPARC system)# unmount /iaS2

tadpole (remote IA system) unshare /cdrom/cdrom0/s0
tadpole (remote IA system) unshare  /cdrom/cdrom0/s2

rosemary (SPARC system)# cd /cdrom/cdrom0/Solaris_9/Tools
rosemary (SPARC system)# ./add_to_install_server /export/home/s9cdia
rosemary (SPARC system)# cd /cdrom/cdrom0/sol_9_lang_ia/Tools
rosemary (SPARC system)# ./add_to_install_server /export/home/s9cdia

On the remote IA system:


tadpole (remote IA system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
tadpole (remote IA system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s2
tadpole (remote IA system)# /etc/init.d/nfs.server start

On the SPARC system:


rosemary (SPARC system)# mount remote_IA_system_name:/cdrom/sol_9_ia /iaS0
rosemary (SPARC system)# mount remote_IA_system_name:/cdrom/sol_9_ia /iaS2
rosemary (SPARC system)# cd /iaS2
rosemary (SPARC system)# ./modify_install_server -p /export/home/s9cdia /iaS0

In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.


To Create a SPARC Install Server on an IA System With SPARC CD Media

Use this procedure to create a SPARC install server on an IA system with SPARC CD media. You need the following:


Note -

This procedure assumes that the system is running the Volume Manager. If you are not using the Volume Manager to manage media, refer to System Administration Guide: Basic Administration for detailed information about managing removable media without the Volume Manager.


In this procedure, IA-system is the IA system that is to be the install server and remote-SPARC-system is the remote SPARC system to be used with the SPARC CD media.

  1. On the remote SPARC system, become superuser.

    The system must include a CD-ROM drive and be part of the site's network and name service. If you use a name service, the system must also be in the NIS, NIS+, DNS, or LDAP name service. If you do not use a name service, you must distribute information about this system by following your site's policies.

  2. On the remote SPARC system, insert the Solaris 9 Software 1 of 2 SPARC Platform Edition CD into the system's drive.

  3. On the remote SPARC system, add the following entries to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
    
  4. On the remote SPARC system, start the NFS daemon.


    remote-SPARC-system# /etc/init.d/nfs.server start
    
  5. On the remote SPARC system, verify that the CD is available to other systems by using the share command.


    remote-SPARC-system# share
    -   /cdrom/cdrom0/s0 ro,anon=0 " "
    -   /cdrom/cdrom0/s1 ro,anon=0 " "
  6. On the IA system that is to be the SPARC install server, become superuser.

  7. On the IA system, access the SPARC CD by creating two directories for the appropriate mount points, one for the miniroot and one for the product.


    IA-system# mkdir directory_name_s0 
    

    IA-system# mkdir  directory_name_s1
    

    directory_name_s0

    Is the name of the directory to contain the product from slice 0 

    directory_name_s1

    Is the name of the directory to contain the miniroot from slice 1 

  8. On the IA system, mount the remote SPARC CD image.


    IA-system# mount remote_SPARC_system_name:/cdrom/cdrom0/s0 directory_name_s0
    

    IA-system# mount remote_SPARC_system_name:/cdrom/cdrom0/s1 directory_name_s1
    
  9. On the SIA system, change to the Tools directory on the mounted disc:


    IA-system# cd /directory_name_s0/Solaris_9/Tools
    
  10. On the IA system, copy the disc in the drive to the install server's hard disk in the directory you've created by using the setup_install_server command:


    IA-system# ./setup_install_server -t directory_name_s1 install_dir_path
    

    -t

    Specifies the path to a boot image if you want to use a boot image other than the one in the Tools directory on the Solaris 9 Software 2 of 2 CD. 

    directory_name_s1

    Is the name of the directory that contains the miniroot from slice 1. 

    install_dir_path

    Specifies the directory where the disc image is to be copied. The directory must be empty. 


    Note -

    The setup_install_server command indicates whether you have enough disk space available for the Solaris 9 Software disc images. To determine available disk space, use the df -kl command.


  11. On the IA system, change to the top directory.


    IA-system# cd /
    
  12. On the IA system, unmount both directories.


    IA-system# unmount directory_name_s0 
    

    IA-system# unmount directory_name_s1
    
  13. On the SPARC system, unshare both CD-ROM slices.


    remote-SPARC-system# unshare /cdrom/cdrom0/s0
    

    remote-SPARC-system# unshare /cdrom/cdrom0/s2
    
  14. On the SPARC system, eject the Solaris 9 Software 1 of 2 SPARC Platform Edition CD.

  15. Insert the Solaris 9 Software 2 of 2 SPARC Platform Edition CD into the IA system's CD-ROM drive.

  16. On the IA system, change to the Tools directory on the mounted CD:


    IA-system# cd /cdrom/cdrom0/Solaris_9/Tools
    
  17. On the IA system, copy the CD to the install server's hard disk:


    IA-system# ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  18. Eject the Solaris 9 Software 2 of 2 SPARC Platform Edition CD.

  19. On the IA system, insert the Solaris 9 SPARC Platform Edition Languages CD into the IA system's CD-ROM drive and mount the CD.

  20. On the IA system, change to the Tools directory on the mounted CD:


    IA-system# cd /cdrom/cdrom0/Tools
    
  21. On the IA system, copy the CD to the install server's hard disk:


    IA-system# ./add_to_install_server install_dir_path
    

    install_dir_path

    Specifies the directory where the CD image is to be copied 

  22. Decide if you want to enable users to use the Solaris Web Start installation method to boot a system and install the Solaris 9 software from a network.

    • If no, eject the Solaris 9 SPARC Platform Edition Languages CD and go to Step 30.

    • If yes, eject the Solaris 9 SPARC Platform Edition Languages CD and continue.

  23. On the remote SPARC system, insert the Solaris 9 SPARC Platform Edition Installation CD into the SPARC system's CD-ROM drive.

  24. On the remote SPARC system, add the following entry to the /etc/dfs/dfstab file.


    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
    share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
    
  25. On the remote SPARC system, start the NFS daemon.


    remote-SPARC-system# /etc/init.d/nfs.server start
    
  26. On the remote SPARC system, verify that the CD is available to other systems:


    remote-SPARC-system# share
    -   /cdrom/multi_sol_9_ia/s0 ro,anon=0 " "
    -   /cdrom/multi_sol_9_ia/s1 ro,anon=0 " "
  27. On the IA system, mount the slices on the CD.


    IA-system# mount remote_SPARC_system_name:/cdrom/cdrom0/s0 directory_name_s0 
    IA-system# mount remote_SPARC_system_name:/cdrom/cdrom0/s1  directory_name_s1
    
  28. On the IA system, change to the directory that contains modify_install_server on the mounted CD:


    IA-system# cd directory_name_s0
    
  29. Copy the Solaris Web Start interface software to the install server:


    IA-system# ./modify_install_server -p install_dir_path directory_name_s1
    

    -p

    Preserves the existing image's miniroot in install_dir_path/Solaris_9/Tools/Boot.orig

    install_dir_path

    Specifies the directory where the Solaris Web Start interface is to be copied 

    directory_name_s1

    Name of the directory to contain the miniroot from slice 1 

  30. Decide if you want to patch the files that are located in the miniroot (Solaris_9/Tools/Boot) on the net install image that was created by setup_install_server.

    • If no, go to the next step.

    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.


      Caution - Caution -

      Don't use the patchadd -C unless you have read the Patch Readme instructions or have contacted your local Sun support office.


  31. Decide if you need to create a boot server.


Example 12-4 Creating a SPARC Install Server on an IA System With SPARC CD Media

The following example illustrates how to create a SPARC install server on an IA system that is named richards. The following SPARC CDs are copied from a remote SPARC system that is named simpson to the IA install server's /export/home/s9cdsparc directory.

On the remote SPARC system:


simpson (remote SPARC system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
simpson (remote SPARC system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
simpson (remote SPARC system)# /etc/init.d/nfs.server start

On the IA system:


richards (IA system)# mkdir /sparcS0
richards (IA system)# mkdir /sparcS1
richards (IA system)# mount simpson:/cdrom/cdrom0/s0 /sparcS0
richards (IA system)# mount simpson:/cdrom/cdrom0/s1 /sparcS1
richards (IA system)# cd /sparcS0/Solaris_9/Tools
richards (IA system)# ./setup_install_server -t /sparcS0 /export/home/s9cdsparc
richards (IA system)# cd /
richards (IA system)# unmount /sparcS0
richards (IA system)# unmount /sparcS1

On the remote SPARC system:


simpson (remote SPARC system) unshare /cdrom/cdrom0/s0
simpson (remote SPARC system) unshare  /cdrom/cdrom0/s1

On the IA system:


richards (IA system)# cd /cdrom/cdrom0/Solaris_9/Tools
richards (IA system)# ./add_to_install_server /export/home/s9cdsparc
richards (IA system)# cd /cdrom/cdrom0/sol_9_lang_sparc/Tools
richards (IA system)# ./add_to_install_server /export/home/s9cdsparc

On the remote SPARC system:


simpson (remote SPARC system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
simpson (remote SPARC system)# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s1
simpson (remote SPARC system)# /etc/init.d/nfs.server start

On the IA system:


richards (IA system)# mount remote_SPARC_system_name:/cdrom/cdrom0 /sparcS0
richards (IA system)# mount remote_SPARC_system_name:/cdrom/cdrom0 /sparcS1
richards (IA system)# cd /sparcS0
richards (IA system)# ./modify_install_server -p /export/home/s9cdsparc /sparcS1

In this example, each CD is inserted and automatically mounted before each of the commands. After each command, the CD is removed.