Omitir V�nculos de navegaci�n | |
Salir de la Vista de impresi�n | |
Instalación de sistemas Oracle Solaris 11 Oracle Solaris 11 Information Library (Español) |
Parte I Opciones de instalación de Oracle Solaris 11
1. Descripción general de opciones de instalación
Parte II Instalación con medios de instalación
2. Preparación de la instalación
4. Uso del instalador de texto
5. Instalaciones automatizadas que se inician desde medios
6. Anulación de configuración o reconfiguración de una instancia de Oracle Solaris
Parte III Instalación con un servidor de instalación
7. Instalación automatizada de varios clientes
8. Configuración de un servidor de instalación
9. Personalización de instalaciones
10. Aprovisionamiento del sistema cliente
11. Configuración del sistema cliente
12. Instalación y configuración de zonas
13. Ejecución de una secuencia de comandos personalizada durante el primer inicio
14. Configuración de Oracle Configuration Manager para su uso en sistemas cliente AI
15. Instalación de sistemas cliente
Requisitos de sistemas cliente
Requisitos de sistemas cliente SPARC y x86
Requisitos del sistema adicionales de clientes SPARC
Configuración de un cliente de instalación
Configuración de un cliente x86
Configuración de un cliente SPARC
Supresión de un cliente de un servicio
Uso del shell seguro para supervisar las instalaciones de manera remota
Supervisión de instalaciones de cliente x86
Supervisión de instalaciones de cliente SPARC
Instalación de un cliente SPARC
Secuencia de inicio de clientes SPARC desde la red
Ejemplo de salida de inicio de SPARC desde la red
Secuencia de inicio de clientes x86 desde la red
Ejemplo de salida de inicio de x86 desde la red
Mensajes de instalación de cliente
Inicie el cliente para comenzar la instalación. En esta sección, se muestra exactamente cómo iniciar un cliente SPARC o x86. En esta sección, también se describe cómo puede supervisar el progreso de la instalación de manera remota.
Puede habilitar el acceso de red a un cliente de instalación automatizada mediante ssh. Puede utilizar este acceso para observar una instalación en curso de manera remota.
Para habilitar el acceso remoto, defina la opción livessh en enable en el archivo de configuración de la instalación. Cuando el acceso esté habilitado, puede iniciar sesión en el cliente AI mediante el nombre de usuario jack y la contraseña jack.
En los sistemas x86, el archivo de configuración menu.lst se crea de la siguiente forma:
Si utilizó el comando installadm create-client, el nombre de archivo es /etc/netboot/menu.lst.01dirección_MAC, en donde dirección_MAC representa la dirección MAC especificada en el comando installadm create-client.
Si no utilizó el comando installadm create-client, el nombre de archivo es /etc/netboot/nombre_servicio/menu.lst, en donde nombre_servicio es el nombre del servicio de instalación creado mediante el comando installadm create-service.
En este archivo, las opciones se proporcionan como parámetros del núcleo. En el siguiente ejemplo, las opciones livessh e install_debug se definen en enable.
kernel$ ... -B install_media=...,livessh=enable,install_debug=enable
En los sistemas SPARC, se puede acceder al archivo system.conf a través del directorio de imágenes de red del servicio que se ha montado en el directorio /etc/netboot: /etc/netboot/nombre_svc/system.conf.
En el archivo system.conf, las opciones se definen como pares de nombre y valor. En el siguiente ejemplo, la opción livessh se define en enable.
$ cat /etc/netboot/svc1/system.conf ... livessh=enable ...
Utilice el siguiente comando para iniciar clientes SPARC desde el indicador OBP:
ok boot net:dhcp - install
Se pueden producir los siguientes eventos durante el inicio AI de un cliente SPARC:
El cliente se inicia y obtiene una dirección IP y la ubicación del archivo wanboot-cgi desde el servidor DHCP.
El programa wanboot-cgi lee wanboot.conf y envía la ubicación del archivo binario de inicio WAN al cliente.
El archivo binario de inicio WAN se descarga mediante HTTP, y el cliente inicia el programa de inicio WAN.
El inicio WAN obtiene el archivo boot_archive, y se inicie el SO Oracle Solaris.
Los archivos de imagen, solaris.zlib y solarismisc.zlib, se descargan mediante HTTP.
El manifiesto AI y los perfiles de configuración de sistema se descargan desde un servicio de instalación de AI especificado desde la consulta mDNS o desde el archivo system.conf.
El programa de instalación AI se invoca con el manifiesto AI para realizar la instalación del SO Oracle Solaris en el cliente.
A continuación, se muestra la salida de una secuencia de inicio:
{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
Comience la instalación de cliente x86 mediante uno de los siguientes métodos para el inicio desde la red:
Presione la tecla de función apropiada. Por ejemplo, algunos sistemas utilizan F12 para el inicio desde la red.
Cambie el orden de inicio en el BIOS.
Cuando se inicie el cliente, seleccione el dispositivo de red desde el que desea iniciar.
Se producen los siguientes eventos durante el inicio AI de un cliente x86:
El cliente se inicie y obtiene una dirección IP, y el archivo de inicio, pxegrub, se descarga desde la ubicación proporcionada por el servidor DHCP.
El archivo de inicio pxegrub se carga y lee un archivo menu.lst.
El archivo de inicio pxegrub obtiene el archivo boot_archive, y se inicia el SO Oracle Solaris mediante TFTP.
Los archivos de imagen de red, solaris.zlib y solarismisc.zlib, se descargan mediante HTTP, según se proporcionan en el menú GRUB.
El manifiesto AI y los perfiles de configuración de sistema se descargan desde un servicio de instalación AI especificado en una consulta mDNS o en la entrada del menú GRUB que se inició.
El programa de instalación AI se invoca con el manifiesto AI para efectuar la instalación.
Una vez que el sistema se inició correctamente mediante PXE, aparece brevemente el siguiente mensaje antes de mostrar el menú 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
El menú GRUB aparece con dos entradas de menú. Seleccione la segunda entrada para comenzar una instalación automatizada:
Oracle Solaris 11 11/11 Text Installer and command line Oracle Solaris 11 11/11 Automated Install
La entrada del menú GRUB predeterminada, "Text Installer and command line", inicia la imagen sin comenzar una instalación automatizada no interactiva. Seleccione la segunda entrada del menú GRUB, "Automated Install", para comenzar una instalación automatizada. Si selecciona la primera entrada del menú, cuando se inicie el cliente, aparece un menú como se muestra en Comenzar una instalación tras el inicio sin ejecutar una instalación. Utilice este menú para examinar o instalar el sistema.
Una vez seleccionada la imagen, se muestran los siguientes mensajes:
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
Los siguientes mensajes son comunes tanto para las instalaciones SPARC como x86.
Si el cliente se inicia y descarga los archivos de instalación correctamente, aparecerá el siguiente mensaje:
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.
Puede iniciar sesión como root con la contraseña solaris para supervisar los mensajes de instalación en /system/volatile/install_log. Una vez que comenzó la instalación de paquetes desde IPS, es posible que no vea actualizaciones en este archivo de registro durante un período prolongado.
Si se muestra el siguiente mensaje, la instalación se realizó correctamente:
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
Si configuró el reinicio automático en el manifiesto AI, el sistema se reinicia en este momento. Para especificar el reinicio automático después de una instalación correcta, defina el atributo auto_reboot de la etiqueta <ai_instance> en true. El valor predeterminado es false: el cliente no se reinicia automáticamente después de una instalación correcta.