managergugl.blogg.se

Vcs display master node
Vcs display master node












vcs display master node

  • Any other cluster technology that transfers a cluster hostname, but not the cluster IP address, between nodes.
  • This causes application which cache hostname-to-IP mappings to have an out-dated view of the network topology, and connections to the clustered hostname will fail until the cache is updated from the name services (NIS, DNS, or even hosts files). Instead name services is updated so that the already known cluster hostname resolves to a new IP address.

    #VCS DISPLAY MASTER NODE SIMULATOR#

    Switch the resource group from the primary node to the standby node:Īll device groups and resource groups should be switched to another node.įollowing are several commonly used links, such as simulator download, VCS document view and download, etc.The virtual hostname of a cluster is transfered from a failed node to a newly active node in the cluster, but the IP address to which the virtual hostname resolves is not transfered. VCS will automatically mount the shared disk to another node. Verify the public network status (can be performed on any node): Verify the private network that is the heartbeat status (can be executed on any node): Restart the cluster at the ok prompt (need to be executed on each node): Shut down the cluster (only executed on one node): # tail -100f/var/VRTSvcs/log/engine_A.log View VCS configuration (executable on any node): Verify node information and status (executable on any node):Įnsure that all device and resource groups are online. Make sure that this directory has been set to the PATH environment variable under the root user. The commands are all in the/opt/VRTS/bin directory. You need to log in as the root user to execute VCS commands. Unfreeze the frozen host (make the host available for online or switching operations) Some attributes are internal attributes of VCS and cannot be modified:įreeze the host (prevent the host from online or switching operations) Before use, please confirm whether the cluster configuration file of the host to be used is valid: This command will overwrite the cluster configuration being used. In the ADMIN_WAIT state, the host is forced to load the cluster. Hagrp -disable service_group ĭisable resources in the service group: (for example, when the resource is disabled, the agents do not monitor the resource group) Hagrp -enable service_group ĭisable the service group: (after the service group is disabled, online or switching operations cannot be performed) Hagrp -unfreeze service_group Īctivate the service group: (Online operation can be performed after the service group is activated) Unfreeze the frozen service group (reenable onlining, offlining, and failover)

    vcs display master node

    Switch the service group to another system: (only valid for the failover group, and when part or all of the services in the service group are online):įreeze service group (disable onlining, offlining, and failover), option -persistent is to freeze when the cluster restarts: Shut down the service group and take the service offline: Start the service group and bring the service online: Query resource and related parameters (hagrp is similar): Make the configuration file readable and writable:

    vcs display master node

    Hagrp -state -sys įorce VCS to read the configuration file in the $VCS_CONF/conf/config directory on the system to start the cluster: Query the service_group status of the specified resource group: Only close VCS related processes without stopping the business processes protected by VCS: If you want to start the VCS service of all nodes, or start the entire cluster, you need to execute hasart Let's take a look at these commands together: Before this, it is necessary to be familiar with the common operations of VCS, which is also very commonly used in later maintenance. Switching actions belong to the category of cluster or high-reliability system design and development. VCS provides a more open customized interface, which can be customized according to the needs of its own business system. VCS (full name is Veritas Cluster Server) and Sun Cluster are widely used in large-scale systems. There are many cluster softwares at present.














    Vcs display master node