IBM.ServiceIP
This topic describes the IBM.ServiceIP XML element and provides usage
examples.
Optional. This element is used to specify the attributes of a resource of the class
IBM.ServiceIP.
Examples
- Example 1: IPv4 IP address
<IBM.ServiceIP name="ServiceIPOne"> <IPAddress>9.164.178.1</IPAddress> <NetMask>255.255.255.0</NetMask> <ProtectionMode>0</ProtectionMode> </IBM.ServiceIP
- Example 2: IPv6 IP address
<IBM.ServiceIP name="IBM.ServiceIP.S2" > <IPAddress>fd00:9:152:48:4020:ffff:21:218</IPAddress> <NetPrefix>70</NetPrefix> <ProtectionMode>1</ProtectionMode> </IBM.ServiceIP>
Attributes
- name
- Mandatory. Must be unique and has a maximum of 64 characters. A Resource, ConstituentResource, or MoveGroup element can refer to this name.
Contexts
See the System Automation for Multiplatforms Administrator's and User's Guide for a detailed description of the following elements.
- Children:
- IPAddress
- Mandatory. String value. For IPv4, the IP address must be specified in dotted decimal notation; for example, 9.152.80.251. For IPv6, you can use the standard formats for IPv6 addresses; for example, 2001:db8::1428:57ab. Note that for IPv6, link-local addresses are not allowed for this attribute.
- NetMask
- Optional. String value. Must be a Netmask specified in dotted decimal notation. NetMask is only valid for IPv4 addresses. For IPv6 addresses, use the NetPrefix attribute.
- NetPrefix
- Optional. Integer value between 0 and 128. This attribute specifies the netprefix value of the IPv6 address given in the IPAddress attribute and thus is only valid for IPv6 addresses. It replaces the NetMask attribute for IPv6. This attribute takes integer values only; for example, 80. Do not specify a forward slash or other characters in front of the number value.
- ProtectionMode
- Optional. Allowed values are 0 and 1. Default is 1.
- 0 : Resource is non-critical.
- 1 : Resource is critical. If the resource is critical,
IBM.ConfigRMdecides whether the resource can be started as requested. A critical resource can never be online on more than one node at a time.
Occurrence
0 to multiple times.