=============================================================================== Readme file for: IBM Platform Web Services Product/Component Release: 9.1.3 SAS Update name: IBM Platform Web Services Update #APAR: P101741 Publication date: 8 Jun 2016 Last modified: 8 Jun 2016 This update will fix the problem: Applying lsf configuration and HA configuration fail when PWS is started as a non-primary lsf admin. =============================================================================== ========================= CONTENTS ========================= 1. Abbreviations 2. About IBM Platform Web Services for SAS 3. Supported operating systems 4. Products or components affected 5. Installation and Configuration 6. Copyright ========================= 1. Abbreviations ========================= N/A ========================= 2. About Platform Web Services ========================= IBM Platform Web Services (Platform Web Services) is a web application launched by SAS on the SAS tc Server, which provides RESTful web services APIs to monitor and control LSF jobs, hosts, and queues, manage Platform Web Services'users and permissions, and audit user actions. ========================= 3. Supported operating systems ========================= RHEL 5/6/7 64-bit SLES 10/11 64-bit AIX 6/7 64-bit Solaris 10/11 Sparc 64-bit ========================= 4. Products or components affected ========================= platform/WEB-INF/classes/com/platform/gui/pac/security/sync/ResourceSynchronizeServiceImpl.class platform/WEB-INF/classes/com/platform/gui/pac/util/shell/ShellHelper.class platform/WEB-INF/classes/com/platform/pws/pwsResource.properties platform/WEB-INF/classes/com/platform/pws/util/lsfConfig/LSFConfigApplyUtil.class platform/WEB-INF/classes/com/platform/pws/util/lsfConfig/LSFConfigApplyUtil$DataFormatException.class platform/WEB-INF/classes/com/platform/pws/util/lsfConfig/LSFConfigApplyUtil$LSFConfigApplyException.class platform/WEB-INF/classes/com/platform/pws/util/NonShareHelper.class platform/WEB-INF/classes/com/platform/pws/util/NonShareHelper$FileException.class platform/WEB-INF/classes/com/platform/pws/util/PWSUtil.class platform/WEB-INF/classes/com/platform/pws/util/PWSUtil$ResultEntry.class platform/WEB-INF/classes/com/platform/pws/webservice/impl/LSFConfigWebServiceImpl.class platform/WEB-INF/classes/com/platform/pws/webservice/impl/HaConfigWebServiceImpl.class platform/WEB-INF/classes/com/platform/pws/service/impl/HAServiceImpl.class platform/WEB-INF/lib/linux-x86_64/liblsfservice.so platform/WEB-INF/lib/aix-64/liblsfservice.so platform/WEB-INF/lib/hpuxia64/liblsfservice.so platform/WEB-INF/lib/sparc-sol10-64/liblsfservice.so platform/WEB-INF/lib/x86-64-sol10/liblsfservice.so ========================= 5. Installation and Configuration ========================= Pre-Installation Steps: It is required that passwordless SSH be configured between the PWS host and the LSF master host for the user whom is starting the PWS tcServer instance. It must be configured to allow the PWS user to SSH to the LSF master host as the Primary LSF Administrator (ssh primary_admin@lsf_master) without a password prompt. For example this can be done by having the LSF Primary Admin add the public key of the user starting up PWS tcServer instance to their ~/.ssh/authorized_keys file. 1). Stop PWS 2). Go into the sas_webapps/platform.web.services.war directory of the TC Server (under “/Web/WebAppServer/SASServer14_/sas_webapps/platform.web.services.war”) 3). Backup and replace the following files WEB-INF/classes/com/platform/gui/pac/security/sync/ResourceSynchronizeServiceImpl.class WEB-INF/classes/com/platform/gui/pac/util/shell/ShellHelper.class WEB-INF/classes/com/platform/pws/pwsResource.properties WEB-INF/classes/com/platform/pws/util/lsfConfig/LSFConfigApplyUtil.class WEB-INF/classes/com/platform/pws/util/lsfConfig/LSFConfigApplyUtil$DataFormatException.class WEB-INF/classes/com/platform/pws/util/NonShareHelper.class WEB-INF/classes/com/platform/pws/util/NonShareHelper$FileException.class WEB-INF/classes/com/platform/pws/util/PWSUtil.class WEB-INF/classes/com/platform/pws/util/PWSUtil$ResultEntry.class WEB-INF/classes/com/platform/pws/webservice/impl/LSFConfigWebServiceImpl.class WEB-INF/classes/com/platform/pws/webservice/impl/HaConfigWebServiceImpl.class WEB-INF/classes/com/platform/pws/service/impl/HAServiceImpl.class WEB-INF/lib/linux-x86_64/liblsfservice.so WEB-INF/lib/aix-64/liblsfservice.so WEB-INF/lib/hpuxia64/liblsfservice.so WEB-INF/lib/sparc-sol10-64/liblsfservice.so WEB-INF/lib/x86-64-sol10/liblsfservice.so And copy the new file WEB-INF/classes/com/platform/pws/util/lsfConfig/LSFConfigApplyUtil$LSFConfigApplyException.class from the patch to WEB-INF/classes/com/platform/pws/util/lsfConfig/LSFConfigApplyUtil$LSFConfigApplyException.class. 4). Start PWS ========================= 6. Copyright ========================= ©Copyright IBM Corporation 2016 U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. IBM®, the IBM logo and ibm.com®, are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.