Guide du programme d'installation automatisée Oracle Solaris 11 Express

Configuration d'un client x86

L'exemple suivant associe le client x86 avec l'adresse MAC 0:e0:81:5d:bf:e0 au service d'installation s11-x86. L'option -b définit la valeur de la console, console=ttya, dans le fichier menu.lst file spécifique au client dans /tftpboot.


# installadm create-client -b "console=ttya" \
-e 0:e0:81:5d:bf:e0 -n s11-x86
Setting up X86 client...
Service discovery fallback mechanism set up

Detected that DHCP is not set up on this server.
If not already configured, please create a DHCP macro
named 0100E0815DBFE0 with:
   Boot server IP (BootSrvA) : 10.6.68.29
   Boot file      (BootFile) : 0100E0815DBFE0
If you are running the Solaris DHCP server, use the following
command to add the DHCP macro, 0100E0815DBFE0:
   /usr/sbin/dhtadm -g -A -m 0100E0815DBFE0 -d \
:BootSrvA=10.6.68.29:BootFile=0100E0815DBFE0:GrubMenu=menu.lst.0100E0815DBFE0:

Note: Be sure to assign client IP address(es) if needed
(e.g., if running the Solaris DHCP server, run pntadm(1M)).

Cette commande affiche le nom et les valeurs d'une macro, 0100E0815DBFE0, qui doit être ajoutée au serveur DHCP.

Utilisez l'utilitaire /usr/smap/admin/bin/dhcpmgr pour ouvrir le gestionnaire DHCP afin d'afficher les résultats de la configuration DHCP dans la table DHCP.

Vous pouvez également afficher les résultats de la commande installadm create-client dans le répertoire /tftpboot :


# cd /tftpboot
# ls -l
lrwxrwxrwx  13:23 0100E0815DBFE0 -> pxegrub.I86PC.Solaris-1
drwxr-xr-x  13:26 I86PC.Solaris-1
-rw-r--r--  13:23 menu.lst.0100E0815DBFE0
-rwxr-xr-x  13:23 pxegrub.I86PC.Solaris-1
-rw-r--r--  13:23 rm.0100E0815DBFE0

# cat menu.lst.0100E0815DBFE0
default=0
timeout=30
min_mem64=1000
title Oracle Solaris 11 Express boot image
    kernel$ /I86PC.Solaris-1/platform/i86pc/kernel/$ISADIR/unix 
-B install_media=http://135.134.0.10:5555/export/aiserver/s11-ai-x86,
install_service=s11-ai-x86,install_svc_address=135.134.0.10:46501
    module$ /I86PC.Solaris-1/platform/i86pc/$ISADIR/boot_archive
title Oracle Solaris 11 Express Automated Install
    kernel$ /I86PC.Solaris-1/platform/i86pc/kernel/$ISADIR/unix 
-B install=true,install_media=http://135.134.0.10:5555/export/aiserver/s11-ai-x86,
install_service=osol-1003-ai-x86,install_svc_address=135.134.0.10:46501
    module$ /I86PC.Solaris-1/platform/i86pc/$ISADIR/boot_archive