# ./installVRTSvxfs731P100
CPI ERROR Cannot find kernel-padv json hash
To simulate the issue in-house where the server does have Internet access, use the -noipc option for simulation purposes:
# ./installVRTSinfoscale731P200 -noipc
CPI ERROR Cannot find kernel-padv json hash
There was an issue in the CPI installer code where it was incorrectly parsing the product version for the 731 (maintenance release) as 73 (the base version). This resulted in the CPI error reflecting VRTSvxvm73 instead of the intended VRTSvxvm731.
See related article below.
The matrix directory is essential for the CPI installer and related scripts to establish product version information and compatibility. If the .matrix directory is missing the patch install process may fail.
The .matrix directory would normally exist under /opt/VRTS/install, where servers have access to the Internet:
# ls -al /opt/VRTS/install/
total 44
drwxr-xr-x. 5 root root 130 Jan 25 08:15 .
drwxr-xr-x. 7 root root 74 Dec 18 04:54 ..
drwxr-x---. 3 root root 39 Jan 25 08:07 bin
rw-r----. 1 root root 0 Jan 25 08:15 .cpi5
drwxr-xr-x. 2 root root 6 Jan 25 07:09 .cpihotfix
rw-rr-. 1 root root 27593 Jan 25 08:15 .history
rwxr-x--. 1 root root 767 Jan 25 08:15 installer
drwxr-xr-x. 8 root root 4096 Jan 25 08:10 logs
drwxr-xr-x. 2 root root 121 Jan 25 07:03 .matrix
rwxr-x--. 1 root root 141 Jan 25 08:15 minstaller
rwxr-x--. 1 root root 932 Jan 25 08:15 showversion
If the VRTSsfcpi rpm is not installed, the install logs may reflect similar messages:
0 11:40:24 Using local kernel padv matrix json: //opt/VRTSperl/lib/site_perl/UXRT731/CPIP/Rel/Matrix/kernel_padv.json
0 11:40:24 Using local release matrix rhel7_x86_64 ga json: //opt/VRTSperl/lib/site_perl/UXRT731/CPIP/Rel/Matrix//rhel7_x86_64-ga.json
0 11:40:24 Using local release matrix rhel7_x86_64 patch json: //opt/VRTSperl/lib/site_perl/UXRT731/CPIP/Rel/Matrix//rhel7_x86_64-patch.json
0 11:40:24 Using local release matrix rhel7_x86_64 hotfix json: //opt/VRTSperl/lib/site_perl/UXRT731/CPIP/Rel/Matrix//rhel7_x86_64-hotfix.json
0 11:40:24 cmd /usr/bin/id 2>&1
The above messages normally indicate that the VRTSsfcpi rpm is not installed.
The Veritas VRTSsfcpi rpm must be installed and be the latest version for the product release (i.e. VRTSsfcpi-7.3.1.000-GENERIC.noarch.rpm and not VRTSsfcpi-7.3.0.000-GENERIC.noarch.rpm).
Manually copy the matrix directory from the 7.3.1 Perl /opt/VRTSperl/lib/site_perl/UXRT731/CPIP/Rel/Matrix directory to the 7.3.1.200 patch scripts directory under scripts/CPIP/Rel/Matrix path.
[7.3.1.200]# ls
infoscale-rhel7_x86_64-Patch-7.3.1.200.tar installVRTSinfoscale731P200 README rpms scripts
# cp -rp /opt/VRTSperl/lib/site_perl/UXRT731/CPIP/Rel/Matrix scripts/CPIP/Rel/
Sample output
In this instance, the 7.3.1.200 patch contents were extracted to /opt/7.3.1.200 directory.
The matrix .json files have been copied to:
/opt/7.3.1.200/scripts/CPIP/Rel/Matrix
# ls
aix53-ga.json kernel_padv.json sles10_x86_64-patch.json sol10_x64-patch.json
aix53-hotfix.json rhel4_x86_64-ga.json sles11_x86_64-ga.json sol11_sparc-ga.json
aix53-patch.json rhel4_x86_64-hotfix.json sles11_x86_64-hotfix.json sol11_sparc-hotfix.json
aix61-ga.json rhel4_x86_64-patch.json sles11_x86_64-patch.json sol11_sparc-patch.json
aix61-hotfix.json rhel5_x86_64-ga.json sles12_x86_64-ga.json sol11_x64-ga.json
aix61-patch.json rhel5_x86_64-hotfix.json sles12_x86_64-hotfix.json sol11_x64-hotfix.json
aix71-ga.json rhel5_x86_64-patch.json sles12_x86_64-patch.json sol11_x64-patch.json
aix71-hotfix.json rhel6_x86_64-ga.json sles9_x86_64-ga.json sol8_sparc-ga.json
aix71-patch.json rhel6_x86_64-hotfix.json sles9_x86_64-hotfix.json sol8_sparc-hotfix.json
hpux1123-ga.json rhel6_x86_64-patch.json sles9_x86_64-patch.json sol8_sparc-patch.json
hpux1123-hotfix.json rhel7_x86_64-ga.json sol10_sparc-ga.json sol9_sparc-ga.json
hpux1123-patch.json rhel7_x86_64-hotfix.json sol10_sparc-hotfix.json sol9_sparc-hotfix.json
hpux1131-ga.json rhel7_x86_64-patch.json sol10_sparc-patch.json sol9_sparc-patch.json
hpux1131-hotfix.json sles10_x86_64-ga.json sol10_x64-ga.json
hpux1131-patch.json sles10_x86_64-hotfix.json sol10_x64-hotfix.json
NOTE: Only the .json files for the required Operating System (OS) are required to be copied to the matrix folder.
The 7.3.1.200 patch should now install fine.
Veritas recommends checking the SORT website for the latest CPI patch and specifying when installing our patching the product suite;
# ./installVRTSinfoscale731P200 -noipc -require /tmp/CPI_7.3.1_P8.pl
total 60
drwxr-xr-x. 6 root root 4096 Jan 25 10:02 .
drwxr-xr-x. 5 root root 4096 Jan 25 10:02 ..
drwxr-xr-x. 2 root root 4096 Jan 18 13:15 .cpihotfix
rw-rr-. 1 root root 30698 Jan 25 10:02 .history
drwxr-xr-x. 66 root root 4096 Jan 25 10:04 logs
drwxr-xr-x. 2 root root 4096 Jan 17 13:42 .matrix
drwxr-xr-x. 3 root root 4096 Jan 17 13:43 repository
total 48
drwxr-xr-x. 2 root root 33 Jan 25 07:03 .
drwxr-xr-x. 4 root root 52 Jan 25 07:09 ..
rw-rr-. 1 root root 45463 Jan 25 07:03 7.3.1_RHEL7x8664.pl