Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Solaris Express Installation Guide: Network-Based Installations
Previous Next

Creating a Cross-Platform Install Server for CD Media

This section explains how to create an x86 network installation image on a SPARC system.

A remote x86 system is not required to create a SPARC install server with x86 CD media. See SPARC: To Create a SPARC Install Server With SPARC or x86 CD Media for more information.

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

Use this procedure to create a SPARC install server on an x86 system with SPARC CD media.

In this procedure, x86-system is the x86 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.

Before You Begin

You need the following items to perform this task.

  • An x86 system

  • A SPARC system with a CD-ROM drive

  • A set of CDs for the remote SPARC system

    • Solaris Software for SPARC Platforms CDs

    • Solaris Languages for SPARC Platforms CDs


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: Devices and File Systems.


  1. On the remote SPARC system, become superuser or assume an equivalent role.

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

  2. On the remote SPARC system, insert the Solaris Software for SPARC Platforms - 1 CD into the system's drive.
  3. If you are using the share command instead of the sharemgr utility, 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.
    • If the install server is running the current Solaris release, or compatible version, type the following command.
      remote-SPARC-system# svcadm enable svc:/network/nfs/server
    • If the install server is running the Solaris 9 OS, or compatible version, type the following command.
      remote-SPARC-system# /etc/init.d/nfs.server start
  5. On the remote SPARC system, verify that the CD is available to other systems.

    Use either the sharemgr utility or the share command as follows:


    Note - Starting with the 5/07 Developer release, the sharemgr utility introduces the concept of share groups. See sharemgr Command in System Administration Guide: Network Services.


    • Using the share command, enter the following:

      remote-SPARC-system# share
      -   /cdrom/cdrom0/s0 ro,anon=0 " "
      -   /cdrom/cdrom0/s1 ro,anon=0 " "
    • Using the sharemgr utility, enter the following commands:

      remote-SPARC-system# sharemgr add-share -d “install server directory” -s /cdrom/cdrom0/s0 default

      remote-SPARC-system# sharemgr set -P nfs -S sys -p ro="*" -s /cdrom/cdrom0/s0 default

      remote-SPARC-system# sharemgr set -P nfs -p anon=0 -s /cdrom/cdrom0/s0 default

      Repeat these sharemgr commands for slice 1 (/s1).

    In the previous sample output, cdrom0 refers to the current Solaris release on SPARC based systems. This text string varies for each version of the Solaris OS.

  6. On the x86 system that is to be the SPARC install server, become superuser or assume an equivalent role.
  7. Verify that the CD is properly exported on the remote x86 system.
    x86-system# showmount -e remote-SPARC-system
    export list for remote-SPARC-system:
    /cdrom/cdrom0/s0 (everyone)
    /cdrom/cdrom0/s1 (everyone)
  8. On the x86 system, change to the Tools directory on the mounted disc:
    x86-system# cd /net/remote-SPARC-system/cdrom/cdrom0/s0/Solaris_11/Tools
  9. On the x86 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:
    x86-system# ./setup_install_server install_dir_path
    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 Software disc images. To determine available disk space, use the df -kl command.


  10. On the x86 system, change to the top directory.
    x86-system# cd /
  11. On the x86 system, unmount both directories.
    x86-system# umount /net/remote-SPARC-system/cdrom/cdrom0/s0
    x86-system# umount /net/remote-SPARC-system/cdrom/cdrom0/s1
  12. If you are using the share command, on the SPARC system, unshare both CD-ROM slices.
    remote-SPARC-system# unshare /cdrom/cdrom0/s0
    remote-SPARC-system# unshare /cdrom/cdrom0/s1

    Note - If you are using the sharemgr utility instead of the share command, this step is not needed.


  13. On the SPARC system, eject the Solaris Software for SPARC Platforms - 1 CD.
  14. Insert the Solaris Software for SPARC Platforms - 2 CD into the x86 system's CD-ROM drive.
  15. On the x86 system, change to the Tools directory on the mounted CD:
    x86-system# cd /cdrom/cdrom0/s0/Solaris_11/Tools
  16. On the x86 system, copy the CD to the install server's hard disk:
    x86-system# ./add_to_install_server install_dir_path
    install_dir_path

    Specifies the directory where the CD image is to be copied

  17. Eject the Solaris Software for SPARC Platforms - 2 CD.
  18. Repeat Step 14 through Step 17 for each Solaris Software CD you want to install.
  19. On the x86 system, insert the first Solaris Languages for SPARC Platforms CD into the x86 system's CD-ROM drive and mount the CD.
  20. On the x86 system, change to the Tools directory on the mounted CD:
    x86-system# cd /cdrom/cdrom0/s0/Solaris_11/Tools
  21. On the x86 system, copy the CD to the install server's hard disk:
    x86-system# ./add_to_install_server install_dir_path
    install_dir_path

    Specifies the directory where the CD image is to be copied

  22. Eject CD.
  23. Repeat Steps 19–22 for each Solaris Languages for SPARC Platforms CD.
  24. Decide if you want to patch the files that are located in the miniroot (Solaris_11/Tools/Boot) on the net install image that was created by setup_install_server.
    • If no, proceed to the next step.
    • If yes, use the patchadd -C command to patch the files that are located in the miniroot.

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


  25. Decide if you need to create a boot server.
Example 6-4 Creating a SPARC Install Server on an x86 System With SPARC CD Media

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

  • Solaris Software for SPARC Platforms CDs

  • Solaris Languages for SPARC Platforms CDs

This example assumes that the install server is running the current Solaris release and that you are using the share command instead of the sharemgr utility.

On the remote SPARC system, insert the Solaris Software for SPARC Platforms - 1 CD, then type the following commands:

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)# svcadm enable svc:/network/nfs/server

On the x86 system:

richards (x86-system)# cd /net/simpson/cdrom/cdrom0/s0//Solaris_11/Tools
richards (x86-system)# ./setup_install_server /export/home/cdsparc
richards (x86-system)# cd /
richards (x86-system)# umount /net/simpson/cdrom/cdrom0/s0/

On the remote SPARC system:

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

On the x86 system:

richards (x86-system)# cd /cdrom/cdrom0/Solaris_11/Tools
richards (x86-system)# ./add_to_install_server /export/home/cdsparc

Repeat the previous commands for each Solaris Software for x86 Platforms CD that you want to install.

richards (x86-system)# cd /cdrom/cdrom0/Tools
richards (x86-system)# ./add_to_install_server /export/home/cdsparc

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

More Information
Continuing the Installation

After you set up the install server, you must add the client as an installation client. For information about how to add client systems to install over the network, see Adding Systems to Be Installed From the Network With a CD Image.

If you are not using DHCP, and your client system is on a different subnet than your install server, you must create a boot server. For more information, see Creating a Boot Server on a Subnet With a CD Image.

See Also

For additional information about the setup_install_server and the add_to_install_server commands, see install_scripts(1M).

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire