Top
ServerView Resource Orchestrator Virtual Edition V3.2.0 User's Guide
FUJITSU Software

17.6 Network Parameter Auto-Configuration for Cloning Images

This section explains the network parameter auto-configuration function for cloning images.

Defining public LAN network parameters for each managed server before collecting cloning images enables automatic configuration of the cloned servers' public LAN network interfaces when later deploying those cloning images.
This speeds up the deployment of multiple managed servers, as public LAN IP addresses no longer need to be manually and separately configured on each cloned server.

Perform the following settings:

Note

[Physical Servers]
The network parameter auto-configuration function cannot be used on the admin LAN. If it is used, deployment commands may fail when deploying new servers may fail, or communication issues may occur during collection or deployment of cloning images.

[Windows]

  • When the OS of the managed server is Windows Server 2012, this function is not supported.

  • When Windows OS is installed on the following hardware, and the server is used as a managed server of this product, it is necessary to execute the procedure below.

    • PRIMERGY BX920 S3

    • PRIMERGY BX920 S4

    • PRIMERGY BX924 S3

    • PRIMERGY BX924 S4

    • PRIMERGY BX2560 M1

    • PRIMERGY BX2560 M2

    • PRIMERGY BX2580 M1

    • PRIMERGY BX2580 M2

    • PRIMERGY RX200 S7

    • PRIMERGY RX200 S8

    • PRIMERGY RX300 S7

    • PRIMERGY RX300 S8

    • PRIMERGY RX600 S6

    • PRIMERGY RX2520 M1

    • PRIMERGY RX2530 M1

    • PRIMERGY RX2530 M2

    • PRIMERGY RX2540 M1

    • PRIMERGY RX2540 M2

    • PRIMERGY RX4770 M1

    • PRIMERGY RX4770 M2

    Perform the following procedure before setting network parameters through cloning image collection.

    It is not necessary to execute it again on managed servers on which this procedure has already been executed.

    1. Make a note of the current network settings.

      The network settings of managed servers may be changed when step 2 is performed.

    2. Execute Sysprep on the managed server.

      Refer to the manual of the OS for the method of starting Sysprep.

      Specify the following options when executing Sysprep.

      [System Cleanup Action]

      • Select "Enter System Out-of-Box Experience (OOBE)".

      • Check the "Generalize" checkbox.

      [Shutdown Option]

      • Select "Reboot"

    3. After Sysprep is executed, the OS of the managed server is rebooted, and then Mini setup of the OS is executed.

      Configure the OS following the instructions on the screen.

    4. Restore the network settings of the managed server referring to the information recorded in step 1.

[Linux]
When using LAN redundancy, cancel any network redundancy settings that were made on managed servers using PRIMECLUSTER Global Link Services before deploying new servers.
If not canceled, deployment commands may fail when deploying new servers.
Once the deployment of new servers has completed, redundancy network configurations (for the admin LAN or other networks) that are not handled by the network parameter auto-configuration feature should be set up manually.
PRIMECLUSTER Global Link Services cannot be used to enable admin LAN redundancy on servers running SUSE Linux Enterprise Server or Oracle Enterprise Linux operating systems.


Setup Procedure

Use the following procedure to set up network parameters for a public LAN:

Point

Using a specific managed server (reference server) to collect and update cloning images is recommended in order to centrally manage the network parameters definition files.

