Creating Client-Service Associations

Default install services are automatically associated with clients that match the platform for which the install services are created.

If clients need to use an install service other than the default service, then you must manually associate the server and those clients. The clients are identified by their MAC addresses, as shown in the following example:

$ installadm create-client -e aa:bb:cc:dd:ee -n ai-x86

A client can be associated with only one install service at one AI instance. If you run the command on the same client multiple times for different services, that client is associated only with the install service that was specified last.

To remove an association, delete the client:

$ installadm delete-client -e mac-address

Every creation of a client also modifies the DHCP configuration file of the DHCP server. Thus, the DHCP server recognizes and provides network connectivity to the client.

After you have properly created and configured the services, manifests, profiles, and server-client associations as needed, you can proceed with the installation on the clients. See Running AI on Clients by Using an AI Server.

The examples that follow show additional ways to associate clients to install services.

Example 4-5 Setting Up a SPARC Client With an Install Service

The following example associates the SPARC client with MAC address 00:14:4f:a7:65:70 with a service called sparc-service01.

# installadm create-client -n sparc-service01 -e 00:14:4f:a7:65:70

Example 4-6 x86: Associating an X86 Client With an Install Service and Redirecting Output to a Serial Line

In this example, the installation output is redirected to a serial console device.

$ installadm create-client -e c0ffeec0ffee -n solaris11_4-i386 -b console=ttya

Example 4-7 x86: Changing Boot Properties for an X86 Client

The -G option is specific to x86 clients to specify a custom GRUB2 menu to use when booting the client. In this example, the custom GRUB2 menu is /etc/netboot/grub.custom.cfg.

$ installadm create-client -e c0ffeec0ffee -n solaris11_4-i386 -G /etc/netboot/grub.custom.cfg

Note that the -b and -G options cannot be used at the same time.