CA SDM Conventional Configuration

This article describes the following post-installation task for CA SDM Conventional Configuration:
casm1401
CA Service Management 14.1.04 provides an option in the installer to automate the post-install tasks for conventional configuration. This article is meant for users who have selected
No
for automating the post-install steps
while running the installer wizard. Perform manually the appropriate post-install task as per your deployment requirement.
This article describes the following post-installation task for CA SDM Conventional Configuration:
If http://hostname:port/initialContext URL gives 500 as response code when the xFlow Analyst Interface is configured with a load balancer, do not route users to the xFlow Analyst Interface server. 
When you apply the patch on the secondary server, ensure that the primary server is running.
Post-Install Steps after Installing CA Service Management 14.1.04 on CA SDM 14.1
Perform the following steps if you have installed CA SDM 14.1.04 on CA SDM 14.1
:
  1. To reconfigure CA SDM on primary server, run the following command:
    pdm_configure
    Do not select Load Default Data.
  2. Navigate to the 
    NX_ROOT\data
    folder.
  3. To load the updated data, open the command prompt and run the following commands as an administrator:
    pdm_load -f santafe_insert.dat
    pdm_load -f santafe_update.dat
    pdm_load -f tucson_insert.dat
    pdm_load -r -f tucson_delete.dat
    pdm_load -f hampi_insert.dat
    pdm_load -f hampi_update.dat
    pdm_load -f 14_1_04_insert.dat
  4. Alert users to clear the browser cache. Run the following command:
    pdm_webcache -H
    pdm_webcache -b
  5. Repeat
    Step 1
    and
    Step 4
    on the secondary server.
  6. Complete the Mandatory Steps on all servers in your environment. 
  7. Now, enable the Heat Weather daemons. For more information, see Enable the Heat Weather Daemons.
Mandatory Steps
These mandatory steps are required if you are installing CA Service Management 14.1.04 on CA SDM 14.1. Perform the following steps on all servers in your environment:
  1. Create a backup of 
    web.xml
     from 
    NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF
     in your local directory to perform a backout if required.
  2. Open the 
    web.xml
     file from 
    NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF.
  3. Search for the following statement:
    <!-- Add filter here -->
  4. Copy and paste the following configuration under the 
    <!-- Add filter here -->
     statement:
    <!-- Cross-origin support for Attachments Servlet -->
    <filter>
    <filter-name>CORS</filter-name>
    <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
    <init-param>
    <param-name>cors.supportedMethods</param-name>
    <param-value>POST, GET, OPTIONS</param-value>
    </init-param>
    <init-param>
    <param-name>cors.allowOrigin</param-name>
    <param-value>*</param-value>
    </init-param>
    </filter>
  5. Search for the following statement:
    <!-- Add filter-mapping here -->
  6. Copy and paste the following configuration under the 
    <!-- Add filter-mapping here -->
     statement:
    <!-- Cross-origin support for Attachments Servlet -->
    <filter-mapping>
    <filter-name>CORS</filter-name>
    <servlet-name>UploadServlet</servlet-name>
    </filter-mapping>
  7. Verify that the configurations under the filter and filter-mapping statements are as shown in the following sample:
    <!-- Add filter here -->
    <!-- Cross-origin support for Attachments Servlet -->
    <filter>
    <filter-name>CORS</filter-name>
    <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>
    <init-param>
    <param-name>cors.supportedMethods</param-name>
    <param-value>POST, GET, OPTIONS</param-value>
    </init-param>
    <init-param>
    <param-name>cors.allowOrigin</param-name>
    <param-value>*</param-value>
    </init-param>
    </filter>
    <!-- Add filter-mapping here -->
    <!-- Cross-origin support for Attachments Servlet -->
    <filter-mapping>
    <filter-name>CORS</filter-name>
    <servlet-name>UploadServlet</servlet-name>
    </filter-mapping>
  8. Save and close the 
    web.xml
     file.
  9. For CORS setting preservation in a primary and secondary environment, the secondary server must also have the CORS entries in the following file:
    <NX_ROOT>\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF\web.xml.last
  10. Repeat the 
    Steps
     
    1-8
     to update 
    web.xml.tpl
     file in the 
    NX_ROOT\samples\pdmconf\web.xml.tpl
     folder to avoid losing these changes when pdm_configure is run.
  11. Run the 
    pdm_configure
     command.
  12. Start CA SDM services.
