IBM Integration PoT Labs Home page

Setup environment for MQ PoT

Return to MQ lab page

Download artifacts for MQ on CP4I PoT

You should be logged on your VDI as ibmuser.

  1. Open a Firefox browser tab and navigate to Github MQonCP4i.

  2. Click Code and select Download zip.

  3. Open a terminal window by clicking on the Application on top menu and under Favorites click the icon for Terminal.

  4. Enter the following command to see the zip file you just downloaded.

     cd Downloads
    
  5. Enter the following command to unzip the downloaded file:

     unzip mqoncp4i-2025-main.zip
    

  6. Move the unzipped directory to your home directory with the following command:

     cd mqoncp4i-2025-main
    
     mv MQonCP4I/ ~/
    

    This will create the directory /home/ibmuser/MQonCP4I. Change to your home directory and list the contents of the directory to verify that it contains MQonCP4I.

     cd ~/MQonCP4I
     ls -l 
    
  7. Now first we will need to update the setup.properties_template file with cluster info so that the scripts will be able to login to the correct clusters. Enter the following command to edit file.

     gedit setup.properties_template
    

    1. Update OCP Cluster 1 with the primary cluster URL.

      If you are going to do the MQ NativeHA CRR labs you will have a second cluster so update the OCP Cluster 2 with that cluster URL.

    2. Update the OCP CLUSTER USER and PASSWORD with the ones provide to you. This will be the same for both clusters.

    3. Select Save

  8. Now we will need to change the mode to executable for all the scripts. From the MQonCP4I directory run the following command.

     find . -type f -iname "*.sh" -exec chmod +x {} \;
    
  9. Now we will run the script that will create all the install scripts for your userid. ./MQ_setup.sh

    1. When you run the MQ_setup.sh You will use your student id that was given to you from the instructor.
     **Note:** In this example we are user student1 so would use that as the namespace and 01 as the student id.  1. If will ask if this is correct.  enter **Y**
    

Great! You are now ready to start working in the MQ and Kafka labs.

Return to MQ lab page