Add a new node to the existing Veritas cluster got failed with "CPI ERROR V-9-0-0 InfoScale Availability is installed on server101, but it does not have valid license"

book

Article ID: 100053844

calendar_today

Updated On:

Description

Environment:

Solaris 11.4 with 7.4.1 or later.

Error Message

Installer logs showed as mentioned below.

0 20:55:51 cmd /usr/bin/scp -o 'StrictHostKeyChecking=no' -o 'UserKnownHostsFile=/dev/null' -o ControlMaster=auto -o ControlPath=/var/tmp/installer-202208192049Ufm/_ssh_%h -o ControlPersist=yes -rp server101://etc/VRTSvcs/conf/config/main.cf /var/tmp/installer-202208192049Ufm/main.cf.server101 2>&1
0 20:55:51 cmd exit=0 (duration: 0.28 seconds)
0 20:55:51 The configured component(s) are VCS741
0 20:55:51 The previous component(s) are VCS741
0 20:55:51 The active component(s) are VCS741
0 20:55:51 ............................................................................... VCS
0 20:55:51 ............................................................................ Failed
0 20:55:51 CPI ERROR V-9-0-0 InfoScale Availability is installed on server101, but it does not have valid license
0 20:55:51 installer took 362.44 seconds (0:06:02)
0 20:55:51 cmd /usr/bin/mkdir -p /opt/VRTS/install/logs 2>/dev/null
0 20:55:51 cmd exit=0 (duration: 0.02 seconds)
0 20:55:51 cmd /usr/bin/rm -rf

 
 "/usr/sunos/bin/sh" no such file or directory errors observed in installer logs (log0 file). 
 
0 22:45:39 cmd /usr/sunos/bin/sh /var/tmp/installer-202208192241QWk/vpvd.SunOS.server101 2>&1
0 22:46:17 cmd /usr/bin/ssh -x -o NumberOfPasswordPrompts=0 -o StrictHostKeyChecking=no -o ControlMaster=auto -o ControlPath=/var/tmp/installer-202208192241QWk/_ssh_%h -o ControlPersist=yes server101 "LC_ALL=C LANG=C /usr/sunos/bin/sh /var/tmp/installer-202208192241QWk/vpvd.SunOS.server101 2>&1" 2>/dev/null
bash: /usr/sunos/bin/sh: No such file or directory
0 22:47:04 cmd /usr/bin/ssh -x -o NumberOfPasswordPrompts=0 -o StrictHostKeyChecking=no -o ControlMaster=auto -o ControlPath=/var/tmp/installer-202208192241QWk/_ssh_%h -o ControlPersist=yes server101 "LC_ALL=C LANG=C /usr/sunos/bin/sh /var/tmp/installer-202208192241QWk/vpvd.SunOS.server101 2>&1" 2>/dev/null
bash: /usr/sunos/bin/sh: No such file or directory
0 22:47:46 cmd /usr/bin/ssh -x -o NumberOfPasswordPrompts=0 -o StrictHostKeyChecking=no -o ControlMaster=auto -o ControlPath=/var/tmp/installer-202208192241QWk/_ssh_%h -o ControlPersist=yes server102 "LC_ALL=C LANG=C /usr/sunos/bin/sh /var/tmp/installer-202208192241QWk/vpvd.SunOS.server101 2>&1" 2>/dev/null
bash: /usr/sunos/bin/sh: No such file or directory
0 22:48:25 cmd /usr/bin/ssh -x -o NumberOfPasswordPrompts=0 -o StrictHostKeyChecking=no -o ControlMaster=auto -o ControlPath=/var/tmp/installer-202208192241QWk/_ssh_%h -o ControlPersist=yes server102 "LC_ALL=C LANG=C /usr/sunos/bin/sh /var/tmp/installer-202208192241QWk/vpvd.SunOS.server102 2>&1" 2>/dev/null
bash: /usr/sunos/bin/sh: No such file or directory

Cause

The CPI installer trying to execute the script using the /usr/sunos/bin/sh and this is not available in the system.

In Solaris 11.4 or later, the /usr/sunos/bin/sh file is part of the bourne package and the /var/spool/locks directory is part of the uucp package. For the prior Solaris releases, this file and directory were included in the core-os package. As these files are no longer available in the core-os package, the execution didn't completed to acquire the required results.

Resolution

Install the bourne shell package and check this "/usr/sunos/bin/sh" file is available. 

Note : Creating the "sh" link also helps as a workaround. 

Issue/Introduction

"installer -addnode" failing with error - "does not have valid license"

Environment:

Solaris 11.4 with 7.4.1 or later.