Top
Interstage Big DataParallel Processing ServerV1.0.1 User's Guide
FUJITSU Software

6.3.2 Adding a Slave Server to a Virtual Environment

The procedure for adding a slave server to a virtual environment is shown below.

  1. Installing the Slave Server

  2. Registering the Network Parameter and iSCSI Name Automatic Configuration Feature

  3. Cloning

  4. Configuring the Server Name

  5. Restarting the Virtual Machine


The procedure for installing a slave server is shown below.

Create the clone image of the first slave server (one that is already installed) from the virtual machine where it was built, and clone as many times as the number of slave servers to be installed.

Perform this action with root permissions unless otherwise indicated.

Note

The area where tasks are performed on the clone target virtual machines depends on the virtualization software.


6.3.2.1 Installing the Slave Server

Refer to "6.2 Installing to a Slave Server" for information on how to install the first additional slave server (the clone source slave server).


6.3.2.2 Registering the Network Parameter and iSCSI Name Automatic Configuration Feature

This section explains how to register the network parameter and iSCSI initiator name automatic configuration feature.

By setting the network parameters for the admin LAN, public LAN and iSCSI-LAN and the iSCSI initiator for the clone source virtual machine beforehand, it is possible to automatically set the slave server network and iSCSI initiator names when cloning.

  1. Create the network parameter automatic configuration feature definition file (FJSVrcx.conf and ipaddr.conf).

    Specify the admin LAN information for the slave server of the clone source in the FJSVrcx.conf definition file.

    Specify the admin LAN, public LAN, and iSCSI-LAN information for all slave servers in the ipaddr.conf definition file.

  2. Create the initiator.conf iSCSI initiator configuration file.

    Specify the iSCSI initiator names corresponding to all slave servers that are clone targets.

  3. Specify the IP address of the admin LAN of the slave servers which are clone sources, the FJSVrcx.conf, ipaddr.conf, and initiator.conf definition files and the -v option in the bdpp_prepareserver command.

    # /opt/FJSVbdpp/bin/bdpp_prepareserver -m adminLanIpAddress -o FJSVrcx.confFile -i ipaddr.confFile -f initiator.confFile -v <Enter>

Example

The example that follows shows an ipaddr.conf network parameter automatic configuration file for the following configuration:

  • NIC to connect to the admin LAN

:eth0

  • NIC to connect to the public LAN

:eth1

  • NIC to connect to iSCSI-LAN

:eth2, eth3 (redundancy added)

NODE_NAME="slave1" <-- Slave server of the clone source
IF_NAME0="eth0"
IF_IPAD0="192.168.1.21"
IF_MASK0="255.255.255.0"
IF_NAME1="eth1"
IF_IPAD1="10.10.10.21"
IF_MASK1="255.255.255.0"
IF_NAME2="eth2"
IF_IPAD2="10.10.11.21"
IF_MASK2="255.255.255.0"
IF_NAME3="eth3"
IF_IPAD3="10.10.12.21"
IF_MASK3="255.255.255.0"

NODE_NAME="slave2" <-- Slave server of the clone target
IF_NAME0="eth0"
IF_IPAD0="192.168.1.22"
IF_MASK0="255.255.255.0"
IF_NAME1="eth1"
IF_IPAD1="10.10.10.22"
IF_MASK1="255.255.255.0"
IF_NAME2="eth2"
IF_IPAD2="10.10.11.22"
IF_MASK2="255.255.255.0"
IF_NAME3="eth2"
IF_IPAD3="10.10.12.22"
IF_MASK3="255.255.255.0"

NODE_NAME="slave3" <-- Slave server of the clone target
IF_NAME0="eth0"
IF_IPAD0="192.168.1.23"
IF_MASK0="255.255.255.0"
IF_NAME1="eth1"
IF_IPAD1="10.10.10.23"
IF_MASK1="255.255.255.0"
IF_NAME2="eth2"
IF_IPAD2="10.10.11.23"
IF_MASK2="255.255.255.0"
IF_NAME3="eth3"
IF_IPAD3="10.10.12.23"
IF_MASK3="255.255.255.0"

  :

See


6.3.2.3 Cloning

Clone virtual machines from the clone source slave server virtual machine as many times as the number of clone target slave servers.

See

Refer to the manuals for the virtualization software for information on how to clone virtual machines.


6.3.2.4 Configuring the Server Name

Start the slave server of the clone target and set a server name.

Change the HOSTNAME parameter in the /etc/sysconfig/network file to the server name of the slave server on the clone target.

Example

Cloning slave2 from the slave server slave1

Before setting:

HOSTNAME=slave1

After setting:

HOSTNAME=slave2

Point

In the HOSTNAME parameter, specify server name defined in the ipaddr.conf network parameter automatic configuration file specified in "6.3.2.2 Registering the Network Parameter and iSCSI Name Automatic Configuration Feature".

See

Refer to "5.7 Server Name Settings" for information on how to set server names.


6.3.2.5 Restarting the Virtual Machine

Restart the slave server of the clone target.

See

Refer to the manuals for the virtualization software for information on how to start and restart virtual machines.