Name
[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxadm addrset - address set resource operations
[Linux Manager]
/opt/FJSVrcvmr/bin/rcxadm addrset - address set resource operations
Format
rcxadm addrset create -name name -type {MAC|WWN|GIP} -file file -pool pool [-exclude address[,address[,...]]] [-label label] [-comment comment] [-nowait] rcxadm addrset modify -name name -file file.xml [-nowait] rcxadm addrset list [-verbose] [-format {text|xml}] [-extend lock] rcxadm addrset show -name name [-format {text|xml}] [-extend lock] rcxadm addrset move -name name [-to pool] [-nowait] rcxadm addrset delete -name name [-nowait]
Description
rcxadm addrset is the command used to manage WWNs, MAC addresses, and global IP addresses.
For details on the conditions under which it is necessary to create address set resources and register them in address pools, refer to "14.6 Address Set Resources" in the "User's Guide for Infrastructure Administrators (Resource Management) CE".
GIP address set resources are used for handling the global IP addresses. For a GIP address set resource, configure a unicast global IP address which can be configured for firewalls and SLBs.
Configure an IP between 1.0.0.0 and 255.255.255.254, excluding the loopback addresses (127.0.0.0 - 127.255.255.255) and the multicast addresses (224.0.0.0 - 239.255.255.255).
Subcommands
Creates and registers an address set resource in the address pool.
Modifies GIP address set resources. WWN or MAC address set resources cannot be used.
Displays a list of address set resources.
The following detailed information is displayed:
Item Name | Description |
---|---|
NAME | Name of the address set resource |
TYPE | Type of the address set resource (MAC, WWN, or GIP) |
START-END | Start and end addresses of the address set resource |
ATTRIBUTES (*) | Information when resources are locked during DR execution One of the following is displayed:
|
* Note: This is displayed when -extend lock is specified for the option.
If the -verbose option is specified, in addition to the above information, the following information is displayed:
Item Name | Description |
---|---|
FREE | Number of unused addresses of the address set resource |
USED | Number of the addresses of the address set resource in use |
LABEL | Label of the address set resource |
Displays details of address set resources.
The following detailed information is displayed:
Item Name | Description |
---|---|
NAME | Name of the address set resource |
TYPE | Type of the address set resource (MAC, WWN, or GIP) |
LABEL | Label of the address set resource |
COMMENT | Comment on the address set resource information |
START-END | Start and end addresses of the address set resource |
EXCLUDE_ADDRESS | Excluded-addresses of the address set resource |
RESERVE_ADDRESS | Addresses of the address set resource in use |
FREE | Number of unused addresses of the address set resource |
USED | Number of the addresses in use of the address set resource |
ATTRIBUTES (*) | Information when resources are locked during DR execution One of the following is displayed:
|
* Note: This is displayed when -extend lock is specified for the option.
Moves an address pool to the specified resource folder.
Deletes an address pool. Address set resources contained in the address pool will also be deleted.
Options
When the subcommand is "create"
In name, specify the name of the target address set resource to perform an operation with.
Specify a name that is different from the resource name (address set name) of the network resource or the other address set resource name.
When the subcommand is something other than "create"
In name, specify the name of the target address set resource to perform an operation with.
To specify an address set resource that is stored in a tenant or a resource folder, it is also necessary to specify the tenant name or the resource folder name connected with a slash ("/").
Specify when displaying detailed information.
Specify WWN, MAC address, or GIP address.
When using the I/O Virtualization Option, specify the WWN in the enclosed CD-ROM, or the list file of the MAC address. When specifying a unique address, describe the following in the file, and specify the address.
The first line is the starting point and the last line is the end point of the addresses managed by Resource Orchestrator.
Enter the addresses in the following format:
Specify the MAC addresses in hexadecimal form, separated by blank spaces (" ").
Example
A list file in which MAC addresses are "12 34 56 78 00 00" - "12 34 56 78 00 ff"
12 34 56 78 00 00 |
Specify the WWN addresses in hexadecimal form, separated by blank spaces (" "). [Physical Servers]
Example
A list file in which WWN addresses are "20 00 00 17 42 50 00 00" - "20 00 00 17 42 50 00 ff"
20 00 00 17 42 50 00 00 |
The number of MAC/WWN addresses that can be specified within the range from the starting point to the end point of the address is 1-65536.
Specifiable MAC address ranges may differ depending on server virtualization software. For details, refer to the server virtualization software manual. [Xen] [KVM] [Citrix Xen] [OVM for x86 3.x]
Describe the following in the file, and specify the address.
The first line is the starting point and the last line is the end point of the addresses managed by Resource Orchestrator.
Enter the addresses in the following format:
Global IP addresses: specify in decimal format, separated by periods (".").
Example
A list file in which global IP addresses are "192.168.10.1" - "192.168.10.5"
192.168.10.1 |
In file.xml, specify the XML file that defines the global IP address set resources.
For details on the XML file definition, refer to "15.5 Address Set Resources".
Of the WWNs and MAC addresses given in the list file on the CD-ROM enclosed with the I/O Virtualization Option, specify an address that has been allocated using ROR VE, VIOM, or ISM and is not used in management by Resource Orchestrator.
Specify the IP addresses to exclude in decimal format, separated by periods (".").
For pool, specify the name of the resource pool to register an address set resource in.
For the resource pool allocated in the resource folder, specify the resource folder name using slashes ("/").
Use this option to return directly to the command prompt without waiting for the operation of the address set resource specified in the subcommand to complete its execution.
In label, specify the label for the address set resource.
In comment, specify any comments for the address set resource.
Specify the destination address pool in pool. If omitted, address set resources will not be moved.
Specify the display format. You can specify text or xml format.
When -format is omitted, it is displayed in text format.
Specify when displaying additional information.
Requirements
Refer to "5.1.2 Roles and Available Operations" in the "Design Guide CE".
Admin server
Examples
To display the list of address set resource information:
>rcxadm addrset list <RETURN>
NAME TYPE START END
---- ---- ----- ---
macdata1 WWN 20:00:00:17:42:00:00:20 20:00:00:17:42:00:10:ff
wwndata1 MAC 00:e5:35:0c:34:50 00:e5:35:0c:44:ff |
To display the detailed information of address set resources (WWNs):
>rcxadm addrset show -name wwndata <RETURN>
name: wwndata1
type: WWN
label: wwn1
comment: wwn-test-data-1
start-end:20: 01:00:17:42:50:00:00 - 20:01:00:17:42:50:00:0f
exclude_address:
reserve_address: 20:01:00:17:42:50:00:00
free: 15
used: 1 |
To display the detailed information of address set resources (MAC addresses):
>rcxadm addrset show -name macdata1 <RETURN>
name: macdata1
type: MAC
label: mac1
comment: mac-test-data1
start-end: 00:17:42:4f:00:00 - 00:17:42:4f:00:f0
exclude_address:
reserve_address: 00:17:42:4f:00+00
free: 240
used: 1 |
To display the list of locked address set resource information:
>rcxadm addrset list -extend lock <RETURN>
NAME TYPE START END ATTRIBUTES
---- ---- ----- --- ----------
macdata1 MAC 00:e5:35:0c:34:50 00:e5:35:0c:44:ff locked(DR)
wwndata1 WWN 20:00:00:17:42:00:00:20 20:00:00:17:42:00:10:ff locked(DR) |
To display the list of locked address set resource (WWN) detailed information:
>rcxadm addrset show -name wwndata1 -extend lock <RETURN>
name: wwndata1
type: WWN
label: wwn1
comment: wwn-data1
start-end: 20:00:00:17:42:00:00:20 - 20:00:00:17:42:00:10:ff
exclude_address:
reserve_address: 8:00:00 PM:5:42:00 PM:12:20 AM
free: 4319
used: 1
attributes: locked(DR) |
To display the list of locked address set resource (MAC address) detailed information:
>rcxadm addrset show -name macdata1 -extend lock <RETURN>
name: macdata1
type: MAC
label: mac1
comment: mac-data1
start-end: 00:e5:35:0c:34:50 - 00:e5:35:0c:44:ff
exclude_address:
reserve_address: 00:E5:35:0C:34:50
free: 4271
used: 1
attributes: locked(DR) |
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.