In Resource Orchestrator, when images of Red Hat Enterprise Linux are specified, IP address settings of public LANs are not configured. Server NIC redundancy and the OS settings of tagged VLANs are also not configured.
When starting an OS after L-Server creation, set the image to be configured automatically after creating an L-Server. For this setting, use the image collected in the state where the scripts to configure the network settings have been prepared beforehand.
In this case, prepare a script like the following, and perform collection of a cloning image with the script executed once on starting of the OS.
According to the description in the network information file, perform the following settings for using NIC redundancy software (such as Windows Intel PROSet/Linux bonding).
NIC redundancy
Tagged VLAN configuration
IP address configuration
For details on the specifications of the network information file, refer to "Network Information File".
Network Information File
The settings for NIC redundancy and tagged VLANs for a physical L-Server are described in the file. It is automatically transferred to a physical L-Server during creation. When the rcxadm lserver command is executed after creation of the physical L-Server, the network information file will be transferred to the L-Server.
[Windows]
Installation_folder\Resource Orchestrator\Agent\etc\net
[Linux]
/etc/opt/FJSVrcxat/net/
net_info.conf
UTF-8
[Windows]
CR/LF
[Linux]
LF
The formats are shown below.
Variable | Meaning | Value |
---|---|---|
NIC[index]_MacAddress | NIC MAC address | MAC addresses, noted in hexadecimal form, separated by colons (":") |
Groups | List of groups of redundant NICs | Group numbers, separated by spaces |
Group[index]_NetworkLinks | NetworkLink list allocated to groups | NetworkLinkIndex separated by spaces |
Group[index]_[NetworkLinkIndex]_Nics | List of NICs comprising groups | NIC numbers separated by spaces |
Group[index]_[NetworkLinkIndex]_IpAddress | Group IP address | IPv4 addresses separated by periods (".") |
Group [index]_[NetworkLinkIndex]_Netmask | Net masks of groups | |
Group [index]_[NetworkLinkIndex]_DNSServer | DNS addresses of groups [Windows] | |
Group [index]_[NetworkLinkIndex]_DefaultGateway | Default gateway | |
Group [index]_[NetworkLinkIndex]_Vlanid | VLANID of NetLink allocated to the group | 2-4094 |
Group [index]_[NetworkLinkIndex]_VlanMode | Specification of tagged VLANs or untagged VLANs | tagged or untagged |
Group[index]_[NetworkLinkIndex]_ExtParams_[ParamName] | Additional group parameters | Parameter value specified by the user |
SingleNics | List of non-redundant NICs in single configurations | NIC numbers separated by spaces |
NIC [index]_NetworkLinks | NetworkLink list allocated to groups | NetworkLinkIndex separated by spaces |
NIC [index]_[NetworkLinkIndex]_IpAddress | NIC IP addresses | IPv4 addresses separated by periods (".") |
NIC [index]_[NetworkLinkIndex]_Netmask | NIC Net masks | |
NIC [index]_[NetworkLinkIndex]_DNSServer | NIC DNS addresses [Windows] | |
NIC [index]_[NetworkLinkIndex]_DefaultGateway | Default gateway | |
NIC [index]_[NetworkLinkIndex]_Vlanid | VLANID of NetLink allocated to NICs | 2-4094 |
NIC [index]_[NetworkLinkIndex]_VlanMode | Specification of tagged VLANs or untagged VLANs | tagged or untagged |
NIC [index]_[NetworkLinkIndex]_ExtParams_[ParamName] | Additional NIC parameters | Parameter value specified by the user |
DNSServer | DNS Server [Linux] | - |
Route [index] | Static routing configuration Type, destination address for packet, net mask and gateway address are specified, separated by commas |
|
Information
When using a driver specific parameter such as GLS or Bonding for the script configuring the network, describe the information in the following files:
Network unit parameter (describes IP addresses of monitoring targets for GLS or Bonding)
/etc/opt/FJSVrcvmr/customize_data/net/net_info.network_resource_name.conf
L-Server unit parameter (configures QoS or others to set for NICs)
/etc/opt/FJSVrcvmr/customize_data/l_server/net/net_info.l_server_name.conf
When deploying L-Servers, send a network information file with content matching the L-Server name or the name of a network resource connected to the L-Server, to the destination server.
Example
#MAC information list of NIC equipped on Physical Server NIC1_MacAddress="XX:XX:XX:XX:XX:X1" NIC2_MacAddress="YY:YY:YY:YY:YY:Y2" NIC3_MacAddress="XX:XX:XX:XX:XX:X3" NIC4_MacAddress="YY:YY:YY:YY:YY:Y4" NIC5_MacAddress="XX:XX:XX:XX:XX:X5" NIC6_MacAddress="YY:YY:YY:YY:YY:Y6" ############################################################## #NIC redundancy information ############################################################## Groups="0 1"#Redundant group list(#0,#1 Group exist in this example) Group0_NetworkLinks="0" #One NetworkLink exists in group 0 (index 0 only) Group1_NetworkLinks="0 1" #Multiple NetworkLinks exist in group 1 (index 0 to 1) #Group is written in Group_[NICGroupIndex]_[NetworkLinkIndex] Group0_0_Nics="1 2" #Bonding NIC 1 and 2 Group0_0_IpAddress="192.168.0.1" Group0_0_Netmask="255.255.255.0" Group0_0_DefaultGateway="192.168.0.253" Group0_0_Vlanid=2 Group0_0_VlanMode="tagged" Group0_0_DNSServer="ipaddress" Group1_0_Nics="3 4" #Bonding NIC 3 and 4 Group1_0_IpAddress="192.168.1.1" Group1_0_Netmask="255.255.255.0" Group1_0_Vlanid=3 Group1_0_VlanMode="tagged" Group1_1_Nics="3 4" #Bonding NIC 3 and 4 Group1_1_IpAddress="192.168.2.1" Group1_1_Netmask="255.255.255.0" Group1_1_VlanMode="untagged"#Example that VLANID is not specified, since this group is untagged VLAN Group1_1_DNSServer="ipaddress" ############################################################## #Non redundant NIC information ############################################################## SingleNics="5 6"#List of non-redundant NIC NIC5_NetworkLinks ="0" #One NetworkLink exists in NIC5(index 0 only) NIC6_NetworkLinks ="0 1" #Multiple NetworkLinks exist in NIC6(index 0 to 1) NIC5_0_IpAddress="192.168.20.1" NIC5_0_Netmask="255.255.255.0" NIC5_0_VlanMode="untagged"#Example where VLANID is not specified, since this group is untagged VLAN NIC5_0_DNSServer="ipaddress" NIC6_0_IpAddress="192.168.30.1" NIC6_0_Netmask="255.255.255.0" NIC6_0_VlanMode="untagged"#Example where VLANID is not specified, since this group is untagged VLAN NIC6_1_IpAddress="192.168.40.1" NIC6_1_Netmask="255.255.255.0" NIC6_1_Vlanid=40 NIC6_1_VlanMode="tagged"#Tagged VLAN NIC6_1_DNSServer="ipaddress" Route0=net,192.168.200.0,255.255.255.0,192.168.1.254 |