7-2 IP Address
It is managed IP address (virtual IP address) and subnet mask which will be assigned on a network interface card resource.
A real IP address which is static must be set in the network interface card to add on a virtual IP address.
This can be switchable node to node in case it reacts in the same manner as the node’s real IP address, and applications and other nodes can communicate with the node using the virtual IP address.
A virtual IP address cannot be used independently. This always depends on a network interface card resource, so this have a value which is name of the network interface card(NIC) resource in its ‘NICResName’ attribute. This value should be match to its depending NIC resource name to work properly.
If the NIC resource has not been configured or not in the ONLINE state, it cannot be used.
Table of Contents
Adding
Add the IP address resource to a group.
The NIC resource should be added before adding it.
- When add a resource from a group name, select a group → right click → "Add Resource". Or select "Edit(E)" from the main menu bar → select "Add Resource". Or select "Add Resource" icon from the tool bar.
- Select "IP" from Resource Type lists and click the "Next" button. When add a resource from the IP resource type name, this step will be skipped.
- Enter resource name. if you skip this, the name will be given same value with virtual IP address.
- Enter virtual IP address which should have same subnet mask with real IP address of both nodes.
Select NIC Resource which IP Address resource depends on.
[Figure] Attributes Value Entered and Finish Button Active - Click the "Finish" button and IP resource is added.
Deleting
Select "Resource type" → right click → delete resource.
State
The following table explains the state of IP address resource.
Network address agent: Manages virtual IP addressesState | Agent command | Description | Note |
---|---|---|---|
Online An IP address is assigned properly on its corresponding NIC resource. | Offline | An IP address assigned to the designated NIC is removed. | |
Monitoring | It tests a virtual IP address exists on a NIC. | ||
Offline An IP address is unassigned on its corresponding NIC resource. | Online | It first checks if the designated NIC is online or not. | |
Monitoring | It tests a virtual IP address exists on a NIC. | ||
Fault 1. IP address assigned to a NIC is removed by the user command. Details on the cause ca be shown thorough the error log. | Online | Refer to the above online command. | |
Offline | An IP address assigned to the designated network card is removed. |
Attribute
This is the specified attribute of the IP address resource.
Attribute | Description | Type | Default | Edit | Note |
Address | Virtual IP address. | IP ADDRESS | O | ||
PrefixLength | Subnet mask of the virtual IP address.(IPv4 : Subnet mask, IPv6 : Subnet prefix length) | INTEGER | O | ||
NICResName | Name of the network interface card resource that has defined the network device of the virtual IP address being allocated. | STRING | O |
Specified attribute values are normally entered when add the resource, This value can be edited or viewed through 'Specified Attribute' table in the Resource Attributes tab on the detailed information panel.
MCCS has function to limit input values against user's input field, and it provides function detects automatically data which is input wrong by user's mistake.