`
rooi
  • 浏览: 53795 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论
  • rooi: int statusCode =  response.getS ...
    RTC
  • rooi: package com.coamctech.bxloan.co ...
    RTC
  • rooi: establishConnectionTimeout
    RTC
  • rooi: http://www.cnblogs.com/admol/ar ...
    RTC
  • rooi: https://github.com/qbektrix/xml ...
    RTC

Veritas cluster Agents (VCS agents)

vcs 
阅读更多
http://www.unixarena.com/2012/06/vcs-switch-over-issue-due-to-failed.html


VCS agents:
VCS agent use to communicate to the HAD (high availability daemon) with all the configuration and attributes.For an example, Mount agent should be able to monitor the filesystem and able to mount/umount the filesystem according to the given commands.

Agents are multi-threaded processes that provide the logic to manage resources. VCS has one agent per resource type. The agent monitors all resources of that type; for example, a mount  agent manages all mounts resources.When the agent is started, it obtains the necessary configuration information from VCS. It then periodically monitors the resources, and updates VCS with the resource status.
Above Notes from https://sort.symantec.com.

You may have the below questions in your mind about VCS agents.Its better know what it is and what actually it does .

Who provides the VCS agents ?
The blow mentioned  resource agents are shipped along with VCS. If the agents are not starting then ,you need to contact Symantec to fix the issue.
1.Oracle
2.Sysbase
3.LDOM
4.IP
5.NIC
6.Zone
7.Application
and many more.
Symantec also provides additional developed agents to support various applications on VCS. For an example,you want to cluster the SAP application ,you need a SAP agents .But in some cases original software vendor will provide the agents for VCS(independent software vendor ISV).

What are the VCS agents Properties?
1.Only one agent daemon runs on a system for each configured resource type.
2.An agent runs a single operation on a resource at one time.
3.Agents can perform operation on multiple resources of the  same type in parallel.
4.If there are no resource of a particular type anywhere in the cluster,the agent for that type is not started.
5.A resource cannot be managed without an agent.

What are the VCS agents functions ?
1.Start a specified program
2.Stop a specified program
3.Monitor the program
4.Clean up after a fault.

How it formed ?
1.An agent binary file,which contains all necessary function within single binary to control the resource.
2.An agent binary and a collection of scripts that correspond to agent function not included in the binary.

Issues with VCS agents:
In Production environment ,we may face the below issue very often.Here we will see how to fix that issue.
VCS-Switch over issue due to failed agent
VCS error: V-16-1-10195, resulting from failed fail-over of service group.
The failover of a service group fails, and hastatus -sum shows that an agent is 'failed' on the system the service group is to failover to.

Example of hastatus -sum output:
-- AGENTS FAILED
-- Type System
I IPMultiNIC node1

This is issue can be resolved by issuing the following command.It will just stat VCS agent if it failed abnormally or stopped for unknown reason.
# haagent -start IPMultiNIC -sys node1

This command is applicable for all the VCS agents which was showing failed in hastatus output.Here i have just shown the example with "IPMultiNic".Resourse agent can be anything like Mount,DiskGroup,Volume etc...

Thank you for reading this article.Please leave comment if you have any doubt.I will get back to you.
- See more at: http://www.unixarena.com/2012/06/vcs-switch-over-issue-due-to-failed.html#sthash.iLhvVQ5Z.dpuf

ISSUE:
When attempting to right click on a clustered Service Group and select the Switch command (or doing so manually through the Command Line Interface), the Service Group fails to switch and the error V-16-1-10195 'Cannot perform switch' is displayed.

SOLUTION:
There are several causes to this rare issue. The issue is generally caused by the failure of a specific agent on the node the service group is being switch to.

To find the failed agent, simply run the following command through the Command Line Interface:

hastatus -sum

At the bottom of the output, a heading can be seen called, 'Failed Agent'. Below this is a list of all agents that have failed to start on the node.
In this situation, the agents simply need to be restarted. This can be done through two methods:

1) Issuing a command of    hastop -local -force  and then hastart should restart the agents, but will also restart all cluster services on that node only. Production service groups should not be online on this node when these commands are ran.


2) Issuing a command of    haagent - stop <agent> -force -sys <system name> followed by   haagent - start <agent> -sys <system name>  where <agent> is the name of the failed agent, should restart the agent properly. Again, it is suggested that any production Service Group not affected by the failed agent be moved to another clustered node in order not to disrupt production itself.
分享到:
评论
1 楼 rooi 2014-02-22  
http://wenku.baidu.com/link?url=NGEInU7BxL5B79W_-PvoPuhEQ5jIc48IykD8gH1WAo5UJ4Swr3kFtah9LGuKW4e8Z7Llm43_-Wl0Mw-eX9UR7XjaRTfwNVy1n4EuG1BWkbO

相关推荐

    Linux6下Veritas Cluster Sever 安装配置手册

    Linux6下Veritas Cluster Sever 安装配置手册 以及vcs卸载和常用的vcs命令

    veritas cluster server user guide

    Veritas Cluster Server(VCS)是Symantec公司(前身为Veritas Software Corporation)推出的一款高可用性和灾难恢复解决方案。它主要用于确保关键业务应用程序和服务的连续运行,即使在硬件故障或网络中断等情况下...

    veritas cluster server

    Veritas Cluster Server(简称VCS)是一款由赛门铁克公司(Symantec Corporation)开发的集群管理软件,专门用于Linux操作系统环境。VCS的主要功能是通过将多个独立的服务器虚拟化成为一个单一的高可用性(HA)集群...

    Veritas Cluster Server入门全攻略

    Veritas Cluster Server(简称VCS)作为一款高端的企业级软件解决方案,其核心优势在于能够为组织提供全面的可用性管理,确保系统具备最小化的计划内与计划外停机时间。以下几点总结了VCS的主要特点: 1. **跨硬件...

    VCS.rar_VCS_db2_vcs veritas_veritas_veritas vcs

    前面我们通过Veritas Cluster Server for DB2双机-入门一文已经向大家介绍了DB2双机的基本原理和配置方法,本文将接续上文,继续介绍DB2的高级需求-大规模并行处理(Massively Parallel Processing, MPP)-环境下...

    Veritas Cluster Server 模拟器V4.0.part1

    VCS 一款用作集群的仿真环境软件,个人觉得很好用,共2个分卷

    VERITAS Cluster Server 4.1 - Installation Guide

    VERITAS Cluster Server(VCS)是一种高可用性和负载均衡解决方案,用于确保关键应用程序和服务在多个节点之间无缝切换,提高系统稳定性和性能。其核心概念包括: 1. **多节点**:VCS支持多台服务器(节点)之间的...

    Veritas Cluster Server 6.x for UNIX - Advanced Administration.zip VCS官方高级管理教程

    Veritas Cluster Server 6.x for UNIX - Advanced Administration.zip VCS官方高级管理教程,内部培训文档,包含课程和课程对应的实验,学习VCS必备。

    VERITAS Cluster Server

    赛门铁克企业解决方案 适用于计划内停机和系统故障 灵活的集群配置和全面的集群结构 支持各种操作系统、应用系统 精密的集群控制,防止数据损坏 全面融入VERITAS容灾解决方案 ...与VERITAS各解决方案紧密集成

    linux6.4 Veritas Cluster Sever集群安装文档

    本文档详细介绍了在Linux 6.4环境下部署Veritas Cluster Server (VCS)集群的具体步骤,包括安装前的准备工作、硬件及软件需求、具体的安装配置流程以及后期的测试与维护。通过本文档的学习,读者能够掌握在Linux环境...

    Veritas Cluster Server for Oracle双机热备的配置

    本文旨在详细介绍如何使用Veritas Cluster Server (VCS) 配置Oracle数据库的双机热备方案。双机热备是一种高可用性架构,通过在两台服务器之间进行负载均衡或故障转移,确保应用程序或服务能够持续可用。在Oracle...

    Administration of Veritas NetBackup Appliances(VCS-279)考题.docx

    Administration of Veritas NetBackup Appliances(VCS-279)考题 在这篇文章中,我们将详细解释Veritas NetBackup Appliances的管理,包括NetBackup的基本概念、备份和还原、存储单元、证书撤销列表、网络连接测试等...

Global site tag (gtag.js) - Google Analytics