InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which Daemons Are Required For Ldap Server? |
|
Answer» SLAPD and slurpd slapd and slurpd |
|
| 2. |
What Is The Cluster Log File For Vcs Cluster? |
|
Answer» /var/VRTSvcs/log/engine_A.log14 /var/VRTSvcs/log/engine_A.log14 |
|
| 3. |
What Is Split Brain In Vcs? Or What Is Split Brain Syndrome In Vcs Cluster? |
|
Answer» A split BRAIN occurs when two independent systems configured in a cluster assume they have exclusive ACCESS to resource. this scenario can be CAUSED when all cluster heartbeat links are SIMULTANEOUSLY lost. Each cluster node will then MARK the other cluster node as FAULTED. , usually resulting in data corruption. A split brain occurs when two independent systems configured in a cluster assume they have exclusive access to resource. this scenario can be caused when all cluster heartbeat links are simultaneously lost. Each cluster node will then mark the other cluster node as FAULTED. , usually resulting in data corruption. |
|
| 4. |
What Is Jeopardy In Vcs? Or What Is Jeopardy State? |
|
Answer» The STATE in which a NODE is missing ONE of the two required heartbeat connections. When a node is running with one heartbeat only (in jeopardy), VCS does not restart the applications on a new node. This action of disabling failover is a safety MECHANISM that PREVENTS data corruption. The state in which a node is missing one of the two required heartbeat connections. When a node is running with one heartbeat only (in jeopardy), VCS does not restart the applications on a new node. This action of disabling failover is a safety mechanism that prevents data corruption. |
|
| 5. |
How To Unfreeze All Service Groups? |
|
Answer» haconf -makerw hagrp -unfreeze <SERVICE Group> -PERSISTENT haconf -dump -makero haconf -makerw hagrp -unfreeze <Service Group> -persistent haconf -dump -makero |
|
| 6. |
How To Identify The Llt Kernel Module And Remove It From Each System On Linux? |
|
Answer»
rmmod LTT lsmod | grep llt rmmod ltt |
|
| 7. |
How To Shutdown Llt On Each System In Vcs Cluster? |
|
Answer» lltconfig -U lltconfig -U |
|
| 8. |
How To Identify The Gab Kernel Module And Remove It From Each System In Linux? |
|
Answer»
rmmod gab lsmod | grep gab rmmod gab |
|
| 9. |
How To Shutdown Gab And Confirm It's Down On Each System? |
Answer»
|
|
| 10. |
How To Check The Gab Status In Vcs Cluster? Or Confirm Vcs Has Shut Down On Each System? |
|
Answer» gabconfig -a gabconfig -a |
|
| 11. |
Shutdown Vcs Cluster But Keep The Services Up. |
|
Answer» hastop -all -FORCE hastop -all -force |
|
| 12. |
How To Online The Service Groups In Vcs? Or How To Bring The Service Online In Particular Node? |
|
Answer» hagrp –online -sys nodename |
|
| 13. |
How To Switchover The Service Group In Vcs? Or How To Move The Service Group From One Node To Other Node In Vcs? |
|
Answer» hagrp –switch -to nodename |
|
| 14. |
What Is The Use Of Hagrp Command? Or How To Manage The Service Group In Vcs? |
|
Answer» hagrp is used for doing administrative ACTIONS on service groups like online, OFFLINE, SWITCH ETC. hagrp is used for doing administrative actions on service groups like online, offline, switch etc. |
|
| 15. |
What Is The Difference Between Switchover And Failover? Or What Is Switchover And Failover? |
|
Answer» Switchover is an manual task where as FAILOVER is AUTOMATIC. You can switchover service group from online cluster node to offline cluster node in CASE of POWER outage, hardware failure, schedule shutdown and reboot. But the failover will failover the service group to the other node when VCS heartbeat link down, damaged, broken because of some disaster or SYSTEM hung. Switchover is an manual task where as failover is automatic. You can switchover service group from online cluster node to offline cluster node in case of power outage, hardware failure, schedule shutdown and reboot. But the failover will failover the service group to the other node when VCS heartbeat link down, damaged, broken because of some disaster or system hung. |
|
| 16. |
What Is The Use Of Halink Command? Or What Is Halink In Veritas Cluster? |
|
Answer» HALINK is USED to LINK the DEPENDENCIES of the RESOURCES. halink is used to link the dependencies of the resources. |
|
| 17. |
What Is Service Group In Vcs? |
|
Answer» Service GROUP is made up of RESOURCES and their links which you NORMALLY requires to maintain the HA of APPLICATION. Service group is made up of resources and their links which you normally requires to maintain the HA of application. |
|
| 18. |
How Will You Check The Status Of Individual Resources Of Vcs Cluster? Or How To Check The Individual Resources Status In Vcs Cluster? |
|
Answer» HARES –state hares –state |
|
| 19. |
Which Command You Will Use To Check The Syntax Of The Main.cf? Or How To Verify The Syntax Of Main.cf Configuration File? |
|
Answer» hacf -VERIFY /etc/VRTSvcs/conf/config hacf -verify /etc/VRTSvcs/conf/config |
|
| 20. |
Which Is The Main Config File For Vcs And Where It Is Located? Or What Is The Main Vcs Configuration File? |
|
Answer» MAIN.cf is the main CONFIGURATION FILE for VCS and it is LOCATED in /etc/VRTSvcs/conf/config/. main.cf is the main configuration file for VCS and it is located in /etc/VRTSvcs/conf/config/. |
|
| 21. |
How To Check The Status Of Veritas Cluster Server? Or How To Check The Status Of Vcs Cluster? |
|
Answer» hastatus –sum hastatus –sum |
|
| 22. |
How To Clear Resources With Admin_wait State ? |
|
Answer» If the ManageFaults ATTRIBUTE of a service group is set to NONE, VCS does not take any automatic action when it DETECTS a resource fault. VCS places the resource into the ADMIN_WAIT STATE and waits for administrative intervention. To clear the resource in ADMIN_WAIT state WITHOUT faulting service group : # hares -probe [resource] -SYS node01 To clear the resource in ADMIN_WAIT state by changing the status to OFFLINE|FAULTED : # hagrp -clearadminwait -fault [SG] -sys node01 If the ManageFaults attribute of a service group is set to NONE, VCS does not take any automatic action when it detects a resource fault. VCS places the resource into the ADMIN_WAIT state and waits for administrative intervention. To clear the resource in ADMIN_WAIT state without faulting service group : # hares -probe [resource] -sys node01 To clear the resource in ADMIN_WAIT state by changing the status to OFFLINE|FAULTED : # hagrp -clearadminwait -fault [SG] -sys node01 |
|
| 23. |
How To Clear Resource Faults ? |
|
Answer» To CLEAR a resource FAULT, we FIRST have to fix the underlying problem.
# hares -clear [resource_name] -sys node01 To clear a resource fault, we first have to fix the underlying problem. # hares -clear [resource_name] -sys node01 |
|
| 24. |
How To Flush A Service Group And When Its Required ? |
|
Answer» FLUSHING of a service GROUP is required when, agents for the RESOURCES in the service group seems suspended waiting for resources to be taken online/offline. Flushing a service group clears any internal wait states and STOPS VCS from attempting to bring resources online. To flush the service group SG on the cluster node, node01 : # hagrp -flush [SG] -sys node01 Flushing of a service group is required when, agents for the resources in the service group seems suspended waiting for resources to be taken online/offline. Flushing a service group clears any internal wait states and stops VCS from attempting to bring resources online. To flush the service group SG on the cluster node, node01 : # hagrp -flush [SG] -sys node01 |
|
| 25. |
Whats The Difference Between Multinica And Multinicb Resource Types ? |
|
Answer» MULTINICA and IPMultiNIC:
MultiNICB and IPMultiNICB:
MultiNICA and IPMultiNIC: MultiNICB and IPMultiNICB: |
|
| 26. |
Whats A Split Brain Condition ? |
|
Answer» SPLIT brain occurs when all the LLT links fails simultaneously. Here systems in the cluster fail to identify whether it is a SYSTEM failure or an interconnect failure. Each mini-cluster thus formed thinks that it is the only cluster thats ACTIVE at the moment and tries to start the service groups on the other mini-cluster which he think is down. Similar thing happens to the other mini-cluster and this may lead to a SIMULTANEOUS access to the storage and can cause data CORRUPTION. Split brain occurs when all the LLT links fails simultaneously. Here systems in the cluster fail to identify whether it is a system failure or an interconnect failure. Each mini-cluster thus formed thinks that it is the only cluster thats active at the moment and tries to start the service groups on the other mini-cluster which he think is down. Similar thing happens to the other mini-cluster and this may lead to a simultaneous access to the storage and can cause data corruption. |
|
| 27. |
How To Recover From A Jeopardy Membership ? |
|
Answer» To RECOVER from JEOPARDY, just fix the FAILED link(s) and GAB automatically DETECTS the new link(s) and the jeopardy membership is removed from NODE. To recover from jeopardy, just fix the failed link(s) and GAB automatically detects the new link(s) and the jeopardy membership is removed from node. |
|
| 28. |
Whats A Jeopardy Membership In Vcs Clusters? |
|
Answer» When a node in the cluster has only the last LLT LINK INTACT, the node forms a regular membership with other nodes with which it has more than one LLT link ACTIVE and a JEOPARDY membership with the node with which it has only one LLT link active. When a node in the cluster has only the last LLT link intact, the node forms a regular membership with other nodes with which it has more than one LLT link active and a Jeopardy membership with the node with which it has only one LLT link active. |
|
| 29. |
How To Freeze/unfreeze A Service Group And What Happens When You Do So ? |
|
Answer» When you freeze a service group, VCS continues to monitor the service group, but does not allow it or the resources under it to be TAKEN offline or brought online. Failover is also disable even when a resource faults. When you unfreeze the SG, it start BEHAVING in the normal way. To freeze/unfreeze a Service Group temporarily : # hagrp -freeze [service-group] To freeze/unfreeze a Service Group persistently (across REBOOTS) : # hagrp -freeze -persistent[service-group] When you freeze a service group, VCS continues to monitor the service group, but does not allow it or the resources under it to be taken offline or brought online. Failover is also disable even when a resource faults. When you unfreeze the SG, it start behaving in the normal way. To freeze/unfreeze a Service Group temporarily : # hagrp -freeze [service-group] To freeze/unfreeze a Service Group persistently (across reboots) : # hagrp -freeze -persistent[service-group] |
|
| 30. |
How To Switch Service Groups ? |
|
Answer» The COMMAND to SWITCH the SERVICE group to target node : # HAGRP -switch [service-group] -to [target-node] The command to switch the service group to target node : # hagrp -switch [service-group] -to [target-node] |
|
| 31. |
How To Bring Service Group Online/offline ? |
|
Answer» To online/offline the service group on a particular node : # hagrp -online [service-group] -sys [node] (Online the SG on a particular node) # hagrp -offline [service-group] -sys [node] (Offline the SG on particular node) The -any OPTION when used instead of the node name, brings the SG online/offline based on SG’s failover POLICY. # hagrp -online [service-group] -any # hagrp -offline [service-group] -any To online/offline the service group on a particular node : # hagrp -online [service-group] -sys [node] (Online the SG on a particular node) # hagrp -offline [service-group] -sys [node] (Offline the SG on particular node) The -any option when used instead of the node name, brings the SG online/offline based on SG’s failover policy. # hagrp -online [service-group] -any # hagrp -offline [service-group] -any |
|
| 32. |
How To Check The Configuration Of A Service Group – Sg ? |
|
Answer» To SEE the service GROUP configuration : # HAGRP -display SG To see the service group configuration : # hagrp -display SG |
|
| 33. |
What Are The Various Ways To Stop Had Or Vcs Cluster ? |
|
Answer» In GENERAL, to ADD a service GROUP NAMED SG with 2 nodes (node01 and node02) :
In general, to add a service group named SG with 2 nodes (node01 and node02) : |
|
| 34. |
How To Start Had Or Vcs ? |
|
Answer» To start HAD or VCS on all NODES in the CLUSTER, the hastart command need to be run on all nodes individually. # hastart To start HAD or VCS on all nodes in the cluster, the hastart command need to be run on all nodes individually. # hastart |
|
| 35. |
What’s A Gab Seeding And Why Manual Gab Seeding Is Required ? |
|
Answer» The GAB configuration file /etc/gabtab defines the minimum number of nodes that must be communicating for the cluster to start. This is called as GAB seeding. In case we don’t have sufficient number of nodes to start VCS [ may be due to a maintenance ACTIVITY ], but have to do it anyways, then we have do what is called as MANUAL seeding by FIRING below command on each of the nodes. # gabconfig -C -x The GAB configuration file /etc/gabtab defines the minimum number of nodes that must be communicating for the cluster to start. This is called as GAB seeding. In case we don’t have sufficient number of nodes to start VCS [ may be due to a maintenance activity ], but have to do it anyways, then we have do what is called as manual seeding by firing below command on each of the nodes. # gabconfig -c -x |
|
| 36. |
How To Start/stop Llt? |
|
Answer» The commands to stop and start LLT are : # lltconfig -c -> start LLT The commands to stop and start LLT are : # lltconfig -c -> start LLT |
|
| 37. |
How To Start/stop Gab? |
|
Answer» The commands to start and STOP GAB are : # gabconfig -C (start GAB) The commands to start and stop GAB are : # gabconfig -c (start GAB) |
|
| 38. |
What Are Various Gab Configuration Files And Their Function ? |
|
Answer» The file /etc/gabtab contains the COMMAND to start the GAB. # cat /etc/gabtab here -n 4 –> number of nodes that MUST be communicating in ORDER to start VCS. The file /etc/gabtab contains the command to start the GAB. # cat /etc/gabtab here -n 4 –> number of nodes that must be communicating in order to start VCS. |
|
| 39. |
What Are The Various Llt Configuration Files And Their Function ? |
|
Answer» LLT uses /etc/llttab to set the configuration of the LLT interconnects. Here, set-cluster -> unique cluster number ASSIGNED to the entire cluster [ can have a value ranging between 0 to (64k – 1) ]. It should be unique across the organization. set-node -> a unique number assigned to each node in the cluster. Here the name node01 has a corresponding unique node number in the FILE /etc/llthosts. It can range from 0 to 31. Another configuration file used by LLT is – /etc/llthosts. It has the cluster-wide unique node number and nodename as FOLLOWS: # cat /etc/llthosts LLT has an another optional configuration file : /etc/VRTSvcs/conf/sysname. It contains short names for VCS to refer. It can be used by VCS to remove the dependency on OS hostnames. LLT uses /etc/llttab to set the configuration of the LLT interconnects. Here, set-cluster -> unique cluster number assigned to the entire cluster [ can have a value ranging between 0 to (64k – 1) ]. It should be unique across the organization. set-node -> a unique number assigned to each node in the cluster. Here the name node01 has a corresponding unique node number in the file /etc/llthosts. It can range from 0 to 31. Another configuration file used by LLT is – /etc/llthosts. It has the cluster-wide unique node number and nodename as follows: # cat /etc/llthosts LLT has an another optional configuration file : /etc/VRTSvcs/conf/sysname. It contains short names for VCS to refer. It can be used by VCS to remove the dependency on OS hostnames. |
|
| 40. |
How To Check The Detailed Status Of Llt Links ? |
|
Answer» The COMMAND to check DETAILED LLT STATUS is : # lltstat -nvv The command to check detailed LLT status is : # lltstat -nvv |
|
| 41. |
Whats The Maximum Number Of Llt Links (including High And Low Priority) Can A Cluster Have ? |
|
Answer» A cluster can have a MAXIMUM of 8 LLT LINKS including high and LOW priority LLT links. A cluster can have a maximum of 8 LLT links including high and low priority LLT links. |
|
| 42. |
How To Check The Status Of Various Gab Ports On The Cluster Nodes? |
|
Answer» To CHECK the STATUS of GAB PORTS on VARIOUS NODES : # gabconfig -a To check the status of GAB ports on various nodes : # gabconfig -a |
|
| 43. |
What Are The Various Gab Ports And Their Functionalities ? |
Answer»
|
|
| 44. |
What Is Gab, Llt And Had And What's Their Functionalities ? |
|
Answer» GAB, LLT and HAD forms the basic building blocks of vcs functionality:
GAB, LLT and HAD forms the basic building blocks of vcs functionality: |
|
| 45. |
Explain The Steps Involved In Offline Vcs Configuration? |
Answer»
Note : This can be DONE in another way by just stopping VCS and LEAVING services running to minimize the downtime. (hastop -all -force GAB, LLT and HAD) Note : This can be done in another way by just stopping VCS and leaving services running to minimize the downtime. (hastop -all -force GAB, LLT and HAD) |
|
| 46. |
What Are The Different Resource Types? |
Answer»
|
|
| 47. |
How To Verify The Syntax Of The Main.cf File? |
|
Answer» To verify the SYNTAX of the main.cf FILE just mention the ABSOLUTE directory PATH to the main.cf file : # hacf -verify /etc/VRTSvcs/conf/config To verify the syntax of the main.cf file just mention the absolute directory path to the main.cf file : # hacf -verify /etc/VRTSvcs/conf/config |
|
| 48. |
How To Check The Complete Status Of The Cluster? |
|
Answer» To CHECK the status of the ENTIRE CLUSTER : # hastatus -sum To check the status of the entire cluster : # hastatus -sum |
|
| 49. |
Where Is The Vcs Engine Log File Located ? |
|
Answer» The VCS CLUSTER ENGINE logs is located at /var/VRTSvcs/log/engine_A.log. We can either DIRECTLY view this file or USE COMMAND line to view it: # hamsg engine_A The VCS cluster engine logs is located at /var/VRTSvcs/log/engine_A.log. We can either directly view this file or use command line to view it: # hamsg engine_A |
|
| 50. |
How To Set Vcs Configuration File (main.cf) Ro/rw ? |
|
Answer» To SET the configuration file in read-only/read-write :
To set the configuration file in read-only/read-write : |
|