Puede realizar una instalación silenciosa o en segundo plano utilizando unos archivos denominados archivos de respuestas. En este caso, en lugar de mostrar una interfaz gráfica ("asistente"), la instalación silenciosa hace que el programa de instalación lea todas sus respuestas de un archivo que proporciona el usuario. El archivo de respuestas responsefile.wps.txt puede utilizarse para instalar WebSphere Process Server de manera silenciosa. El archivo de respuestas se entrega con los valores por omisión.
No utilice la opción -silent en el archivo de respuestas. Si lo hace, esto podría causar una anomalía en la creación de perfiles.
El archivo de respuestas de ejemplo responsefile.wps.txt puede encontrarse en el directorio WBI en el CD 1 de WebSphere Process Server. No se instalará.
Consulte Espacio en disco necesario para obtener información sobre cuánto espacio de disco se necesitará.
install -options /tmp/WBI/myoptions.txt -silent
install.exe -options "C:\temp\WBI\myoptions.txt" -silent
Si la instalación no ha sido satisfactoria, examine otros archivos de anotaciones para determinar la razón. Vea las descripciones de los archivos de anotaciones cronológicas relevantes que se listan en Archivos de anotaciones cronológicas, de los mensajes de error de Mensajes de error: instalación y creación y aumento de perfiles, examine el apartado Resolución de problemas a continuación y consulte Resolución de problemas de la instalación para ver sugerencias sobre resolución de problemas de la instalación. Consulte también el apartado Recuperación de una anomalía en la creación o aumento de un perfil para ver consejos sobre resolución de problemas si el perfil no se ha creado satisfactoriamente.
Si la instalación ha sido satisfactoria, una vez creado un perfil del gestor de despliegue o el perfil autónomo de WebSphere Process Server, inicie el servidor o el gestor de despliegue desde la consola Primeros pasos para comprobar que la instalación funciona correctamente. Consulte Opciones de la consola Primeros pasos para obtener más detalles.
Si utiliza WebSphere Process Server,
versión 6.0.1, también puede utilizar las herramientas de verificación de
instalación para verificar la instalación.
Para obtener más información, consulte el apartado Utilización de las herramientas de verificación de instalación de WebSphere Process Server, versión 6.0.1.
Sea preciso al proporcionar valores en el archivo de respuestas: personalice el archivo de respuestas de opciones correctamente para hacer que el programa de instalación lea los valores de las opciones que contiene el archivo. Las especificaciones incorrectas afectan a la interfaz silenciosa del Asistente de instalación. Por ejemplo, utilice siempre correctamente las mayúsculas y minúsculas en los nombres de propiedades, ya que son sensibles a mayúsculas y minúsculas. Además, encierre siempre los valores entre comillas.
Si el error es un valor de opción que no es válido, ISMP (InstallShield for Multiplatforms) muestra un mensaje de advertencia que debe confirmar y detiene la instalación.
Compare el archivo de respuestas de opciones con el archivo responsefile.wps.txt que se entrega con el producto para realizar las correcciones necesarias. Después de corregir el archivo, vuelva a instalarlo.
Ciertos sucesos pueden impedir que ISMP (InstallShield for Multiplatforms) inicie de manera silenciosa el Asistente de instalación. Dicho suceso no tiene espacio en disco suficiente para iniciar el Asistente de instalación, por ejemplo. Si la instalación falla y no hay información en los archivos de anotaciones cronológicas de instalación, utilice el parámetro -log para registrar las entradas de los sucesos que hacen que el programa ISMP no pueda iniciar el Asistente de instalación. La sintaxis del mandato install para registrar dichos sucesos es la siguiente:
install -options "/usr/IBM/WebSphere/silentFiles/myresponsefile.txt" -silent -log # !/usr/IBM/WebSphere/myOptionFiles/log.txt @ALL
install -options "/opt/IBM/WebSphere/silentFiles/myresponsefile.txt" -silent -log # !/opt/IBM/WebSphere/myOptionFiles/log.txt @ALL
install -options "/opt/ibm/WebSphere/silentFiles/myresponsefile.txt" -silent -log # !/opt/ibm/WebSphere/myOptionFiles/log.txt @ALL
install -options "/opt/IBM/WebSphere/silentFiles/myresponsefile.txt" -silent -log # !/opt/ibm/WebSphere/myOptionFiles/log.txt @ALL
install.exe -options "C:\IBM\WebSphere\silentFiles\myresponsefile.txt" -silent -log # !C:\IBM\WebSphere\silentFiles\log.txt @ALL
El archivo de respuestas proporcionado con WebSphere Process Server, versión 6.0.0, antes de la modificación, será similar al siguiente:
################################################################################ # # Licensed Material - Property of IBM # 5724-L01 # (C) Copyright IBM Corporation 2005. All Rights Reserved. # US Government Users Restricted Rights- Use, duplication or disclosure # restricted by GSA ADP Schedule Contract with IBM Corp. # ################################################################################ ################################################################################ # # InstallShield Options File # # Wizard name: Install # Wizard source: setup.jar # # This file can be used to configure Install with the options specified below # when the wizard is run with the "-options" command line option. Read each # setting's documentation for information on how to change its value. # # A common use of an options file is to run the wizard in silent mode. This lets # the options file author specify wizard settings without having to run the # wizard in graphical or console mode. To use this options file for silent mode # execution, use the following command line arguments when running the wizard: # # -options "D:\installImage\WBI\responsefile.wps.txt" -silent # ################################################################################ ################################################################################### # # License Acceptance # # Valid Options : true Accepts the license. Will install the product. # false Declines the license. Install will not occur. # # If no install occurs, this will be logged to a temporary log file in the user's temporary directory. # # By changing the silentInstallLicenseAcceptance.value in this response file to "true", # you agree that you have reviewed and agree to the terms of the IBM International # Program License Agreement accompanying this program, which is located at # CD_ROOT\WBI\lafiles. If you do not agree to these terms, do not change the value or # otherwise download, install, copy, access, or use the program and promptly # return the program and proof of entitlement to the party from whom you acquired it # to obtain a refund of the amount you paid. # #-W silentInstallLicenseAcceptance.value="false" ################################################################################ # # Incremental Install # # If you are installing additional features on top of an existing installation, # (e.g. incremental install), uncomment the following line. This will notify # the installer that you are doing an incremental install. # # -W wbiDetectionPanel_InstallWizardBean.optionSelected="1" # # Please make sure installLocation is set to your existing install location. # # For already installed features, you need to set the feature active property # to false. For new features you want to install, you need to set the active # properties to true. # # For example, you have installed the Samples Gallery feature, now you want to # install the Public API Javadoc(tm) feature, the active properties should be: # # -P brbeansProductFeatureBean.active="false" # -P emsProductFeatureBean.active="false" # -P samplesProductFeatureBean.active="false" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # IBM WebSphere Process Server, V6.0 Install Location # # The install location of the product. Specify a valid directory into which the # product should be installed. If the directory contains spaces, enclose it in # double-quotes as shown in the Windows example below. Note that spaces in the # install location is only supported on Windows operating systems. # # Below is the list of default install locations for each supported operating # system. By default, in this response file, the Windows install location is # used. If you want to use the default install location for another operating # system, uncomment the appropriate default install location entry (by removing '#') and # then comment out (by adding '#') the Windows operating system entry below. # # # AIX Default Install Location: # # -P wbiProductBean.installLocation=/usr/IBM/WebSphere/ProcServer # # # HP-UX, Solaris or Linux Default Install Location: # # -P wbiProductBean.installLocation=/opt/IBM/WebSphere/ProcServer # # # Windows Default Install Location: # -P wbiProductBean.installLocation="C:\Program Files\IBM\WebSphere\ProcServer" ################################################################################ # # Use Existing IBM WebSphere Application Server V6.0 # # If you intend to use an existing installation of WebSphere Application Server V6.0 or # WebSphere Application Server Network Deployment, V6.0, uncomment the following line # (by removing '#'). # # -W wasdetectionpanelInstallWizardBean.optionSelected="1" # # You must then set the above WebSphere Process Server install location to the install root # of the existing WAS installation. # # Note that the install will fail if WebSphere Process Server has already been installed # in the existing WAS install location. # ################################################################################ # # Setup Type # # This value is required for the installation. Do not change this! # -W setuptypepanelInstallWizardBean.selectedSetupTypeId="Custom" ################################################################################ # # "Business Rule Beans (deprecated)" feature # # The selection state of the "Business Rule Beans (deprecated)" feature. Legal # values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Business Rule Beans (deprecated)" for installation, use # # -P brbeansProductFeatureBean.active="false" # -P brbeansProductFeatureBean.active="false" ################################################################################ # # "Extended Messages (deprecated)" feature # # The selection state of the "Extended Messages (deprecated)" feature. Legal # values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Extended Messages (deprecated)" for installation, use # # -P emsProductFeatureBean.active="false" # -P emsProductFeatureBean.active="false" ################################################################################ # # "Samples Gallery" feature # # The selection state of the "Samples Gallery" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Samples Gallery" for installation, use # # -P samplesProductFeatureBean.active="true" # -P samplesProductFeatureBean.active="true" ################################################################################ # # "Public API Javadoc (tm)" feature # # The selection state of the "Public API Javadoc (tm)" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Public API Javadoc (tm)" for installation, use # # -P javadocsProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # WebSphere Process Server Profile Wizard # # To launch the Profile Wizard SILENTLY at the end # of the installation, please change the value to "true". # Otherwise, set the value to "false". # -W summaryPanel_InstallWizardBean.launchPCAW="false" ################################################################################ # If you choose to run Profile Wizard silently at the end of the # installation, you must # 1. get a copy of the Profile Wizard response file (from CD) and put to a temp dir # such as: /tmp/WBI/responsefile.pcaw.wps.dmgrProfile.txt For DMGR profile creation # /tmp/WBI/responsefile.pcaw.wps.managedProfile.txt For Manage profile creation # /tmp/WBI/responsefile.pcaw.wps.standAloneProfile.txt For Stand alone profile creation # 2. modify the response file by filling in the required options/values. # Note: If the values are not completed properly, the configuration may be unsuccessful. # 3. specify below the absolute path to your modified response file. # # For example, # -W pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation= # "/tmp/WBI/responsefile.pcaw.dmgrProfile.txt"-W # pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation=""
El
archivo de respuestas proporcionado con WebSphere Process Server, versión
6.0.1, antes de la modificación, será similar al siguiente:
################################################################################ # # Licensed Material - Property of IBM # 5724-L01 # (C) Copyright IBM Corporation 2005. All Rights Reserved. # US Government Users Restricted Rights- Use, duplication or disclosure # restricted by GSA ADP Schedule Contract with IBM Corp. # ################################################################################ ################################################################################ # # InstallShield Options File # # Wizard name: Install # Wizard source: setup.jar # # This file can be used to configure Install with the options specified below # when the wizard is run with the "-options" command line option. Read each # setting's documentation for information on how to change its value. # # A common use of an options file is to run the wizard in silent mode. This lets # the options file author specify wizard settings without having to run the # wizard in graphical or console mode. To use this options file for silent mode # execution, use the following command line arguments when running the wizard: # # -options "D:\installImage\WBI\responsefile.wps.txt" -silent # ################################################################################ ################################################################################### # # License Acceptance # # Valid Options : true Accepts the license. Will install the product. # false Declines the license. Install will not occur. # # If no install occurs, this will be logged to a temporary log file in the user's temporary directory. # # By changing the silentInstallLicenseAcceptance.value in this response file to "true", # you agree that you have reviewed and agree to the terms of the # IBM International Program License Agreement accompanying this program, which # is located at CD_ROOT\WBI\LICENSES. If you do not agree to these terms, do not change # the value or otherwise download, install, copy, access, or use the program and # promptly return the program and proof of entitlement to the party from whom you # acquired it to obtain a refund of the amount you paid. # # -G licenseAccepted="false" ################################################################################ # # Incremental Install # # If you are installing additional features on top of an existing installation, # (e.g. incremental install), uncomment the following line. This will notify # the installer that you are doing an incremental install. # # -W wbiDetectionPanel_InstallWizardBean.optionSelected="1" # # Please make sure installLocation is set to your existing install location. # # For already installed features, you need to set the feature active property # to false. For new features you want to install, you need to set the active # properties to true. # # For example, you have installed the Samples Gallery feature, now you want to # install the Public API Javadoc(tm) feature, the active properties should be: # # -P brbeansProductFeatureBean.active="false" # -P emsProductFeatureBean.active="false" # -P samplesProductFeatureBean.active="false" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # IBM WebSphere Process Server, V6.0 Install Location # # The install location of the product. Specify a valid directory into which the # product should be installed. If the directory contains spaces, enclose it in # double-quotes as shown in the Windows example below. Note that spaces in the # install location is only supported on Windows operating systems. # # Below is the list of default install locations for each supported operating # system. By default, in this response file, the Windows install location is # used. If you want to use the default install location for another operating # system, uncomment the appropriate default install location entry (by removing '#') and # then comment out (by adding '#') the Windows operating system entry below. # # # AIX Default Install Location: # # -P wbiProductBean.installLocation=/usr/IBM/WebSphere/ProcServer # # # HP-UX, Solaris or Linux Default Install Location: # # -P wbiProductBean.installLocation=/opt/IBM/WebSphere/ProcServer # # # Windows Default Install Location: # # NOTE: The Windows operating system limits the length of a fully qualified path # to 256 characters. A long pathname for the installation root directory makes # it more likely that this limit will be exceeded when files are created during # normal product use. IBM recommends that you keep the pathname of the installation # root directory as short as possible. -P wbiProductBean.installLocation="C:\Program Files\IBM\WebSphere\ProcServer" ################################################################################ # # Use Existing IBM WebSphere Application Server V6.0 # # If you intend to use an existing installation of WebSphere Application Server V6.0 or # WebSphere Application Server Network Deployment, V6.0, uncomment the following line # (by removing '#'). # # -W wasdetectionpanelInstallWizardBean.optionSelected="1" # # You must then set the above WebSphere Process Server install location to the install root # of the existing WAS installation. # # Note that the install will fail if WebSphere Process Server has already been installed # in the existing WAS install location. # ################################################################################ # # Setup Type # # This value is required for the installation. Do not change this! # -W setuptypepanelInstallWizardBean.selectedSetupTypeId="Custom" ################################################################################ # # "Business Rule Beans (deprecated)" feature # # The selection state of the "Business Rule Beans (deprecated)" feature. Legal # values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Business Rule Beans (deprecated)" for installation, use # # -P brbeansProductFeatureBean.active="false" # -P brbeansProductFeatureBean.active="false" ################################################################################ # # "Extended Messages (deprecated)" feature # # The selection state of the "Extended Messages (deprecated)" feature. Legal # values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Extended Messages (deprecated)" for installation, use # # -P emsProductFeatureBean.active="false" # -P emsProductFeatureBean.active="false" ################################################################################ # # "Samples Gallery" feature # # The selection state of the "Samples Gallery" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Samples Gallery" for installation, use # # -P samplesProductFeatureBean.active="true" # -P samplesProductFeatureBean.active="true" ################################################################################ # # "Public API Javadoc (tm)" feature # # The selection state of the "Public API Javadoc (tm)" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Public API Javadoc (tm)" for installation, use # # -P javadocsProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # WebSphere Process Server Profile Wizard # # To launch the Profile Wizard SILENTLY at the end # of the installation, please change the value to "true". # Otherwise, set the value to "false". # -W summaryPanel_InstallWizardBean.launchPCAW="false" ################################################################################ # If you choose to run Profile Wizard silently at the end of the # installation, you must # 1. get a copy of the Profile Wizard response file (from CD) and put to a temp dir # such as: /tmp/WBI/responsefile.pcaw.wps.dmgrProfile.txt For DMGR profile creation # /tmp/WBI/responsefile.pcaw.wps.managedProfile.txt For Manage profile creation # /tmp/WBI/responsefile.pcaw.wps.standAloneProfile.txt For Stand alone profile creation # 2. modify the response file by filling in the required options/values. # Note: If the values are not completed properly, the configuration may be unsuccessful. # 3. specify below the absolute path to your modified response file. # # For example, -W pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation= # "/tmp/WBI/responsefile.pcaw.wps.dmgrProfile.txt" -W pcawResponseFileLocationQueryAction_InstallWizardBean.fileLocation=""
(c) Copyright IBM Corporation 2005, 2006.
Este centro de información está basado en tecnología Eclipse (http://www.eclipse.org)