On the AI server, use the installadm create-client command to associate a particular AI client with a particular install service.
The installadm create-client command requires the following information:
MAC address for the AI client
Name of the install service for the AI client to use for installation
For x86 clients, you can optionally specify boot properties on the installadm create-client command by using the –b option. For SPARC clients, include the boot arguments you want the AI client to boot with in the boot command that you type when you boot it.
The following example associates the SPARC client with MAC address 00:14:4f:a7:65:70 with the solaris11_3-sparc install service.
# installadm create-client -n solaris11_3-sparc -e 00:14:4f:a7:65:70
The DHCP server does not require configuration because the SPARC wanboot-cgi boot file has already been configured by create-service. See Creating an Install Service for more information.
The following results of this installadm create-client command appear in the /etc/netboot directory:
dr-xr-x--- 2 webservd webservd 4 Apr 9 08:53 0100144FA76570
The following example associates the x86 client with MAC address 0:e0:81:5d:bf:e0 with the solaris11_3-i386 install service. The DHCP configuration output by this command must be added to the DHCP server. If this DHCP configuration is not done, the AI client cannot boot the solaris11_3-i386 install service.
# installadm create-client -n solaris11_3-i386 -e 0:e0:81:5d:bf:e0 No local DHCP configuration found. If not already configured, the following should be added to the DHCP configuration: Boot server IP : 203.0.113.5 Boot file(s) : bios clients (arch 00:00): 0100E0815DBFE0.bios uefi clients (arch 00:07): 0100E0815DBFE0.uefi
The following example shows how installadm might set the PXE boot entry for this AI client:
host 00E0815DBFE0 { hardware ethernet 00:E0:81:5D:BF:E0; if option arch = 00:00 { filename "0100E0815DBFE0.bios"; } else if option arch = 00:07 { filename "0100E0815DBFE0.uefi"; } }
The following results of this installadm create-client command appear in the /etc/netboot directory:
lrwxrwxrwx 1 root root 21 May 6 10:32 0100E0815DBFE0 -> ./0100E0815DBFE0.bios lrwxrwxrwx 1 root root 44 May 6 10:32 0100E0815DBFE0.bios -> ./solaris11_3-i386/boot/grub/pxegrub2 lrwxrwxrwx 1 root root 51 May 6 10:32 17:49 0100E0815DBFE0.uefi -> ./solaris11_3-i386/boot/grub/grub2netx64.efi -rw-r--r-- 1 root root 1744 May 6 10:32 17:49 grub.cfg.0100E0815DBFE0 -rw-r--r-- 1 root root 1204 May 6 10:32 17:49 menu.conf.0100E0815DBFE0
Use the installadm delete-client command to delete an AI client from an install service.
$ installadm delete-client -e macaddr
You do not need to specify the service name because an AI client can be associated with only one install service.