JavaScript is required to for searching.
ナビゲーションリンクをスキップ
印刷ビューの終了
Oracle Solaris 11 システムのインストール     Oracle Solaris 11 Information Library (日本語)
search filter icon
search icon

ドキュメントの情報

はじめに

パート I Oracle Solaris 11 のインストールオプション

1.  インストールオプションの概要

パート II インストールメディアを使用したインストール

2.  インストールの準備

3.  LiveCD の使用

4.  テキストインストーラの使用

5.  メディアからブートする自動インストール

6.  Oracle Solaris インスタンスの構成解除または再構成

パート III インストールサーバーを使用したインストール

7.  複数のクライアントへの自動インストール

8.  インストールサーバーの設定

9.  インストールのカスタマイズ

10.  クライアントシステムのプロビジョニング

11.  クライアントシステムの構成

12.  ゾーンのインストールと構成

13.  初回ブート時のカスタムスクリプトの実行

14.  AI クライアントシステムで使用するための Oracle Configuration Manager の設定

15.  クライアントシステムのインストール

クライアントのインストール方法

クライアントシステムの要件

SPARC および x86 クライアントシステムの要件

SPARC クライアントシステムの追加の要件

インストールクライアントを設定する

x86 クライアントの設定

SPARC クライアントの設定

サービスからのクライアントの削除

クライアントのインストール

Secure Shell を使用したリモートからのインストールの監視

x86 クライアントのインストールの監視

SPARC クライアントのインストールの監視

SPARC クライアントのインストール

SPARC クライアントのネットワークブート処理

SPARC のネットワークブートの出力例

x86 クライアントのインストール

x86 クライアントのネットワークブート処理

x86 のネットワークブートの出力例

クライアントインストールのメッセージ

自動インストールの開始メッセージ

自動インストールの成功メッセージ

16.  自動インストールのトラブルシューティング

クライアントのインストール

インストールを開始するには、クライアントをブートします。このセクションでは、SPARC または x86 クライアントをブートする方法を正確に示します。また、インストールの進捗状況をリモートから監視する方法についても説明します。

Secure Shell を使用したリモートからのインストールの監視

ssh を使用することで、自動インストールクライアントへのネットワークアクセスを有効にできます。このアクセスを使用すると、進行中のインストールをリモートから監視できます。

リモートアクセスは、インストール設定ファイルでオプション livesshenable に設定することで有効にします。このアクセスが有効になっている場合は、ユーザー名 jack とパスワード jack を使用して AI クライアントにログインできます。

x86 クライアントのインストールの監視

x86 システムの場合、menu.lst 構成ファイルが次の方法で作成されます。

このファイルでは、オプションはカーネルのパラメータとして指定されます。次の例では、livessh オプションと install_debug オプションは enable に設定されています。

kernel$ ... -B install_media=...,livessh=enable,install_debug=enable

SPARC クライアントのインストールの監視

SPARC システムの場合、/etc/netboot ディレクトリ下にマウントされたサービスのネットイメージディレクトリ /etc/netboot/svcname/system.conf を介して system.conf ファイルにアクセスできます。

system.conf ファイルでは、オプションは名前と値のペアとして定義されます。次の例では、livessh オプションは enable に設定されています。

$ cat /etc/netboot/svc1/system.conf
...
livessh=enable
...

SPARC クライアントのインストール

OBP プロンプトから SPARC クライアントをブートするには、次のコマンドを使用します。

ok boot net:dhcp - install

SPARC クライアントのネットワークブート処理

SPARC クライアントの AI ブート中に、次のイベントが発生します。

  1. クライアントがブートし、DHCP サーバーから IP アドレスと wanboot-cgi ファイルの場所を取得します。

  2. wanboot-cgi プログラムが wanboot.conf を読み取り、WAN ブートバイナリの場所をクライアントに送信します。

  3. WAN ブートバイナリが HTTP を使用してダウンロードされ、クライアントが WAN ブートプログラムをブートします。

  4. WAN ブートが boot_archive ファイルを取得し、Oracle Solaris OS がブートされます。

  5. イメージのアーカイブである solaris.zlibsolarismisc.zlib が、HTTP を使用してダウンロードされます。

  6. AI マニフェストとシステム構成プロファイルが、mDNS 検索または system.conf ファイルのどちらかで指定された AI インストールサービスからダウンロードされます。

  7. AI インストールプログラムが AI マニフェストを使用して呼び出され、クライアントへの Oracle Solaris OS のインストールを実行します。

