On Linux computers, you can upgrade the Presentation Server only as a non-root user. Though the non-root user may already have ownership permissions for the destination directory, you must provide ownership permissions for the executables to the non-root user.
Provide ownership permissions to non-root users for all installation files by running the following command:
chown -R nonrootuser installationDirectoryFolderName
nonrootuser is the name of the non-root user.
installationDirectoryFolderName is the name of the folder that contains the installation files.
For example, chown -R nonrootuser /Linux/Disk1
Apply executable rights to the installation files by running the following command:
chmod -R 755 installationDirectoryFolderName
For example,
chmod -R 755 Disk1
(Windows) Navigate to Windows\Disk1 and double-click setup.exe.
(Linux) As a non-root user, navigate to Linux/Disk1 and run ./install.sh.
Note
Ensure that you have set the DISPLAY environment variable.
On the Upgrade Confirmation page, select Yes, and click Next.
The installer automatically verifies the upgrade requirements. If it finds any errors, it displays them in the next screen. You can quit the upgrade process at this point, correct the indicated discrepancies, and then rerun the upgrade.
Important
After you confirm, the Presentation Server is stopped temporarily and is started automatically after applying the feature pack or fix pack.
(Optional) If you have configured a proxy or DNS alias to access the Presentation Server, perform the following steps:
In a text editor, edit the <Presentation Server installation directory>\truesightpserver\modules\tomcat\conf\web.xml file.
Comment out the CSRF (Cross site request forgery) Header Referer Check Filter
section so that it reads as follows:
<!-- Start : CSRF (Cross site request forgery) Header Referer Check Filter --> <!-- <filter> <filter-name>CSRFHeaderRefererCheckFilter</filter-name> <filter-class>com.bmc.truesight.secure.csrf.CSRFHeaderRefererCheckFilter</filter-class> </filter> <filter-mapping> <filter-name>CSRFHeaderRefererCheckFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> --> <!-- End : CSRF(Cross site request forgery) Header Referer Check Filter -->
Run the following commands from the InstalledDirectory\bin folder to restart the Presentation Server:tssh server stop
tssh server start
Note
On Linux, run the commands as the non-root user that initially installed the Presentation Server.
On the secondary Presentation Server, run the following command from the InstalledDirectory\bin folder. tssh server stop
Note
On Linux, run the command as the non-root user that initially installed the Presentation Server.
In a text editor, edit the <Presentation Server installation directory>\truesightpserver\modules\tomcat\conf\web.xml file.
Comment out the CSRF (Cross site request forgery) Header Referer Check Filter
section so that it reads as follows:
<!-- Start : CSRF (Cross site request forgery) Header Referer Check Filter --> <!-- <filter> <filter-name>CSRFHeaderRefererCheckFilter</filter-name> <filter-class>com.bmc.truesight.secure.csrf.CSRFHeaderRefererCheckFilter</filter-class> </filter> <filter-mapping> <filter-name>CSRFHeaderRefererCheckFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> --> <!-- End : CSRF(Cross site request forgery) Header Referer Check Filter -->
Run the following commands from the InstalledDirectory\bin folder to restart the Presentation Server:tssh server stop
tssh server start
Note
On Linux, run the commands as the non-root user that initially installed the Presentation Server.
tssh server start
On the secondary Presentation Server, perform the following steps:
Perform steps 1–7 of To apply feature packs or fix packs on the Presentation Server.
If you have not configured a load balancer for high availability, proceed to step c.
If you have configured a load balancer for high availability, perform the following step:
Comment out the CSRF (Cross site request forgery) Header Referer Check Filter
section so that it reads as follows.
<!-- Start : CSRF (Cross site request forgery) Header Referer Check Filter --> <!-- <filter> <filter-name>CSRFHeaderRefererCheckFilter</filter-name> <filter-class>com.bmc.truesight.secure.csrf.CSRFHeaderRefererCheckFilter</filter-class> </filter> <filter-mapping> <filter-name>CSRFHeaderRefererCheckFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> --> <!-- End : CSRF(Cross site request forgery) Header Referer Check Filter -->
tssh server stop
Restart the secondary Presentation Server:
tssh server start
Note
On Linux, run the commands as the non-root user that initially installed the Presentation Server.
To verify the Presentation Server operation, see Verifying the Presentation Server operation after applying feature packs or fix packs
For an overview of applying feature packs or fix packs on the Presentation Server, see Applying feature packs or fix packs on the Presentation Server.
2 Comments
Leo Osborn
Sanjay Prahlad