AutoInstall Oracle Solaris 11

Page last edited hace 2117 días 3 horas
De Solaris-ES
Saltar a: navegación, buscar

Oracle Solaris 11 Automated installation:[editar]

La instalacion "Oracle Solaris 11 Automated" nos permite realizar una instalación del tipo “hands-free”, es decir desatendida via red, con lo cual podríamos instalar múltiples sistemas, permitiendo al administrador crear, administrar y personalizar la instalación vía perfiles diferentes para cada sistema.

Configuración[editar]

# installadm disable basic_ai
# installadm delete-service -r basic_ai

# svcadm enable multicast:default
# mkdir -p /export/ai/basic_ai
# getent netmasks 192.168.0.0
# echo "192.168.0.0 255.255.255.0" > /etc/netmasks

# installadm create-service -n basic_ai -s /opt/ora/course_files/sol-11-1111-ai-x86.iso -i 192.168.0.130 -c 5 -d /export/ai/basic_ai
# installadm list
# installadm create-client -e 08:00:27:85:C7:D6 -n basic_ai -b install_debug=enable
# installadm create-client -e 08:00:27:85:C7:D7 -n basic_ai
# installadm list -c
# mkdir -p /var/tmp/manifests/
# cp /export/ai/basic_ai/auto_install/manifest/default.xml /var/tmp/manifests/basic_ai.xml
# vi /var/tmp/manifests/basic_ai.xml
# installadm disable basic_ai
# installadm delete-service -r basic_ai

# installadm create-service -n custom_ai -s /opt/ora/course_files/sol-11-dev-175b-ai-x86.iso -i 192.168.0.135 -c 5 -d /export/ai/custom_ai
# installadm list
# installadm create-client -e 08:00:27:85:C7:D8 -n custom_ai
# installadm list -c
# cp /var/tmp/manifests/basic_ai.xml /var/tmp/manifests/custom_ai.xml
# vi <ai_instance name="custom_ai" auto_reboot="true">
<ai_instance name="custom_ai" auto_reboot="true">

# diff /var/tmp/manifests/custom_ai.xml /var/tmp/manifests/basic_ai.xml
# vi /var/tmp/manifests/criteria_custom_ai.xml
<ai_criteria_manifest>
        <ai_criteria name="mac">
                <value>
                        08:00:27:85:C7:D8
                </value>
        </ai_criteria>
</ai_criteria_manifest>

# installadm create-manifest -n custom_ai -f /var/tmp/manifests/custom_ai.xml -C /var/tmp/manifests/criteria_custom_ai.xml 
# installadm list -c -m
# sysconfig create-profile -o /var/tmp/manifests/client3_profile.xml
# more /var/tmp/manifests/client3_profile.xml
# installadm create-profile -n custom_ai -f /var/tmp/manifests/client3_profile.xml -p client3_profile -C /var/tmp/manifests/criteria_custom_ai.xml
# installadm list -p -n custom_ai
# installadm validate -n custom_ai -p client3_profile