SPARC のネットワークブートの出力例

ブート処理によって次の出力が表示されます。

{0} ok boot net:dhcp - install

SPARC Enterprise T5120, No Keyboard
Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.29.1, 16256 MB memory available, Serial #81036844.
Ethernet address 0:14:4f:d4:86:2c, Host ID: 84d4862c.

Boot device: /pci@0/pci@0/pci@1/pci@0/pci@2/network@0:dhcp  File and args: - install
1000 Mbps full duplex  Link up
Timed out waiting for BOOTP/DHCP reply
<time unavailable> wanboot info: WAN boot messages->console
<time unavailable> wanboot info: configuring /pci@0/pci@0/pci@1/pci@0/pci@2/network@0:dhcp

1000 Mbps full duplex  Link up
<time unavailable> wanboot info: Starting DHCP configuration
<time unavailable> wanboot info: DHCP configuration succeeded
<time unavailable> wanboot progress: wanbootfs: Read 368 of 368 kB (100%)
<time unavailable> wanboot info: wanbootfs: Download complete
Fri Aug 26 14:34:53 wanboot progress: miniroot: Read 221327 of 221327 kB (100%)
Fri Aug 26 14:34:53 wanboot info: miniroot: Download complete
SunOS Release 5.11 Version snv_175 64-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Remounting root read/write
Probing for device nodes ...
Preparing network image for use
Downloading solaris.zlib
--2011-08-26 13:47:31--  http://host1:5555/install/images/sparc_snv175//solaris.zlib
idn_decode failed (9): `System iconv failed'
Resolving host1... 10.80.238.5
idn_decode failed (9): `System iconv failed'
Connecting to host1|10.80.238.5|:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 135977984 (130M) [text/plain]
Saving to: `/tmp/solaris.zlib'

100%[======================================>] 135,977,984 22.3M/s   in 6.0s    

2011-08-26 13:47:37 (21.7 MB/s) - `/tmp/solaris.zlib' saved [135977984/135977984]

Downloading solarismisc.zlib
--2011-08-26 13:47:37--  http://host1:5555/install/images/sparc_snv175//solarismisc.zlib
idn_decode failed (9): `System iconv failed'
Resolving host1... 10.80.238.5
idn_decode failed (9): `System iconv failed'
Connecting to host1|10.80.238.5|:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18826752 (18M) [text/plain]
Saving to: `/tmp/solarismisc.zlib'

100%[======================================>] 18,826,752  21.7M/s   in 0.8s    

2011-08-26 13:47:37 (21.7 MB/s) - `/tmp/solarismisc.zlib' saved [18826752/18826752]

Downloading .image_info
--2011-08-26 13:47:37--  http://host1:5555/install/images/sparc_snv175//.image_info
idn_decode failed (9): `System iconv failed'
Resolving host1... 10.80.238.5
idn_decode failed (9): `System iconv failed'
Connecting to host1|10.80.238.5|:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 82 [text/plain]
Saving to: `/tmp/.image_info'

100%[======================================>] 82          --.-K/s   in 0s      

2011-08-26 13:47:37 (2.22 MB/s) - `/tmp/.image_info' saved [82/82]

Done mounting image
Configuring devices.
Hostname: solaris
Service discovery phase initiated
Service name to look up: default-sparc
Service discovery finished successfully
Process of obtaining install manifest initiated
Using the install manifest obtained via service discovery

Automated Installation started
The progress of the Automated Installation will be output to the console
Detailed logging is in the logfile at /system/volatile/install_log
Press RETURN to get a login prompt at any time.

