11 Replies Latest reply on Jul 31, 2015 8:16 AM by Bill Robinson

    Upgrade Bladelgoic from 8.1 to 8.2

    Siddu angadi

      Hi,

       

      I am upgrading Bladelogic from 8.1 to 8.2.   As per my understanding, when I trigger BBSA82-LIN64.sh and it should detect previous installation and ask for upgrade.

       

      However when I trigger , I am asking to remove RSCD agent, below is the message:

       

      Bladelogic rpm installations have been detected.

      The following rpm(s) need to be removed via rpm -e

      before using the shell installer for installation:

      BladeLogic_RSCD_Agent-8.1.04-409

       

      What I am missing here?

       

      Thanks

      Siddu

        • 1. Re: Upgrade Bladelgoic from 8.1 to 8.2
          Jim Wilson

          You can't upgrade from an rpm install to a shell install

          • 2. Re: Upgrade Bladelgoic from 8.1 to 8.2
            Siddu angadi

            Do we have rpm installer for BSA 8.2 App Server installation?

             

            Thanks

            Siddu

            • 3. Re: Upgrade Bladelgoic from 8.1 to 8.2
              Jim Wilson

              No.   Nor was there one for 8.1.

               

              Only NSH and RSCD have rpm installers

               

              You could try uninstall RSCD 8.1 rpm, then install RSCD 8.1 sh and then run the BBSA82-LIN64.sh to upgrade. 

              • 4. Re: Upgrade Bladelgoic from 8.1 to 8.2
                Siddu angadi

                I tired this method, strange thing is app server also getting uninstalled, when uninstall agent rpm.

                 

                Thanks

                Siddu

                • 5. Re: Upgrade Bladelgoic from 8.1 to 8.2
                  Jim Wilson

                  I don't understand how that can happen.

                  What do you get when you run:

                   

                  rpm -qa | grep BladeLogic

                  • 6. Re: Upgrade Bladelgoic from 8.1 to 8.2
                    Siddu angadi

                    The oiutput is as below:

                     

                    root@--------- ~ # rpm -qa | grep Blade

                    BladeLogic_RSCD_Agent-8.1.04-409

                    root@--------- ~ #

                    • 7. Re: Upgrade Bladelgoic from 8.1 to 8.2
                      Bill Robinson

                      so you have a bsa appserver, on which you managed to install the rscd via rpm as well ?

                       

                      is your appserver a 'local' install ? (what is in /usr/lib/rsc/HOME point ?, does the <appserver dir>/NSH/conf/HOME file exist ?)

                       

                      before you go removing stuff let's first figure out what state your system is in.

                      • 8. Re: Upgrade Bladelgoic from 8.1 to 8.2
                        Siddu angadi

                        Hi Bill,

                         

                        8.1 installed by some other consultant and do not have any document how it is installed.  He is no more with organization, I have just joined and planning to upgrade to 8.5

                         

                         

                        Below is the rsc files

                         

                        root@------# ls -lrt /usr/lib/rsc/

                        total 28

                        -rw-r--r-- 1 root root   21 Mar 16  2012 rootroot

                        -rw-r--r-- 1 root root 2222 Mar 16  2012 log4crc.txt

                        -rw-r--r-- 1 root root   13 Mar 16  2012 HOME

                        -rw-r--r-- 1 root root   10 Mar 16  2012 securecert

                        -rw-r----- 1 root root   70 Apr 27  2012 secure.b

                        -rw-r----- 1 root root   98 May  1  2012 secure.proxy

                        -rw-r--r-- 1 root root   70 May  1  2012 secure

                         

                         

                        ---------------------Application Server installed on  :             /opt/nsh/NSH

                         

                        root@-------- /opt/nsh/NSH # ls -lrt conf/

                        total 0

                        root@-------- /opt/nsh/NSH #

                         

                         

                        -------------------Bladelogic agent installation directory is : /opt/bmc/bladelogic/RSCD

                         

                        root@------ # ls -lrt /opt/bmc/bladelogic/RSCD/conf/

                        total 96

                        -rw-r--r-- 1 root root   21 Feb 22  2012 rootroot

                        -rw-r--r-- 1 root root 1041 Feb 22  2012 log4crc.internal.txt

                        -rw-r--r-- 1 root root   17 Feb 22  2012 securecert

                        -rw------- 1 root root 1750 Feb 22  2012 certificate.pem

                        -rw-r--r-- 1 root root  105 Apr  5  2012 license.dat

                        -rw-r--r-- 1 root root   25 Apr  5  2012 HOME

                        -rwxr-xr-x 1 root root  791 Apr  5  2012 rscd

                        -rw-r--r-- 1 root root 2213 Apr  5  2012 log4crc.txt

                        -rw------- 1 root root  366 Apr 16  2012 users.bkup

                        -rw-r----- 1 root root  136 Apr 25  2012 secure.bk

                        -rw------- 1 root root  669 Nov 23  2012 users

                        -rw-r--r-- 1 root root  136 Oct 16  2013 secure

                        -rw-r--r-- 1 root root  689 Feb 12 12:09 users.local

                        -rw-r--r-- 1 root root  410 May 20 22:40 exports

                        prw------- 1 root root    0 Jul 29 13:09 keystroke.pipe

                        prw------- 1 root root    0 Jul 31 11:58 rscd.pipe

                        • 9. Re: Upgrade Bladelgoic from 8.1 to 8.2
                          Bill Robinson

                          what is in /usr/lib/rsc/HOME ?  does it point to the rscd install or appserver install ?

                           

                          so probably the rscd got installed by rpm as a 'local' install, but not the appserver.  but the appserver install detects that the rscd is there so we need to handle it.

                          • 10. Re: Upgrade Bladelgoic from 8.1 to 8.2
                            Siddu angadi

                            Hi Bill,

                             

                            /usr/lib/rsc/HOME  point to appserver install i.e opt/nsh/NSH

                             

                            How to handle this one?

                             

                            Thanks

                            Siddu

                            • 11. Re: Upgrade Bladelgoic from 8.1 to 8.2
                              Bill Robinson

                              i would do this.

                               

                              rpm -e --justdb BladeLogic_RSCD_Agent

                              (remove the rscd from the rpm db, not the file system)

                               

                              touch /opt/nsh/NSH/bin/rscd

                              (will trick the installer to lay down the rscd files in the appserver dir on upgrade)

                               

                              copy the exports, users, users.local from ...RSCD/conf to /usr/lib/rsc

                               

                              now you can run the bbsa upgrade and have it 'upgrade' the agent along w/ the appserver.

                               

                              then you can rm -rf the /opt/bmc/bladelogic/RSCD dir after the rscd that's part of the appserver install is up and running.

                               

                              take backups of everything of course.