When the OS is RHEL7, the interface name of the NIC differs depending on the environment. For this reason, replace the interface name described in this document (ethX) with the appropriate name according to your environment. Also, replace the file name of ifcfg-ethX with the appropriate name according to your environment.

  1. Definition File Settings

    This section explains how to setup the following definition files.

    • FJSVrcx.conf

    • ipaddr.conf

    Create those definition files under the following folder on the reference server:

    [Windows]
    Installation_folder\Agent\etc\FJSVrcx.conf
    Installation_folder\Agent\etc\ipaddr.conf

    [Linux]
    /etc/FJSVrcx.conf
    /etc/opt/FJSVnrmp/lan/ipaddr.conf

    Sample configuration of the definition file (FJSVrcx.conf)

    admin_LAN=192.168.1.11
    hostname=node-A

    • admin_LAN

      Enter the IP address used by the reference server on the admin LAN.

    • hostname

      Enter the physical server name of the reference server.

    Format of the definition file (ipaddr.conf)

    The definition file is made up of the following entries:

    • One or more node entries

    • One or more interface entries (with or without redundancy) under each node entry

      Figure 17.3 Sample configuration of the definition file (ipaddr.conf)

    Refer to the following sample file for details of how to set the definition file (ipaddr.conf).

    [Windows]
    Installation_folder\Agent\etc\ipaddr.sample

    [Linux]
    /etc/opt/FJSVnrmp/lan/ipaddr.sample

    Note

    Blank spaces and comment lines (lines starting with a comment symbol (#) are ignored.

    The expected content of each entry is explained below.

    • Node Entries

      The following table explains how to define each node entry.

      Table 17.3 Node Entry Settings

      Setting

      Keyword

      Expected Values:

      Description

      Managed server name

      NODE_NAME

      Physical server name

      Physical server name that was set when registering the managed server.

      Note

      Specify additional entries for any node (server) that may be added in the future (one entry per server).

    • Interface Entries (without Redundancy)

      The following table explains how to define each interface entry.
      Keywords for interface entries should be appended with a number between 0 and 99.
      If you want to configure a VLAN interface, add "VLAN=yes" to the /etc/sysconfig/network file.

      Note

      The number appended to each entry's keyword should start with 0 and increase incrementally.

      Table 17.4 Interface Entry Settings (without Redundancy)

      Setting

      Keyword

      Expected Values:

      Description

      Interface name

      IF_NAME

      Interface name

      Specify the interface name as displayed by the operating system. (*)

      Example
      [Windows]
      Local area connection 2

      [Linux]
      ethX (where X is an integer equal to or greater than 0)

      IP address

      IF_IPAD

      IP address in xxx.xxx.xxx.xxx format

      -

      Subnet mask

      IF_MASK

      Subnet mask in xxx.xxx.xxx.xxx format

      -

      * Note: As Windows allows interface names to be changed, ensure that the names defined here match those displayed in Windows.

    • Interface entries (with redundancy) [Linux]

      The following table explains how to define each interface entry.
      Keywords for interface entries should be appended with a number between 0 and 99.

      This setting uses the "NIC switching mode (Physical IP address takeover function)" of the PRIMECLUSTER Global Link Services product, which requires a virtual interface set with its own IP address.

      Within a same node entry, it is possible to define interface entries both with and without redundancy settings as long as interface names differ.

      If you want to configure a VLAN interface, add "VLAN=yes" to the /etc/sysconfig/network file.

      Note

      The number appended to each entry's keyword (including both entries with and without redundancy settings) should start with 0 and increase incrementally.
      When there is a mixture of interfaces with and without redundancy, assign values in ascending order to the interfaces without redundancy as well.

      Interface entries with redundancy settings are only activated with Linux. With Windows, these interface entries will be ignored.

      Table 17.5 Interface Entry Settings (with Redundancy)

      Setting

      Keyword

      Expected Values:

      Description

      PRIMECLUSTER GLS virtual interface name

      VIF_NAME

      shaX

      X is an integer between 0 and 255.

      IP address specified for virtual interface

      VIF_IPAD

      IP address in xxx.xxx.xxx.xxx format

      -

      Subnet mask

      VIF_MASK

      Subnet mask in xxx.xxx.xxx.xxx format

      -

      Name of primary interface

      PRI_NAME

      Interface name (ethX)

      X is an integer equal to or greater than 0.
      This setting specifies the primary interface name when a pair of interface names exists.

      <Example> eth2

      Name of secondary interface

      SCD_NAME

      Interface name (ethY)

      Y is an integer equal to or greater than 0.
      This setting specifies the secondary interface name when a pair of interface names exists.

      <Example> eth3

      IP address of monitored destination

      POL_ADDR

      IP address in xxx.xxx.xxx.xxx format

      Up to two IP addresses can be specified, separated by a comma.
      When hub-to-hub monitoring is to be performed, specify two monitored destinations.
      Hub-to-hub monitoring will not be performed if only one destination is specified.
      In this case, the value specified in POL_HUBS (whether to perform hub-to-hub monitoring) will not be referenced.

      Virtual interface name for standby patrol

      PAT_NAME

      shaY

      Y is an integer between 0 and 255.
      Specify a name that is different from the virtual interface name.
      Do not set anything unless standby patrolling is set.

      Hub-to-hub monitoring ON/OFF

      POL_HUBS

      ON/OFF

      Specify "ON" to enable hub-to-hub monitoring, or "OFF" otherwise.
      This setting is valid only if two monitoring destinations are specified.
      If only one monitoring destination is specified, this setting is disabled (set to "OFF").

      Refer to the PRIMECLUSTER Global Link Services manual for details on each setting.

  2. Enable the Network Parameter Auto-Configuration Function

    Enable the network parameter auto-configuration function by executing the following command.
    Execute this command from a managed server.

    [Windows]

    >"Installation_folder\Agent\bin\rcxadm" lanctl enable <RETURN>

    [Linux]

    # /opt/FJSVrcxat/bin/rcxadm lanctl enable <RETURN>

    For details on the command, refer to "5.9 rcxadm lanctl" in the "Reference Guide (Command) VE".