cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to start a patch to a new Cluster

oolmedo
Level 4

Hello colleagues:

I have the following issue:

After install and configure a new Cluster (8.0.2 version running on AIX), I need to install a patch:

README VERSION : 1.1
README CREATION DATE : 2023-12-15
PATCH-ID : 8.0.2.400
PATCH NAME : 8.0.2 P4
BASE PACKAGE NAME : VRTSsfcpi
BASE PACKAGE VERSION : 8.0.2
SUPERSEDED PATCHES : cpi-Patch-8.0.2.300
REQUIRED PATCHES : NONE
INCOMPATIBLE PATCHES : NONE
SUPPORTED PADV : aix,rhel8_x86_64,rhel9_x86_64,sles15_x86_64,sol11_sparc,sol11_x86
(P-PLATFORM , A-ARCHITECTURE , D-DISTRIBUTION , V-VERSION)
PATCH CATEGORY :
PATCH CRITICALITY : OPTIONAL
HAS KERNEL COMPONENT : NO
ID : NONE
REBOOT REQUIRED : NO
REQUIRE APPLICATION DOWNTIME : NO

The installation instructions say:

PATCH INSTALLATION INSTRUCTIONS:
--------------------------------
1. Copy the hot-fix CPI_8.0.2_P4.pl to /tmp
2. Run installation scripts with the hot-fix
Example:
./installer -require /tmp/CPI_8.0.2_P4.pl

If I use the installer script from the 8.0.2 installation binaries, after using option G (upgrade) the script finished with error, because it claims that 8.0.2.0 is already installed. Actually it should be updated to 8.2.0.400.

It seems that I am not installing this patch correctly, but I dont have any other instructions.

Thanks for your help

Best regards

oolmedo

9 REPLIES 9

frankgfan
Moderator
Moderator
   VIP   

What do you mean "after using option G"?

 

this command "

./installer -require /tmp/CPI_8.0.2_P4.pl" 

should install the patch.

oolmedo
Level 4

Hello frankgfan:

Thanks for your reply.

I had to be more specific in my question.  I am unable to install this patch according to the readme.

if I run: 

./installer -require /tmp/CPI_8.0.2_P4.pl" 

In which directory is the "installer" script ?. The "." is meaningless if the readme does not show any directory which can cd to.

Supposing that the installer script is the file that came with the installer of Infoscale ("Veritas_Infoscale_8.0.2_AIX.tar.gz" in my case), when I execute ./installer -require /tmp/CPI_8.0.2_P4.pl a menu is open:

oolmedo_0-1708707233765.png

the "G" option is what i mentionned in my previous post (it seems that the installer didnt take the option of the patch)

Thanks and best regards

Oolmedo

 

 

frankgfan
Moderator
Moderator
   VIP   

Can you please run the commands below and post the outputs?

1. which ./installer

2. file ./installer

3. find / -name "installer"

 

the issue maybe related to the incorrect version of "installer" was executed.

oolmedo
Level 4

Hello Frankgfan:

Here is the output of the requested commands:

 

# which ./installer
./installer
# file ./installer
./installer: shell script - sh (default shell)
# find / -name "installer"
/opt/Infoscale/dvd1-aix/installer
find: 0652-023 Cannot open file /proc/2359628.
find: 0652-023 Cannot open file /proc/7471442.
find: 0652-023 Cannot open file /proc/7537084.
find: 0652-019 The status on /proc/12648712/fd/6 is not valid.
find: 0652-019 The status on /proc/12648712/fd/7 is not valid.
find: 0652-019 The status on /proc/12648712/fd/8 is not valid.
# pwd
/opt/Infoscale/dvd1-aix
# ls -l
total 40
drwxr-xr-x 5 root system 256 May 16 2023 EULA
-rw-r--r-- 1 root system 934 May 16 2023 copyright
drwxrwxr-x 2 root system 256 May 16 2023 docs
-rwxr-xr-x 1 root system 8991 May 11 2023 installer
drwxr-xr-x 9 root system 256 May 16 2023 perl
drwxrwxr-x 2 root system 4096 May 16 2023 pkgs
drwxrwxr-x 5 root system 256 May 16 2023 scripts
drwxrwxr-x 3 root system 256 May 16 2023 tools
drwxrwxr-x 2 root system 256 May 16 2023 windows

 