Post-Install Steps after Installing CA Service Management 14.1.04 on CA SDM 14.1.01
Perform the following steps if you have installed CA SDM 14.1.04 on CA SDM 14.1.01
:
  1. To reconfigure CA SDM on primary server, run the following command:
    pdm_configure
    Do not select
    Load Default Data
    .
  2. Navigate to the
    NX_ROOT
    \data folder.
  3. To load the updated data, open the Command Prompt window and execute the following as an administrator:
    pdm_load -f tucson_insert.dat
    pdm_load -r -f tucson_delete.dat
    pdm_load -f hampi_insert.dat
    pdm_load -f hampi_update.dat
    pdm_load -f 14_1_04_insert.dat
  4. To alert users to clear the browser cache, run the following commands:
    pdm_webcache -H
    pdm_webcache -b
  5. Repeat
    Step 1
    and
    Step 4
     on the secondary server.
  6. Now, enable the Heat Weather daemons. For more information, see Enable the Heat Weather Daemons.
Post-Install Steps after Installing CA Service Management 14.1.04 on CA SDM 14.1.02
Perform the following steps if you have installed CA SDM 14.1.04 on CA SDM 14.1.02
:
  1. To reconfigure CA SDM on primary server, run the following command:
    pdm_configure
    Do not select
    Load Default Data
    .
  2. Navigate to the
    NX_ROOT
    \data folder.
  3. To load the updated data, open the Command Prompt window and run the following commands:
    pdm_load -f hampi_insert.dat
    pdm_load -r -f hampi_update.dat
    pdm_load -f 14_1_04_insert.dat
  4. To alert users to clear the browser cache, run the following commands:
    pdm_webcache -H
    pdm_webcache -b
  5. Repeat
    step 1
    and
    step 4
    on the secondary server.
  6. Now, enable the Heat Weather daemons. For more information, see Enable the Heat Weather Daemons.
Post-Install Steps after Installing CA Service Management 14.1.04 on CA SDM 14.1.03
Perform the following steps if you have installed CA SDM 14.1.04 on CA SDM 14.1.03
:
  1. To reconfigure CA SDM on primary server, run the following command:
    pdm_configure
    Do not select
    Load Default Data
    .
  2. Navigate to the 
    NX_ROOT
    \data folder.
  3. To load the updated data, open the Command Prompt window and run the following commands:
    pdm_load -f 14_1_04_insert.dat
  4. To alert users to clear the browser cache, run the following commands:
    pdm_webcache -H
    pdm_webcache -b
  5. Repeat 
    step 1
     and 
    step 4
     on the secondary server.
  6. Now, enable the Heat Weather daemons. For more information, see Enable the Heat Weather Daemons.
Enable the Heat Weather Daemons
After completing the appropriate post-installation task for your environment, ensure that you enable the heat weather daemons in your implementation. Perform the following steps:
Execute these steps manually if you have selected
No
to automate the post-install tasks while running the installer.
  1. Execute the following commands: 
    pdm_options_mgr -c -s HEAT_WEATHER -v HeatWeather -a pdm_option.inst 
    pdm_options_mgr -c -s HEAT_WEATHER -v HeatWeather -a pdm_option.inst -t
    The first command updates the NX.env and the second one updates the NX.env template file to retain the variable after configuration.
  2. Open the NX.env from $NX_ROOT directory and validate that the heat-related value is present:
    @NX_HEAT_WEATHER=HeatWeather
  3. Restart the CA SDM Service.
  4. Restart the xFlow Analyst Interface Service.
Post Install Step after Installing CA Service Desk Manager 14.1.04 in Japanese
Navigate to the following location: 
NX_ROOT\patches\cum4
and execute the
.dat
file after installing CA SDM 14.1.04 in Japanese:
pdm_load -f data_USRD_3633.dat