PowerVC

 View Only

Create inventory with VIP and node IP from different subnet using advanced option

By Ramyasree Sankepally posted Fri January 13, 2023 06:13 AM

  


What is Advanced Option in inventory creation?

Until PowerVC 2.0.3 release, you can create inventory through PowerVC Ops Mgr by providing options for node IP, Virtual IP (VIP) with its credentials, and other options in which the node IP and VIP are from the same subnet.

Starting PowerVC 2.1.0, you can create the PowerVC Ops Mgr inventory file using the advanced option, which allows you to create node IP and a VIP from a different subnet.

Using the Help command, powervc-opsmgr inventory –help, you see an example of a help message that shows advanced option information for inventory creation.


Prerequisites

To create inventory using advanced option, following are the prerequisites.

  1. Consider node IP and VIP are from different subnet and both must be accessible outside the network.
  2. Inter-VLAN communication should exist between networks of node IPs and VIP.
  3. Same network interface name should be present across all nodes participating in the cluster.

Creating powervc-opsmgr inventory using the advanced (-a) option

Provide the following information.

  • PowerVC installation options
  • PowerVC nodes information
  • Advanced information such as CIDR in the 0-32 range. Using CIDR, netmask is calculated that is used by pacemaker to bind VIP to the interface that is used across all nodes.
  • Use the command to create the inventory file using the advanced option.

            powervc-opsmgr inventory --cluster <cluster name> --advanced

Example of inventory creation for PowerVC on a multinode with advanced option enabled


Example of inventory information that is created by using the advanced option
The Virtual IP Advanced is mentioned as True.

 

Pacemaker configuration for Virtual IP with and without the advanced option

When you create inventory in pacemaker resource configuration without the advanced option, you see CIDR netmask and NIC as attributes that is used for binding VIP. In other words, you only see the CIDR that is based on the VIP provided during inventory creation.

When you create inventory in pacemaker resource configuration with the advanced option, along with CIDR and VIP you see an additional entry, nic=env2, which is an interface that is used for VIP.


Operations Supported


Following are the supported operations when inventory is created with the advanced option.

  • Add node
  • Replace node
  • Change VIP

The same interface name should be present on all nodes in the cluster that are participating in the operations.

Keep watching our social outlets for more interesting information about PowerVC! Find us on FacebookLinkedInTwitter, and YouTube.
Do comment your queries, if any, in the comments section.

Blog authors
Ramyasree Sankepally
Prabhuraj K

0 comments
168 views

Permalink