Planning Analytics Workspace 39
Linux Centos (similar to Red Hat)
How upgrade PAW to version 39?
Download the latest version of PAW from here
Backup will restart the services.
Login to the Linux server with PUTTY
Change to the docker user with command sudo su – dockeruser
go to the paw folder, in our example that is /ibm/paw
go to the scripts folder, and run the backup script
After the backup is done, the PAW should work as before.
The backup is stored in folders under /backup as shown above.
To be able to change owner of file you need to be root, change to root user with command:
Create the new folder for paw39 with command mkdir /ibm/paw39
Start WINSCP to copy the file to your linux server from windows.
Move to the folder where the ipa file is stored, and to the folder where you want it. Drag the file over in the WINSCP program.
Set the rights for the file in the WINSCP program, so the others have access to the file.
Go back into PUTTY.
Go to the folder and unzip the file with command:
unzip ipa_workspace_local_22.214.171.1245.1.zip -d /ibm/paw39
Go into the folder /ibm/paw39 and set the owner of all the files in the folder and sub-folders with this command
chown -R dockeruser:docker ./*
Copy config files from old installation
Copy the <paw_install_location>/config/paw.env file from your current installation to the new
cp /ibm/paw/config/paw.env /ibm/paw39/config/paw.env
Copy the certs folders files
cp /ibm/paw/config/certs/*.* /ibm/paw39/config/certs/
Copy the pa-workspace.pem file to the new folder
mv pa-workspace.pem pa-org-workspace.pem
cp /ibm/paw/config/pa-workspace.pem /ibm/paw39/config/pa-workspace.pem
Copy the privatekey.pem to the new folder
cp privatekey.pem /ibm/paw39/privatekey.pem
The files you copy depend on your installation.
Stop PAW services
Go to the scripts folder and enter command:
Check that all is stopped with command:
mv paw paw35
mv paw39 paw
Change to dockeruser with command
sudo su – dockeruser
Update the paw.env file with the ip address that should be used
nano -w paw.env
export ADMINTOOL_IP = 192.168.1.29
Update the Start.sh file with the path to the docker-compose folder if it is not accessible as default
nano -w Start.sh
Enter ctrl+o to save the file, press enter.
Enter ctrl+x to exit nano text editor.
Enter command below in PAW folder to start paw upgrade.
Press Y to upgrade
Press Y to start IBM Planning Analytics Workspace Administration Tool.
Scroll down and and accept the IBM License and Non-IBM License to continue.
Check that the TM1 Application Server Gateway URI and the other values is correct, and press Validate.
Click on Status tab and click on Restart button. Wait until all is started and test that it is working.
Stop the Administration Tool from PUTTY before you leave the Linux server.
To go into the linux container to run ping from inside the docker, enter this command:
docker exec -ti admintool bash
Install the new Agent
Surf to you new Planning Analytics Workspace and login. If you are administrator there is a new icon to administrate the TM1 instances. Click on the icon.
On the left lower corner you can see the version of PA Agent at your server. If you run TM1_version=TM1-AW64-ML-RTM-126.96.36.199-0 TM1_name=IBM Cognos TM1, you have agent 10.0.36.736.
Click on the download link to download the PA Agent that ships with PAW 39 to your computer.
Click on Download and save the file to a new folder on your computer.
Copy the file to a folder on the PAL server and unzip it. Open a CMD window as administrator, and go to the folder where you have the new PAA Agent files. Enter this command to install the new agent:
UpdatePAAAgent.bat “c:\program files\ibm\cognos\tm1_64\”
You need to add the path to your TM1 instances folders in the bootstrap.properties file, the TM1 samples work as they are already added at default.
To make mail notifications to work, you need to update this lines in above file;
SMTP_EMAIL_PORT=587 SMTP_EMAIL_AUTH=true SMTP_EMAIL_HOST=example.com SMTP_EMAIL_USERNAMEfirstname.lastname@example.org SMTP_EMAIL_PASSWORD=Analytics123 PAA_EMAIL_ADDRESSemail@example.com
Enter values for your SMTP server, also update the PAA_EMAIL_ADDRESS ( ) field.
Restart the “IBM Planning Analytics Administration Agent” to make the changes take affect.
How set a static ip address on Linux
How install docker on Linux
To Install required packages before docker, enter this:
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo
To download the latest version of docker download this:
sudo yum install docker-ce docker-ce-cli containerd.io
To start and make docker stay started after reboot enter this:
systemctl start docker
systemctl enable docker
To download docker-compose enter this exact command:
sudo curl -L “https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose
To change to execute, for this file:
sudo chmod +x /usr/local/bin/docker-compose
Check the version, with this command, to see that it works: