Partilhar via


Updating SOA service for HPC Pack 2012

If you are running service oriented architecture (SOA) services on an HPC Pack 2008 R2 cluster, the 2012 release of HPC Pack requires the SOA services to be compiled with .NET Framework 4 or a later version. If you have any SOA services compiled with a version of .NET Framework earlier than 4, it may not be able to run on HPC Pack 2012.

 

There are two ways to solve the issue:

  1. Recompile the service binary using .NET Framework 4 or a later version.
  2. Change the configuration file of HPCServiceHost to make it support a previous version of .NET Framework. Here are the detailed steps:
    1. a. Find the HPCServiceHost.exe file (for 64-bit services) and HPCServiceHost32.exe file (for 32-bit services) on each compute node. Both reside under %CCP_HOME%\bin on each compute node. 
    2. b. Create a file, and name it “HPCServiceHost.exe.config” or “HPCServiceHost32.exe.config”. You only need to create one file, depending on whether your compute node is 64-bit or 32-bit.
    3. c. In the new created config file, add the following xml:

 <?xml version="1.0" encoding="utf-8" ?>

<configuration>

  <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>

  </startup>

</configuration>

 

With the change, the legacy SOA services should run on HPC Pack 2012. If you have any questions, head over to the Windows HPC Discussion forums and let us know.