ネットワークを通じてインストールする(PXEブート)
ネットワークブートによるインストール中に、次の処理が実行されます。
-
クライアントがPXEモードでブートされます。
-
A Dhcpd server provides the client with an IP address and mask, the address of an installation server, and the name of a bootloader file on that server.
-
クライアントは、インストールサーバからTFTPプロトコルを通じてブートローダファイルをダウンロードし、実行します。
-
クライアントは、インストールに使用できるプロファイルをメニューから選択するか、いずれかのプロファイルで自動インストールを開始します。
-
クライアントは、TFTPプロトコルを通じて、そのプロファイルと一致するディストリビューション用のカーネルと初期RAMディスクをダウンロードします。
-
インストールカーネルは、インストールプログラム、KickstartまたはAutoYaSTを起動します。 それ以降、カーネルは、HTTPプロトコルを通じてサーバで提供されるリソースを使用します。
-
ディストリビューションは、KickstartまたはAutoYaSTプロファイルに従って自動的にインストールされます。
-
The profile calls a code snippet that registers the client to the SUSE Multi-Linux Manager Server.
The installation server can either be the SUSE Multi-Linux Manager Server or one of its proxies.
The Dhcpd server may also provide other configuration information to the client, like a host name, the address of a router and the address of a domain name server. Some of this information might be needed for the autoinstallation, for example if you specify the installation server by its domain name.
In the PXE boot menu, the first choice is Local boot. If you select this, the boot process continues from the local disk drives. This option is selected automatically if no profile was selected after a certain time. This is a security measure to prevent from starting an autoinstallation if no human operator is there to select one of the profiles.
または、手動での操作なしで、いずれかのプロファイルからインストールを自動的に開始することもできます。 これは「無人プロビジョニング」と呼ばれます。
Prepare the Kea server, see Prepare the Dhcpd Server.
自動インストールのディストリビューションを準備します。自動インストールのディストリビューションを参照してください。
自動インストールプロファイルを準備します。自動インストールプロファイルを参照してください。
クライアントを再起動し、インストールするプロファイルを選択します。
Some other steps are optional.
To use a proxy as the installation server, see Synchronize the TFTP tree with proxies. For unattended provisioning, see Unattended provisioning.
1. Prepare the Dhcpd server
The PXE boot process uses Dhcpd to find the TFTP server. The SUSE Multi-Linux Manager Server or its proxies can act as such a TFTP server.
You must have administrative access to the network’s Dhcpd server. Edit the Dhcpd configuration file so that it points to the installation server as the TFTP boot server.
-
On the Dhcpd server, as root, open the
/etc/dhcpd.conffile. -
クライアントに対する宣言を次のように変更します。
host myclient { (...) next-server 192.168.2.1; filename "grub/grub.0"; } -
Save the file and restart the
dhcpdservice.
This example directs the PXE client myclient to the installation server at 192.168.2.1 and instructs it to retrieve the grub/grub.0 bootloader file.
Alternatively, if your Dhcpd server is registered at SUSE Multi-Linux Manager, you can configure it using the Dhcpd formula instead:
-
Navigate to , select the client you want to change, and go to the
Formulastab to enable the Dhcpd formula. -
Go to the formula’s
Dhcpdtab, and in theNext Serverfield, enter the hostname or IP address of the installation server. -
In the
Filename EFIfield, typegrub/shim.efito enable EFI PXE support. -
In the
Filenamefield, typegrub/grub.0to enable legacy BIOS support. -
Save Formula(式の保存)をクリックして設定を保存します。
-
highstateを適用します。
|
This sets up a global PXE server for all the hosts, you can also have per-host settings. For more information about the Dhcpd formula, see Dhcpd Formula.
2. Synchronize the TFTP tree with proxies
There is no need to synchronize with SUSE Multi-Linux Manager 5.x proxies.
You can synchronize the TFTP tree on the SUSE Multi-Linux Manager Server with the SUSE Multi-Linux Manager Proxy 4.3. For synchronization, HTTPS port 443 must be open. Every added proxy slows down the tree synchronization
|
If you are using SUSE Multi-Linux Manager Proxy 4.3, please consult documentation for 4.3 version |
3. 異なるアーキテクチャ用のGRUB EFIバイナリ名
| アーキテクチャ | GRUB EFIバイナリ名 |
|---|---|
aarch64 |
grubaa64.efi |
x86-64 |
grubx86.efi |
ppc64le |
grub.ppc64le |