9.4 Cloning an OES Server Post OES Installation and Configuration

This section describes the procedures to clone an OES server post OES installation and configuration. When there is a server crash, you can use this procedure to reinstall the server with the same configurations that existed before the crash. This is a two step task: generate the autoinst.xml file post OES installation and configuration, use that XML file to reinstall and configure the server.

9.4.1 Generating the autoinst.xml File

The autoinst.xml file contains all the configuration details of the components, passwords, IP address, and so on. Store this file in a secure location, and use it to reinstall and reconfigure your OES server when there is a crash.

To generate the autoinst.xml file:

  1. Log on to the OES server with administrative privileges and execute the following command: yast2 clone_system.

    This generates an autoinst.xml file at /root. Generate this file as and when you make some configuration changes to the server.

  2. Store this file in a secure location for future use.

    NOTE:The generated autoinst.xml file will have the XML tags of the OES components that you have not installed and configured. This does not affect any functionality. When you use the generated autoinst.xml file, only the components that are available under the <patterns> tag will be installed.

9.4.2 Using the autoinst.xml to Reinstall an OES Server

To reinstall an OES server using autoinst.xml:

  1. Edit the autoinst.xml file, and modify the following:

    • Replace all instances of “Replace this text with the real password” with root password.

    • Replace “ENTER PASSWORD HERE” with eDirectory password.

    • Locate and remove the entire net-udev section that has the details about the MAC address.

      <net-udev config:type="list">
    • Locate and remove the user and group gdm entries. For more information, see TID 7006641 Error: Could not update ICEauthority file /var/lib/gdm/.ICEauthority.

            <encrypted config:type="boolean">true</encrypted>
            <encrypted config:type="boolean">true</encrypted>
            <fullname>Gnome Display Manager daemon</fullname>
  2. Host the modified autoinst.xml file in a HTTP server.

  3. Boot the OES server with OES2018-SP2-x86_64-DVD1.iso.

  4. In the installation screen, select Install, and specify the following information:

    autoyast=<The HTTP location where the autoinst.xml file is hosted> netsetup=hostip hostip=<enter machine IP> netmask=<enter the netmask> gateway=<enter the gateway>


    autoyast=<The HTTP location where the autoinst.xml file is hosted> ifcfg="eth0=<ip_address/<netmask>, <gateway>, <nameserver>" sethostname=0 install=<install_source_location_if_network_based>

    For example:

    autoyast= netsetup=hostip hostip= netmask= gateway=


    autoyast= ifcfg="eth0=,," sethostname=0

  5. Press Enter and the OES installation and configuration starts and completes without any user intervention.

NOTE:Cloud Integrated Storage (CIS) does not work, if autoinst.xml file is copied from already installed and configured OES 2018 or later server (without CIS) and manually add the CIS tags into autoinst.xml and then install OES 2018 or later server using the modified autoinst.xml. For CIS to work, along with adding the CIS tags, ensure to enable the ipv4_forward and FW_MASQUERADE attributes under firewall section in the autoinst.xml file and then install the OES 2018 or later server.

For example:

<ipv4_forward config:type="boolean">true</ipv4_forward>


However, if OES 2018 or later server is installed using autoinst.xml created from already installed OES 2018 or later server (with CIS), the CIS works fine.