• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

VCS (Infoscale Availability) : How to switch a Service Group

By admin

You can switch a service group between systems to test failover. This also comes handy also during a maintenance activity to free up a system in the cluster. In order to ensure that failover can occur as expected in the event of a fault, test the failover process by switching the service group between systems within the cluster.

What happens during SG switch

– Switching a service group does not have the same effect as taking a service group offline on one system and bring the service group online on another system.
– When you switch a service group, VCS replicates the state of each resource on the target system.
– If a resource has been manually taken offline on a system before the switch command is run, that resource is not brought online on the target system.

Sequence of events during SG switch :
1. Take sources offline on source system
2. Bring resources online on the target system. Only resources online on source system are brought online on target system

Switching a Service Group

To switch a service group, use the command below:

hagrp -switch [group] -to [system]

Provide the service group name and the name of the system where the service group is to be brought online.

VCS (Infoscale Availability) : How to online and offline a Service Group
VCS (Infoscale Availability) – Difference Between Frozen and TFrozen attributes
VCS (Infoscale Availability) : How to freeze a Service Group

Filed Under: VCS

Some more articles you might also be interested in …

  1. VCS cluster 5.1 LAB using VMware workstation : Installing solaris
  2. VCS cluster 6.2 LAB : Installing Open-E DSS
  3. VCS (Infoscale Availability) : How to online and offline resources
  4. VCS (Infoscale Availability) : How to freeze a Service Group
  5. VCS (Infoscale Availability) – Difference Between Frozen and TFrozen attributes
  6. How to configure VCS I/O fencing – Command line and installer utility
  7. VCS cluster 5.1 LAB using VMware workstation : The Setup
  8. How to add a node to an active VCS cluster
  9. VCS cluster 5.1 LAB using VMware workstation : Installing VCS
  10. VCS cluster 101 – Cluster Communications, GAB, LLT, HAD

You May Also Like

Primary Sidebar

Recent Posts

  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  • Unable to Start RDMA Services on CentOS/RHEL 7
  • How to rename a KVM VM with virsh
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary