Perform this task to change the cluster private IP address range to accommodate an increase in the number of nodes or non-global zones or in the number of private networks, or a combination. You can also use this procedure to decrease the private IP address range.
This procedure requires you to shut down the entire cluster.
Ensure that remote shell (rsh(1M)) or secure shell (ssh(1)) access for superuser is enabled for all cluster nodes.
Become superuser on a node of the cluster.
From one node, start the clsetup utility.
# clsetup |
The clsetup Main Menu is displayed.
Switch each resource group offline.
If the node contains non-global zones, any resource groups in the zones are also switched offline.
Type the number that corresponds to the option for Resource groups and press the Return key.
The Resource Group Menu is displayed.
Type the number that corresponds to the option for Online/Offline or Switchover a resource group and press the Return key.
Follow the prompts to take offline all resource groups and to put them in the unmanaged state.
When all resource groups are offline, type q to return to the Resource Group Menu.
Disable all resources in the cluster.
Quit the clsetup utility.
Verify that all resources on all nodes are Offline and that all resource groups are in the Unmanaged state.
# cluster status -t resource,resourcegroup |
Limits output to the specified cluster object
Specifies resources
Specifies resource groups
From one node, shut down the cluster.
# cluster shutdown -g0 -y |
Specifies the wait time in seconds
Prevents the prompt that asks you to confirm a shutdown from being issued
Boot each node into noncluster mode.
On SPARC based systems, perform the following command:
ok boot -x |
On x86 based systems, perform the following commands:
In the GRUB menu, use the arrow keys to select the appropriate Solaris entry and type e to edit its commands.
The GRUB menu appears similar to the following:
GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +----------------------------------------------------------------------+ | Solaris 10 /sol_10_x86 | | Solaris failsafe | | | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. |
For more information about GRUB based booting, see Chapter 11, GRUB Based Booting (Tasks), in System Administration Guide: Basic Administration.
In the boot parameters screen, use the arrow keys to select the kernel entry and type e to edit the entry.
The GRUB boot parameters screen appears similar to the following:
GNU GRUB version 0.95 (615K lower / 2095552K upper memory) +----------------------------------------------------------------------+ | root (hd0,0,a) | | kernel /platform/i86pc/multiboot | | module /platform/i86pc/boot_archive | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu. |
Add -x to the command to specify that the system boot into noncluster mode.
[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ESC at any time exits. ] grub edit> kernel /platform/i86pc/multiboot -x |
Press Enter to accept the change and return to the boot parameters screen.
The screen displays the edited command.
GNU GRUB version 0.95 (615K lower / 2095552K upper memory) +----------------------------------------------------------------------+ | root (hd0,0,a) | | kernel /platform/i86pc/multiboot -x | | module /platform/i86pc/boot_archive | +----------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press 'b' to boot, 'e' to edit the selected command in the boot sequence, 'c' for a command-line, 'o' to open a new line after ('O' for before) the selected line, 'd' to remove the selected line, or escape to go back to the main menu.- |
Type b to boot the node into noncluster mode.
This change to the kernel boot parameter command does not persist over the system boot. The next time you reboot the node, it will boot into cluster mode. To boot into noncluster mode instead, perform these steps to again to add the -x option to the kernel boot parameter command.
From one node, start the clsetup utility.
When run in noncluster mode, the clsetup utility displays the Main Menu for noncluster-mode operations.
Type the number that corresponds to the option for Change IP Address Range and press the Return key.
The clsetup utility displays the current private-network configuration, then asks if you would like to change this configuration.
To change either the private-network IP address or the IP address range, type yes and press the Return key.
The clsetup utility displays the default private-network IP address, 172.16.0.0, and asks if it is okay to accept this default.
Change or accept the private-network IP address.
To accept the default private-network IP address and proceed to changing the IP address range, type yes and press the Return key.
The clsetup utility will ask if it is okay to accept the default netmask. Skip to the next step to enter your response.
To change the default private-network IP address, perform the following substeps.
Type no in response to the clsetup utility question about whether it is okay to accept the default address, then press the Return key.
The clsetup utility will prompt for the new private-network IP address.
Type the new IP address and press the Return key.
The clsetup utility displays the default netmask and then asks if it is okay to accept the default netmask.
Change or accept the default private-network IP address range.
The default netmask is 255.255.248.0. This default IP address range supports up to 64 nodes and up to 10 private networks in the cluster.
To accept the default IP address range, type yes and press the Return key.
Then skip to the next step.
To change the IP address range, perform the following substeps.
Type no in response to the clsetup utility's question about whether it is okay to accept the default address range, then press the Return key.
When you decline the default netmask, the clsetup utility prompts you for the number of nodes and private networks that you expect to configure in the cluster.
Enter the number of nodes and private networks that you expect to configure in the cluster.
From these numbers, the clsetup utility calculates two proposed netmasks:
The first netmask is the minimum netmask to support the number of nodes and private networks that you specified.
The second netmask supports twice the number of nodes and private networks that you specified, to accommodate possible future growth.
Specify either of the calculated netmasks, or specify a different netmask that supports the expected number of nodes and private networks.
Type yes in response to the clsetup utility's question about proceeding with the update.
When finished, exit the clsetup utility.
Reboot each node back into the cluster.
Shut down each node.
# shutdown -g0 -y |
Boot each node into cluster mode.
On SPARC based systems, do the following:
ok boot |
On x86 based systems, do the following:
When the GRUB menu is displayed, select the appropriate Solaris entry and press Enter. The GRUB menu appears similar to the following:
GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +-------------------------------------------------------------------------+ | Solaris 10 /sol_10_x86 | | Solaris failsafe | | | +-------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line. |
For more information about GRUB based booting, see Chapter 11, GRUB Based Booting (Tasks), in System Administration Guide: Basic Administration.
From one node, start the clsetup utility.
# clsetup |
The clsetup Main Menu is displayed.
Re-enable all disabled resources.
Type the number that corresponds to the option for Resource groups and press the Return key.
The Resource Group Menu is displayed.
Type the number that corresponds to the option for Enable/Disable a resource and press the Return key.
Choose a resource to enable and follow the prompts.
Repeat for each disabled resource.
When all resources are re-enabled, type q to return to the Resource Group Menu.
Bring each resource group back online.
If the node contains non-global zones, also bring online any resource groups that are in those zones.
When all resource groups are back online, exit the clsetup utility.
Type q to back out of each submenu, or press Ctrl-C.
To add a node to an existing cluster, go to one of the following procedures:
How to Configure Sun Cluster Software on Additional Cluster Nodes (scinstall)
How to Configure Sun Cluster Software on Additional Cluster Nodes (XML)
To create a non-global zone on a cluster node, go to Configuring a Non-Global Zone on a Cluster Node.