"Use of uninitialized value $sys_name in concatenation (.) or string at /opt/VRTScps/bin/Quorum/monitor" is reported by a quorum resource

book

Article ID: 100011398

calendar_today

Updated On:

Description

Error Message

Reported by hastatus:


-- RESOURCES FAILED

-- Group Type Resource System

D CPSSG Quorum quorum CPServer1
 

 

Perl syntax errors in the engine_A.log:
 

2013/12/20 11:53:34 VCS INFO V-16-2-13716 (CPServer1) Resource(quorum): Output of the completed operation (monitor)
==============================================
Use of uninitialized value $sys_name in concatenation (.) or string at /opt/VRTScps/bin/Quorum/monitor line 120.
 
 
 

Cause

The agent scripts compare the output from "hostname" and "hasys -list." If the hostnames returned do not match each other, the agent will assume that there are two different hosts.

In this example, notice that "cpserver1" is capitalized by hasys, but it is not capitalize in the output returned by hostname.


Syntax:

# hostname

# /opt/VRTSvcs/bin/hasys -list


For example:

# hostname
cpserver1

# /opt/VRTSvcs/bin/hasys -list
CPServer1
 


Resolution

Follow these steps to update system name in the cluster cofniguration to match the hostname:

  1. # hastop -all -force
  2. Modify the system name in /etc/VRTSvcs/conf/config/main.cf
  3. # hastart 

 


Issue/Introduction

 After installing the Coordinator Point Server, the resource quorum will not online successfully.