B.3 Creating a Password Answer File

For the upgrade process to run without user intervention, each SP1 server must have an eDirectory password answer file for the YaST install.

An answer file can only be created in two circumstances:

  • On an OES2 SP2 server you have already installed or upgraded.

    or

  • Install the yast2-novell-common package by using the following command after assigning the SLES10-SP3-Pool and OES2-SP2-Pool bundles mentioned in Section B.6, Assigning the Bundles and Scheduling the Upgrades.

    /opt/novell/zenworks/bin/zac install --no-confirm yast2-novell-common

The answer file creation software is not available through the OES2 SP1 patch channel.

To create the answer file:

  1. As root, open a terminal prompt.

  2. Enter the following command:

    sudo yast2 ./create-answer-file password optional_DSFW_Domain_Admin_password

    where password=the eDirectory Admin password and optional_DSFW_domain_admin_password=the Domain Services for Windows (DSfW) Domain Administrator’s password, if it is needed for any of the servers being upgraded. (The existence of a second password in the answer file doesn’t affect the upgrade process on servers that don’t have DSfW installed).

    IMPORTANT:All uses of an exclamation mark (!) require that you escape the character by using a backslash (\). For example, the password novell! must be specified as novell\!.

    A dash (-) used at beginning of password also requires escaping. For example, -novell- must be specified as \-novell-.

  3. Press Enter to close the confirmation message.

  4. Copy the resulting file named answer from your working directory to the server you will use to prepare the bundles for upgrading in the next section, Section B.4, Preparing the Bundles for Upgrading.

    During the upgrade process, the answer file is uploaded to the /opt/novell/oes-install directory on each upgraded SP1 server by the OES2-SP2-File Bundle script you create in the next section.

  5. Continue with Section B.4, Preparing the Bundles for Upgrading.