InfoScale™ 9.0 Cluster Server Administrator's Guide - Linux
- Section I. Clustering concepts and terminology
- Introducing Cluster Server
- About Cluster Server
- About cluster control guidelines
- About the physical components of VCS
- Logical components of VCS
- Types of service groups
- About resource monitoring
- Agent classifications
- About cluster control, communications, and membership
- About security services
- Components for administering VCS
- About cluster topologies
- VCS configuration concepts
- Introducing Cluster Server
- Section II. Administration - Putting VCS to work
- About the VCS user privilege model
- Administering the cluster from the command line
- About administering VCS from the command line
- About installing a VCS license
- Administering LLT
- Configuring IPsec for encrypted communication over LLT
- Starting VCS
- Stopping the VCS engine and related processes
- Logging on to VCS
- About managing VCS configuration files
- About managing VCS users from the command line
- About querying VCS
- About administering service groups
- Modifying service group attributes
- About administering resources
- Enabling and disabling IMF for agents by using script
- Linking and unlinking resources
- About administering resource types
- About administering clusters
- Configuring applications and resources in VCS
- VCS bundled agents for UNIX
- About application monitoring on single-node clusters
- Configuring NFS service groups
- About NFS
- Configuring NFS service groups
- Sample configurations
- About configuring the RemoteGroup agent
- About configuring Samba service groups
- About testing resource failover by using HA fire drills
- Section III. VCS communication and operations
- About communications, membership, and data protection in the cluster
- About cluster communications
- About cluster membership
- About membership arbitration
- About membership arbitration components
- About server-based I/O fencing
- About majority-based fencing
- About the CP server service group
- About secure communication between the VCS cluster and CP server
- About data protection
- Examples of VCS operation with I/O fencing
- About cluster membership and data protection without I/O fencing
- Examples of VCS operation without I/O fencing
- Administering I/O fencing
- About the vxfentsthdw utility
- Testing the coordinator disk group using the -c option of vxfentsthdw
- About the vxfenadm utility
- About the vxfenclearpre utility
- About the vxfenswap utility
- About administering the coordination point server
- About configuring a CP server to support IPv6 or dual stack
- About migrating between disk-based and server-based fencing configurations
- Migrating between fencing configurations using response files
- Controlling VCS behavior
- VCS behavior on resource faults
- About controlling VCS behavior at the service group level
- About AdaptiveHA
- Customized behavior diagrams
- About preventing concurrency violation
- VCS behavior for resources that support the intentional offline functionality
- VCS behavior when a service group is restarted
- About controlling VCS behavior at the resource level
- VCS behavior on loss of storage connectivity
- Service group workload management
- Sample configurations depicting workload management
- The role of service group dependencies
- About communications, membership, and data protection in the cluster
- Section IV. Administration - Beyond the basics
- VCS event notification
- VCS event triggers
- Using event triggers
- List of event triggers
- Virtual Business Services
- Section V. Cluster configurations for disaster recovery
- Connecting clusters–Creating global clusters
- VCS global clusters: The building blocks
- About global cluster management
- About serialization - The Authority attribute
- Prerequisites for global clusters
- Setting up a global cluster
- Configuring clusters for global cluster setup
- Configuring service groups for global cluster setup
- About IPv6 support with global clusters
- About cluster faults
- About setting up a disaster recovery fire drill
- Test scenario for a multi-tiered environment
- Administering global clusters from the command line
- About global querying in a global cluster setup
- Administering clusters in global cluster setup
- Setting up replicated data clusters
- Setting up campus clusters
- Connecting clusters–Creating global clusters
- Section VI. Troubleshooting and performance
- VCS performance considerations
- How cluster components affect performance
- How cluster operations affect performance
- VCS performance consideration when a system panics
- About scheduling class and priority configuration
- VCS agent statistics
- About VCS tunable parameters
- Troubleshooting and recovery for VCS
- VCS message logging
- Gathering VCS information for support analysis
- Troubleshooting the VCS engine
- Troubleshooting Low Latency Transport (LLT)
- Troubleshooting Group Membership Services/Atomic Broadcast (GAB)
- Troubleshooting VCS startup
- Troubleshooting issues with systemd unit service files
- Troubleshooting service groups
- Troubleshooting resources
- Troubleshooting sites
- Troubleshooting I/O fencing
- Fencing startup reports preexisting split-brain
- Troubleshooting CP server
- Troubleshooting server-based fencing on the VCS cluster nodes
- Issues during online migration of coordination points
- Troubleshooting notification
- Troubleshooting and recovery for global clusters
- Troubleshooting licensing
- Licensing error messages
- Troubleshooting secure configurations
- VCS message logging
- VCS performance considerations
- Section VII. Appendixes
Configuring IPsec using Libreswan on RHEL systems
To install Libreswan and start the service
- Install Libreswan.
# yum install libreswan
- Verify that Libreswan is installed.
# yum info libreswan
The NSS database is initialized as part of the installation process.
- Remove the existing database using the command:
# systemctl stop ipsec ; rm /etc/ipsec.d/*db
- Create a new NSS database by using the command:
# ipsec initnss
- Start the IPsec service.
# systemctl start ipsec
Alternatively, to start IPsec as a persistent service, use the systemctl enable ipsec command.
To create a secure host-to-host VPN configuration
- Create RSA key pairs.
On the left and the right host each, run the following command:
# ipsec newhostkey --output /etc/ipsec.d/hostkey.secrets
The command generates an RSA key pair with a specific CKAID value.
If the --output option does not work, you can still generate the host key by running the command as follows:
# ipsec newhostkey
Sample output:
Generated RSA key pair with CKAID 14936e48e756eb107fa1438e25a345b46d80433f was stored in the NSS database.
It is not necessary to store the key in the
hostkey.secrets
file.If you forget the CKAID, you can view a list of all the host keys on a system by using the ipsec showhostkey --list command.
- Use the CKAID values that were generated in the previous step to view the public host keys.
View the public key of the left host by running the following command:
# ipsec showhostkey --left --ckaid 14936e48e756eb107fa1438e25a345b46d80433f
Similarly, view the public key of the right host by running the following command:
# ipsec showhostkey --right --ckaid 14936e48e756eb107fa1438e25a345b46d80433f
- Create an IPsec configuration file in the
/etc/ipsec.d/
directory for each private LLT link.Sample entries in the configuration file:
conn mytunnel leftid=@west.example.com <-- Local node hostname left=192.1.2.23 <-- IP used by one of the LLT links leftrsasigkey=0sAQOrlo+hOafUZDlCQmXFrje/oZm [...] W2n417C/4urYHQkCvuIQ== <-- Left RSA Key generated on the left node rightid=@east.example.com <-- Peer/remote cluster node hostname right=192.1.2.45 <-- IP used by one of the LLT links rightrsasigkey=0sAQO3fwC6nSSGgt64DWiYZzuHbc4 [...] D/v8t5YTQ== <-- Right RSA key generated on the right node authby=rsasig # load and initiate automatically auto=start
Optionally, you can configure public host keys by using their CKAIDs instead of their RSA IDs. In that case, use the leftckaid and rightckaid attributes instead of leftrsasigkey and rightrsasigkey.
You can use the same configuration file on the left and the right hosts. Libreswan automatically detects whether the host is left or right based on the specified IP addresses or hostnames.
- Restart the IPsec service.
# systemctl restart ipsec
- Manually load and start the tunnel by running the following commands:
# ipsec auto --add mytunnel
# ipsec auto --up mytunnel
To verify the host-to-host VPN
- Verify that packets are being sent through the VPN tunnel by running the following command:
# tcpdump -n -i interface esp or udp port 500 or udp port 4500
Sample output:
00:32:32.632165 IP 192.1.2.45 > 192.1.2.23: ESP(spi=0x63ad7e17,seq=0x1a), length 132 00:32:32.632592 IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x4841b647,seq=0x1a), length 132 00:32:32.632592 IP 192.0.2.254 > 192.0.1.254: ICMP echo reply, id 2489, seq 7, length 64
This step is essential, because IPsec packets are displayed as Encapsulated Security Payload (ESP) packets, and the ESP protocol does not use ports.
- Verify that the tunnel is successfully established and view the amount of traffic transmitted through the tunnel by running the following command:
# ipsec whack --trafficstatus
You can also configure IPsec with the FIPS mode enabled. To verify whether IPsec is enabled in FIPs mode, use the ipsec whack --fipsstatus command.