Thanks for your help

Oolmedo

frankgfan
Moderator
Moderator
   VIP   

thank you for posting the output requested,

Can you please run the commands below and post the outputs?

1. ls -l /tmp/hot-fix CPI_8.0.2_P4.pl

2. file /tmp/hot-fix CPI_8.0.2_P4.pl

oolmedo
Level 4

Hello Frankgfan:

Here is the output of the requested commands:

# tar tvf cpi-Patch-8.0.2.400.tar
drwxrwxr-x 0 0 0 Dec 15 06:22:20 2023 patches/
-rwxr-xr-x 0 0 217342 Dec 15 06:21:38 2023 patches/CPI_8.0.2_P4.pl
-rw-r--r-- 0 0 13618 Dec 15 06:22:21 2023 patches/README
-rwxr-xr-x 0 0 13397 Dec 15 06:35:10 2023 README
# file patches/CPI_8.0.2_P4.pl
patches/CPI_8.0.2_P4.pl: commands text
#
#
# tar tvf /tmp/cpi-Patch-8.0.2.400.tar
drwxrwxr-x 0 0 0 Dec 15 06:22:20 2023 patches/
-rwxr-xr-x 0 0 217342 Dec 15 06:21:38 2023 patches/CPI_8.0.2_P4.pl
-rw-r--r-- 0 0 13618 Dec 15 06:22:21 2023 patches/README
-rwxr-xr-x 0 0 13397 Dec 15 06:35:10 2023 README
# pwd
/tmp
# ls -l /tmp/patches/CPI_8.0.2_P4.pl
-rwxr-xr-x 1 root system 217342 Dec 15 06:21 /tmp/patches/CPI_8.0.2_P4.pl
# file /tmp/patches/CPI_8.0.2_P4.pl
/tmp/patches/CPI_8.0.2_P4.pl: commands text

 

Please let me know if you need more information

Thanks for your help

Best regards

oolmedo

frankgfan
Moderator
Moderator
   VIP   

recommend to perform the steps below:

1. download a fresh copy of patch CPI_8.0.2_P4.pl: (in binary mode)

2. stop VCS by running  "hastop -all -force"      <<< this co0mmand will stop VCS without off-lining any resources controlled by VCS (make sure to check the cluster status and no resource in transient state priper running the command)

3 follow the instructions to install the patch

4. if still fail to install the patch, call Veritas tech support for help.

oolmedo
Level 4

Hello Frankgfan:

I have opened a Case with Veritas support. They told me the following information about this patch:

"

The CPI patch is a component of the InfoScale product suite. It is responsible for upgrading the installer file used for installing or upgrading InfoScale products, such as Veritas Cluster Server (VCS) or Veritas Storage Foundation (SF).

The CPI patch does not directly upgrade the product rpms or binaries. Instead, it focuses on updating the installer file itself, ensuring that the installation or upgrade process is smooth and efficient. By applying the latest CPI patch, you can benefit from any bug fixes, enhancements, or improvements made to the installer, which ultimately enhances the overall installation experience.

It is recommended to use latest installer CPI patch always for any deployment operation to include fixes released after the particular Infoscale release

In summary, the CPI patch plays a crucial role in keeping the installer file up to date, ensuring a seamless installation or upgrade process for InfoScale products.

However, we have used the latest CPI patch along with the installer to initiate the services effectively.

We used below command to start the infoscale services along with CPI patch.

    # /opt/VRTS/install/installer -start -require /software/CPI/patches/CPI.pl file

"

I hope this information could be usefull.

I appreciate your help and consideration regarding this topic.

Best regards

 

Oolmedo

frankgfan
Moderator
Moderator
   VIP   

Thanks very much sharing the info.

If "The CPI patch does not directly upgrade the product rpms or binaries. Instead, it focuses on updating the installer file itself,"  the patch readme file patch install instruction should be made more specific and more easy for user to follow.  Also the patch install errors should be made more clear and meaningful.

 

Anyway, if the issue is now resolved, please go a head to close this ticket.