2 Replies Latest reply on Aug 21, 2012 10:30 AM by Bill Robinson

    BladeLogic - questions on file server (what is the recommended way to change file server location? And is it different on the version?)

    Ben Kim

      One of our L1 partner reported that customer with BSA 8.0 SP6 (Oracle DB), they were only able to change file server location by running file_server_change_oracle script. However for customer with BSA 8.1 SP4 (MS SQL DB), they just ran blasadmin command to update the file server name & location and it seemed to work.

       

      Thus I would like to confirm what the best method to change/update file server location is?

       

      Q1) In case of a single file server, what is the recommended way to change the file server location? Is it file_server_change script or blasadmin?

      Q2) Would it be different on the version of BSA or the type of Database running?

        Is using blasadmin to update the server name & location is sufficient to change the file server location for all versions of BSA 8.0 to 8.2 and all DB?

        According to Installation guide for 8.0, 8.1 and 8.2, it seems to me that 8.0 & 8.1 only suggests to run file_server_change script but 8.2 suggests to run blasadmin.

        Thus is it safe to say that recommended way to change file server for 8.0 & 8.1 is to run file_server_change script and blasadmn for 8.2 and later version.

       

      Thanks,
      Ben

        • 1. Re: BladeLogic - questions on file server (what is the recommended way to change file server location? And is it different on the version?)

          You need to run both

           

          blasadmin to set the fileserver to the new value (whatever you are changing to)

          the db script file_server_change needs to be run to update the tables in th DB

          and one more script called file-server-change-system proeprty if there are multiple references in the Db of the fileserver

           

          If you just chnage the FS in blasadmin, you may be able to start the appserver without fail but accessing any older objects in the db pointing to the old FS will end up in failures, which will leave your DB in an unstable inconsistent state.

          There are specififc steps to follow to do this,

          raise a ticket with BMC support and they will explain you all the steps in detail.

          They also provide a check script to see all FS references in the DB

           

          Thanks,

          Rohit

          1 of 1 people found this helpful
          • 2. Re: BladeLogic - questions on file server (what is the recommended way to change file server location? And is it different on the version?)
            Bill Robinson

            the procedure is different in 8.0 and 8.1 and the docs are not clear:

             

            in 8.0 you do this:

            -stop the appserver

            -run the file server change script to point to the new FS

            -run the check script, if there are other file servers listed, run the 'set system property' sql script to set the 'current' file server back to the old one

            -run the file server change

            -repeat the previous 2 scripts until there is only 1 file server listed

             

             

            in 8.1 you do this:

            - stop the appserver

            - run blasadmin and change the file server

            - run the change file server sql script

             

            the point of the sql script is to move any objects that reference an old path to point to a new one.