Captain Jack

pageicon 星期五 十一月 21, 2008

How to install Solaris x86 on an iSCSI Disk, with legacy installer

Installation Guide - legacy installer


This section describes how to install x86 Solaris Operating System onto an iSCSI target with legacy installer.


This guideline is applicable for both CD/DVD install and network
install. For now it is for x86 only, but actually the guideline also
works for sparc - the only problem is that currently there is no way to
boot after installation.


The Solaris installation program can be run with a graphical
user interface(GUI) or as an interactive text installer in console
session.




Installation in a desktop session


The following example uses DVD media to install Solaris onto iSCSI target with GUI in a desktop environment.


   Step 1: Boot from DVD-ROM


Reboot your system and boot from DVD-ROM, showed as following



   Step 2: Choose the display mode

You should choose “Solaris Express” in the GRUB menu, if you are in
a desktop environment. You should choose “Solaris Express Serial
Console ttya” if you are in a console session, as following




   Step 3: Choose the interactive mode

You should choose “1” to install Solaris with a GUI in a desktop session as the following figure. Then continue.




   Step 4: System configuration

You should press “next” to configure your system, when a window occurs as following






   Step 4.1: Select network option

You should select “Networked” in the following window




   Step 4.2: Select network interface

Here the interface with iBF needs to be identified and selected, it
will be the one where Solaris will be booting off later. In this case,
“e1000g0” is that one, showed as following




   Step 4.3: Configure network interface

The interface can be configured statically or with DHCP. In current
case, DHCP is selected. And press “next” to continue to configure other
information including Kerberos Security, Name Service, NFSv4 Domain
Name, Date and Time, and Root Password.



Then the summary window will occur as following window. Press “confirm” to continue.




   Step 5: Drop into the shell

Then the following window would be displayed, after you finish
configuring the system. Here please press the “Exit” button to drop
into the shell.




   Step 6:  Discover iSCSI targets/luns

Here 'iscsiadm' is the key to discovery iSCSI target/luns. Note: any
configuration made here is temporary, it will not affect the OS
behavior after installation.


Following is an example to discover the iSCSI target/lun. Refer
to the man page of 'iscsiadm' for full list of available sub commands.



  • iscsiadm add discovery-address 10.13.49.24

  • iscsiadm modify discovery -t enable


Then you can use the following commands to check if LUNs are discovered.



  • iscsiadm list target -S

  • format


Remember the device name from 'iscsiadm list target -S' corresponding to the target/lun where the Solaris is to be installed.


Run “install-solaris” from shell to continue the installation process. See following figure.




   Step 7: Begin to install Solaris

The window showed in step 5 will occur again when you run the
command “install-solaris” in step6. Press “next” to continue as a
normal installation. The only difference is that disks discovered in
step 6 will occurs in the available disks table showed in the following
window. Choose the disk corresponding to the desired target/lun to
install Solaris onto it.




Installation in a console session


The following example shows how to install Solaris onto an iSCSI target with interactive text in a console session.


   Step 1: Boot from DVD-ROM

Reboot your system and boot from DVD-ROM,as




   Step 2: Choose the display mode

You should choose "Solaris Express Serial Console ttya" to install Solaris in a console session, as




   Step 3: Choose the interactive mode


You should input "4" to choose "Solaris Interactive Text (Console session)" in:



   Step 4: System configurations

You should press “F2” or "ESC+2" to configure your system, including
Network interface,Security policy,NIS,NFSv4,Time Zone,Country or
Region,Root password. And the network interface MUST be configured.



   Step 4.1: Select network interface

Here the interface with iBF needs to be identified and selected, it
will be the one where Solaris will be booting off later. In this case,
“e1000g0” is that one, showed as




   Step 4.2: Configure network interface

The interface can be configured statically or with DHCP. In current case, DHCP is selected in




And press “F2” or "ESC+2" to continue to configure other informations.


   Step 5: Drop into the shell

Then a window would be displayed as following figure, after you
finish configuring the system. Here please press the “ESC+5” button to
drop into the shell.




   Step 6:  Discover iSCSI targets/luns

Here 'iscsiadm' is the key to discovery iSCSI target/luns. Note: any
configuration made here is temporary, it will not affect the OS
behavior after installation.


Following is an example to discover the iSCSI target/lun. Refer
to the man page of 'iscsiadm' for full list of available sub commands.



  • iscsiadm add discovery-address 10.13.49.24

  • iscsiadm modify discovery -t enable


Then you can use the following commands to check if LUNs are discovered.



  • iscsiadm list target -S

  • format


Remember the device name from 'iscsiadm list target -S' corresponding to the target/lun where the Solaris is to be installed.


Run “install-solaris” from shell to continue the installation process.



   Step 7: Begin to install Solaris

Press “F2” or "ESC+2" to
continue as a normal installation. The only difference is that disks
discovered in step 6 will occurs in the available disks table showed in
the following figure. Choose the disk corresponding to the desired
target/lun to install Solaris onto it.



评论:

发表一条评论:
  • HTML语法: 禁用