solaris console login: 13:48:35    Install Log: /system/volatile/install_log
13:48:35    Using XML Manifest: /system/volatile/ai.xml
13:48:35    Using profile specification: /system/volatile/profile
13:48:35    Using service list file: /var/run/service_list
13:48:35    Starting installation.
13:48:35    0% Preparing for Installation
13:48:36    100% manifest-parser completed.
13:48:36    0% Preparing for Installation
13:48:36    1% Preparing for Installation
13:48:37    2% Preparing for Installation
13:48:37    3% Preparing for Installation
13:48:37    4% Preparing for Installation
13:48:47    7% target-discovery completed.
13:48:47    === Executing Target Selection Checkpoint ==
13:48:48    Selected Disk(s) : c3t0d0
13:48:48    13% target-selection completed.
13:48:48    17% ai-configuration completed.
13:49:01    19% target-instantiation completed.
13:49:02    19% Beginning IPS transfer
13:49:02    Creating IPS image
13:50:58    Installing packages from:
13:50:58        solaris
13:50:58            origin:  http://pkg.example.com/solaris/
14:48:40    21% generated-transfer-1491-1 completed.
14:48:41    23% initialize-smf completed.
14:48:43    Installing SPARC bootblk to root pool devices: ['/dev/rdsk/c3t0d0s0']
14:48:43    Setting openprom boot-device
14:48:44    33% boot-configuration completed.
14:48:44    35% update-dump-adm completed.
14:48:45    37% setup-swap completed.
14:48:45    40% set-flush-ips-content-cache completed.
14:48:47    42% device-config completed.
14:48:49    44% apply-sysconfig completed.
14:48:49    46% transfer-zpool-cache completed.
14:49:03    87% boot-archive completed.
14:49:04    89% transfer-ai-files completed.
14:49:04    99% create-snapshot completed.
14:49:05    Automated Installation succeeded.
14:49:05    You may wish to reboot the system at this time.
Automated Installation finished successfully
The system can be rebooted now
Please refer to the /system/volatile/install_log file for details
After reboot it will be located at /var/sadm/system/logs/install_log

x86 クライアントのインストール

次のいずれかの方法を使用してネットワークからブートすることによって、x86 クライアントのインストールを開始します。

クライアントがブートしたら、ブートするネットワークデバイスを選択します。

x86 クライアントのネットワークブート処理

x86 クライアントの AI ブート中に、次のイベントが発生します。

  1. クライアントがブートし、IP アドレスを取得します。ブートファイル pxegrub が、DHCP サーバーによって提供された場所からダウンロードされます。

  2. pxegrub ブートファイルが読み込まれ、menu.lst ファイルを読み取ります。

  3. pxegrub ブートファイルが boot_archive ファイルを取得し、TFTP を使用して Oracle Solaris OS がブートされます。

  4. GRUB メニューによって提供される HTTP を使用して、ネットイメージのアーカイブ solaris.zlib および solarismisc.zlib がダウンロードされます。

  5. AI マニフェストとシステム構成プロファイルが、mDNS 検索またはブートされた GRUB メニューエントリで指定された AI インストールサービスからダウンロードされます。

  6. AI マニフェストで AI インストールプログラムが呼び出され、インストールが実行されます。

x86 のネットワークブートの出力例

システムの PXE ブートが正常に行われると、次のメッセージが少しの間表示されてから、GRUB メニューが表示されます。

Intel(R) Boot Agent PXE Base Code (PXE-2.1 build 0.86)
Copyright(C) 1997-2007, Intel Corporation

CLIENT MAC ADDR 00 14 4F 29 04 12 GUID FF2000008 FFFF FFFF FFFF 7BDA264F1400
CLIENT IP: 10.6.68.29   MASK: 255.255.255.0    DHCP IP:  10.6.68.49
GATEWAY: 10.6.68.1

GRUB メニューに 2 つのメニューエントリが表示されます。自動インストールを開始するには、2 番目のエントリを選択します。

Oracle Solaris 11 11/11 Text Installer and command line
Oracle Solaris 11 11/11 Automated Install

デフォルトの GRUB メニューエントリ「テキストインストーラおよびコマンド行」では、イメージはブートされますが、手入力なしの自動インストールは開始されません。自動インストールを開始するには、GRUB メニュー内の 2 番目のエントリ「自動インストール」を選択します。1 番目のメニューエントリを選択した場合は、クライアントがブートされると、「インストールを開始しないでブートしたあとにインストールを開始する」に示すように、メニューが表示されます。このメニューを使用して、システムを確認するかインストールします。

イメージが選択されると、次のメッセージが表示されます。

Remounting root read/write snv_175 64-bit
Probing for device nodes ...acle and/or its affiliates. All rights reserved.
Preparing network image for use
Downloading solaris.zlib
--2011-08-26 07:35:13--  http://10.80.238.5:5555//install/images/i386_snv175/solaris.zlib
Connecting to 10.80.238.5:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 130032128 (124M) [text/plain]
Saving to: `/tmp/solaris.zlib'

100%[======================================>] 130,032,128 16.4M/s   in 8.3s    

2011-08-26 07:35:22 (14.9 MB/s) - `/tmp/solaris.zlib' saved [130032128/130032128]

