Thursday, April 10, 2014

InsightIQ code upgrade from 2.1 to 3.0

If datastore maintained locally on InsightIQ VM:

Upgrade from 2.1 to 3.0 version is not applicable.  First 2.1 data store has to migrate to 2.5 which takes around 2 weeks for upgrade and then from 2.5 to 3.0

Take backup from 2.1 and deploy new 3.0 VM


1) Stop insightIQ service on VM
     iiq_stop

2) Take backup
3) Create Isilon datastore and export to InsightIQ VM
4) copy local datastore copy to mountpoint
5) shutdown VM
6) Remove from Vcenter inventory
7) Deploy new 3.0 VM from Virtual appliance OVA format
8)  Create VM Using old network settings and power on the machine
9) Add Isilon cluster from GUI



    1.  Open an SSH connection(CLI session) to the Isilon cluster you want to create an export.
                     2.  Execute the following command to make a directory for your datastore:
                                # mkdir /ifs/insightiq

                     3.  I have used /ifs/insightiq as an example to perform this operation. Feel free to choose your own path and directory name.
                     4.  Make an export by executing the following command on the Isilon cluster :
                                # isi nfs exports create --paths=/ifs/testiiq --root-clients=<IP address of IIQ 2.5.x> --root-clients=<IP address of IIQ 3.0>

                     5.  Now, open an SSH connection to the old IIQ (v2.5.x) using administrator account.
                     6.  Execute the below command to become root on IIQ:
                                # sudo su -

                     7.  Please stop the InsightIQ service:
                                # sudo stop insightiq

                     8.  Please create a folder in InsightIQ which will act as a mount point for the export
                                # cd /
                                # mkdir data_mount

                     9.  Mount the export from the cluster to IIQ
                                # mount -t nfs <IP address / Smartconnect name of cluster>:/ifs/testiiq /data_mount
                     
                   10.  You can verify the mount by executing the following command:
                                # mount -v
     
                    11.  Please navigate to the local datastore on InsightIQ and then perform copy all the contents of the datastore to mount point using below command:
                                # cd /datastore
                                # tar cf - . | tar -C /data_mount -x
                 
                     12.  After the copy completes, please repeat steps 5 - 10 on the new IIQ (v3.0) VM.
                     13.  Once you have mounted the export please navigate to the mount point and copy all the data to local datastore.
                                # cd /data_mount
                                # tar cf - . | tar -C /datastore -x

                     14.  After the copy completes please upgrade the datastore using command: 
                                # upgrade_iiq_datastore


Commands to start and stop InsightIQ services
sudo stop insightiq
sudo start insightiq



No comments:

Post a Comment