6 Replies Latest reply on Apr 8, 2019 10:57 AM by Adriano Gomes

    Replacing Control-m Agent 8.00.04 from a 32 bit to a 64 bit Agent 8.00.00.

    Nikshep Shetty
      Share This:

      We are planning on upgrading just our AFT module from 7 to 8.2. Currently our agent is on version 8.00.004 32 bit. As per BMC instructions, we need to have a 64 bit agent to install AFT 8.1 and then upgrade to 8.2. Running into some issues with installing the 64 bit agent. The file we have for installation is DRKAI.8.0.00_Linux-x86_64.z ( DRKAI.8.0.00_Linux-x86_64  -- file after gunzip ) . Below are some details. Also, not able to fix release notes for this installation. We see release notes only for fix pack 1. Any help will be appreciated. Thanks in advance.

       

      [ctmaprod@hhsc4avuapp01 agent]$ ls -ltr

      total 288028

      drwxrwxr-x 2 ctmaprod controlm      4096 Nov  5  2015 agent

      drwxrwxr-x 5 ctmaprod controlm      4096 Nov  5  2015 FORMS

      -rwxrwxr-x 1 ctmaprod controlm     11005 Nov  5  2015 setup.sh

      drwxrwxr-x 3 ctmaprod controlm      4096 Nov  5  2015 Setup_files

      -rwxrwxr-x 1 ctmaprod controlm 132985381 Nov  5  2015 agent_fp4_PAKAI.8.0.00.400_Linux-x86_64_INSTALL.BIN

      -rwxrwxr-x 1 ctmaprod controlm 161925120 Apr  2 14:24 DRKAI.8.0.00_Linux-x86_64

       

       

       

       

      [ctmaprod@hhsc4avuapp01 agent]$ ./setup.sh

      PuTTY X11 proxy: Unsupported authorisation protocol

      Starting graphical user interface...

      PuTTY X11 proxy: Unsupported authorisation protocol

       

      GUI mode is not supported for this terminal.

      Install will continue in non graphical mode.

      Are you sure you want to continue?

      == <N> No <Y> Yes ==

       

      Enter command:

      Y

       

      Control-M/Agent version 8.0.00 already installed on this account

        • 1. Re: Replacing Control-m Agent 8.00.04 from a 32 bit to a 64 bit Agent 8.00.00.
          Adriano Gomes

          Hi Nikshep Shetty

           

          Indeed the Agent is installed, but the 32 Bit Version.

          I  never seen native updating 32 bit to 64 Bit platforms or even applying fixe packs.

          You will probably have to backup your current 32 bit installation and perform a fresh new 64 bit installation. After that you might be able to merge the configuration files so you can have a true 64 bit version up and running.

           

          Take a look at this BMC article. https://communities.bmc.com/docs/DOC-114896

           

           

          7.0.00 or 8.0.009.0.18 and higher     
          1. On the Control-M V9.0.18 environment, install a new Control-M/Agent V9.0.18.  One of the requirements for AFT 8.2 is having a 64-bit Control-M/Agent. Since Control-M/Agent V7 is 32-bit, below is general plan to get to MFT V9.0.18.
          2. Install AFT V8.0.00 + Fix Pack 1 on the new Control-M/Agent V9.0.18
          3. Copy and Move AFT V7 data directory (ctm/cm/aft/data) from the old Control-M/Agent (V7) to the new Control-M/Agent V9.0.18 in the AFT V8 directory (ctm/cm/aft/data).
          4. At this point AFT V8 Fix Pack 1 on the new Control-M/Agent can be upgraded to AFT V8.2, this will also convert the AFT accounts file (accounts.dat) to the new format (accounts.xml).
          5. Once AFT is at V8.2, use the MFT Deployment in Control-M Configuration Manager V9.0.18 to upgrade AFT V8.2 to MFT V9.0.18 on the new Control-M/Agent V9.0.18)
          6. Use MFT deployment to upgrade v9.0.18 to v9.0.19 and highe

           

          My Best

           

          A>Gomes

          • 2. Re: Replacing Control-m Agent 8.00.04 from a 32 bit to a 64 bit Agent 8.00.00.
            Nikshep Shetty

            Thanks Adriano.

             

            We are having issues uninstalling the current 32 bit version.
            BMC Recommended to use Java 32 bit instead of 64 bit. Are servers have 64 bit
            version. We downloaded 32 bit and pointed the JAVA HOME to that. Still getting
            the error. Any suggestions/recommendations on how to get around this. Basically
            trying to install a 64 bit version of the agent. Below is the error

             

            [
            Starting uninstall ]

            Java
            HotSpot(TM) 64-Bit Server VM warning: You have loaded library
            /apps/ctlm/ctmaprod/BMCINSTALL/uninstall/DRKAI.8.0.00/BMC20190404_141739238/libUnixHelper-Linux-i386.so
            which might have disabled stack guard. The VM will try to fix the stack guard
            now.

            It's
            highly recommended that you fix the library with 'execstack -c
            <libfile>', or link it with '-z noexecstack'.

            1. com.izforge.izpack.util.library.LibraryLoadException:
              error loading library
              /apps/ctlm/ctmaprod/BMCINSTALL/uninstall/DRKAI.8.0.00/BMC20190404_141739238/libUnixHelper-Linux-i386.so
            2. java.lang.UnsatisfiedLinkError:
              /apps/ctlm/ctmaprod/BMCINSTALL/uninstall/DRKAI.8.0.00/BMC20190404_141739238/libUnixHelper-Linux-i386.so:
              /apps/ctlm/ctmaprod/BMCINSTALL/uninstall/DRKAI.8.0.00/BMC20190404_141739238/libUnixHelper-Linux-i386.so:
              wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)

            For
            more information, please see the log file: /apps/ctlm/ctmaprod/BMCINSTALL/log/BMC_Control-M_AGENT_Uninstall_2019.04.04.14.17.39.log

            • 3. Re: Replacing Control-m Agent 8.00.04 from a 32 bit to a 64 bit Agent 8.00.00.
              Adriano Gomes

              Hi Nikshep Shetty

               

               

              Why uninstall?

              I would first stop the Agent services

              perform a backup of the entire ctmagent user folder : tar cpvf ctmagent | compress > /tmp/ctmagent.v800-32bit.tar. Z

              clean up the ctmagent home user directory recursively: rm -Rf * & rm -Rf .* (make sure you are in the right place)

              exit the session and login again to refresh environment

              mount the installation media for agent 64 Bit

              invoke setup.sh

               

              Hope that you make it

               

              A>Gomes

              1 of 1 people found this helpful
              • 4. Re: Replacing Control-m Agent 8.00.04 from a 32 bit to a 64 bit Agent 8.00.00.
                Nikshep Shetty

                Adriano,

                 

                We ended up uninstalling fix pack 4 on the agent first. This was causing the java compatibility issue. After uninstalling the fix pack we uninstalled the base 32 bit version. Preparing for a new 64 bit installation now. Thanks for all your help. Might have some more questions as we go.

                2 of 2 people found this helpful
                • 5. Re: Replacing Control-m Agent 8.00.04 from a 32 bit to a 64 bit Agent 8.00.00.
                  Nikshep Shetty

                  Adriano,

                   

                  Good Morning, We were able to do a new install of the 64 bit agent and a fix pack for the same. We are now preparing to install the AFT 8 version on that m/c. We have peoplesoft plugin as well PS8 which also needs to be restored back. Is there a way to do this or we now have to install PS8 again?

                   

                  Thanks in advance

                  • 6. Re: Replacing Control-m Agent 8.00.04 from a 32 bit to a 64 bit Agent 8.00.00.
                    Adriano Gomes

                    Hi

                     

                    I would decide based on the number account connection profiles and configuration.

                    You can just go ahead and perform a fresh new install and copy profiles and conf from:

                     

                    <agent Home>/ctm/data/PS8.dat

                    <agent Home>/ctm/cm/PS8/java/data/profiles.dat

                     

                    Rgds

                     

                    A>Gomes

                    1 of 1 people found this helpful