Downloading solarismisc.zlib
--2011-08-26 07:35:22--  http://10.80.238.5:5555//install/images/i386_snv175/solarismisc.zlib
Connecting to 10.80.238.5:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18758144 (18M) [text/plain]
Saving to: `/tmp/solarismisc.zlib'

100%[======================================>] 18,758,144  21.7M/s   in 0.8s    

2011-08-26 07:35:23 (21.7 MB/s) - `/tmp/solarismisc.zlib' saved [18758144/18758144]

Downloading .image_info
--2011-08-26 07:35:23--  http://10.80.238.5:5555//install/images/i386_snv175/.image_info
Connecting to 10.80.238.5:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 241 [text/plain]
Saving to: `/tmp/.image_info'

100%[======================================>] 241         --.-K/s   in 0s      

2011-08-26 07:35:23 (29.3 MB/s) - `/tmp/.image_info' saved [241/241]

Done mounting image
Configuring devices.
Hostname: solaris
Service discovery phase initiated
Service name to look up: default-i386
Service discovery finished successfully
Process of obtaining install manifest initiated
Using the install manifest obtained via service discovery

Automated Installation started
The progress of the Automated Installation will be output to the console
Detailed logging is in the logfile at /system/volatile/install_log
Press RETURN to get a login prompt at any time.

solaris console login: 07:35:35    Install Log: /system/volatile/install_log
07:35:35    Using XML Manifest: /system/volatile/ai.xml
07:35:35    Using profile specification: /system/volatile/profile
07:35:35    Using service list file: /var/run/service_list
07:35:36    Starting installation.
07:35:36    0% Preparing for Installation
07:35:36    100% manifest-parser completed.
07:35:36    0% Preparing for Installation
07:35:36    1% Preparing for Installation
07:35:36    2% Preparing for Installation
07:35:36    3% Preparing for Installation
07:35:37    4% Preparing for Installation
07:35:51    7% target-discovery completed.
07:35:51    === Executing Target Selection Checkpoint ==
07:35:51    Selected Disk(s) : c7t0d0
07:35:51    13% target-selection completed.
07:35:51    17% ai-configuration completed.
07:36:23    19% target-instantiation completed.
07:36:23    19% Beginning IPS transfer
07:36:23    Creating IPS image
07:36:41    Installing packages from:
07:36:41        solaris
07:36:41            origin:  http://pkg.example.com/solaris/
07:53:29    21% generated-transfer-1006-1 completed.
07:53:29    23% initialize-smf completed.
07:53:30    Setting console boot device property to ttya
07:53:30    Disabling graphical console in boot loader
07:53:30    Creating Legacy GRUB config directory:
       /rpool/boot/grub
07:53:30    Installing boot loader to devices: ['/dev/rdsk/c7t0d0s0']
07:53:31    33% boot-configuration completed.
07:53:31    35% update-dump-adm completed.
07:53:31    37% setup-swap completed.
07:53:31    40% set-flush-ips-content-cache completed.
07:53:32    42% device-config completed.
07:53:46    44% apply-sysconfig completed.
07:53:46    46% transfer-zpool-cache completed.
07:54:08    87% boot-archive completed.
07:54:08    89% transfer-ai-files completed.
07:54:09    99% create-snapshot completed.
07:54:09    Automated Installation succeeded.
07:54:09    You may wish to reboot the system at this time.
Automated Installation finished successfully
The system can be rebooted now
Please refer to the /system/volatile/install_log file for details
After reboot it will be located at /var/sadm/system/logs/install_log

クライアントインストールのメッセージ

次のメッセージは、SPARC と x86 の両方のインストールに共通しています。

自動インストールの開始メッセージ

クライアントがブートに成功し、インストールファイルをダウンロードできる場合は、次のメッセージが表示されます。

Automated Installation started
The progress of the Automated Installation will be output to the console
Detailed logging is in the logfile at /system/volatile/install_log
Press RETURN to get a login prompt at any time.

パスワード solaris を使用して root としてログインし、/system/volatile/install_log 内のインストールメッセージを監視できます。IPS からのパッケージのインストールが開始されると、このログファイルへの更新が長時間表示されないことがあります。

自動インストールの成功メッセージ

次のメッセージが表示された場合は、インストールが成功しました。

Automated Installation finished successfully
The system can be rebooted now
Please refer to the /system/volatile/install_log file for details
After reboot it will be located at /var/sadm/system/logs/install_log

AI マニフェストで自動リブートを設定している場合は、この時点でシステムがリブートします。インストールが正常に完了したあとの自動リブートを指定するには、<ai_instance> タグの auto_reboot 属性を true に設定します。デフォルト値は false です。インストールが正常に完了したあと、クライアントは自動的にはリブートしません。