Jämförda versioner

Nyckel

  • Dessa rader lades till.
  • Denna rad togs bort.
  • Formateringen ändrades.

...

  1. ActiveMQ
  2. Installera Mule version 3.3.1. Rekommendationer, minnesinställningar, runtimeberoenden, loggning mm för SKLTP finns på följande instruktion
  3. SKLTP TAK, se installationsanvisning. Konfiguration enligt installationsanvisning förutsätts
  4. Certifikat installerat, se installationsmanual

Installation av VP senaste officiella versionen, VP 2.2.2

1. Ladda ner applikationen

VP 2.2.1 och senare laddas ner från Maven
Ladda ner vp-services-[version].zip (vp-services-2.2.12.zip) från nedanstående adress

Kodblock
wget http://central.maven.org/maven2/se/skltp/vp/vp-services/2.2.12/vp-services-2.2.12.zip

2. Konfigurera VP applikation

...

  1. Säkerställ att vp-config-override.properties och vp-security-override.properties finns under /usr/local/mule-standalone-3.3.1/conf/ för att kunna överlagra default parametrar
    1. Ladda ner en komplett konfigurationsfil som innehåller samtliga parametrar

      Kodblock
      wget http://skltp.googlecode.com/svn/tp/vp/tags/vp-parent-2.2.12/vp-services/src/main/resources/vp-config.properties
      mv vp-config.properties /usr/local/mule-standalone-3.3.1/conf/vp-config-override.properties
      Kodblock
      wget http://skltp.googlecode.com/svn/tp/vp/tags/vp-parent-2.2.12/vp-services/src/main/resources/vp-security.properties
      mv vp-security.properties /usr/local/mule-standalone-3.3.1/conf/vp-security-override.properties
    2. Uppdatera de parametrar som skiljer sig från default. Läs om parametrar att överlagra på SKLTP VP - Konfiguration.
  2. Säkerställ att fil med hsa information finns under /usr/local/mule-standalone-3.3.1/conf/
    1. Ladda ner HSA fil med endast SE nod som kompletterar den riktiga HSA filen.

      Kodblock
      wget http://skl-tp.atlassian.net/wiki/download/attachments/5308496/hsacachecomplementary.xml
      mv hsacachecomplementary.xml /usr/local/mule-standalone-3.3.1/conf/hsacachecomplementary.xml
    2. Uppdatera i parametern HSA_FILES vp-config-override.properties för att lägga till hsacachecomplementary.xml och läsa in SE noden

      Kodblock
      vi /usr/local/mule-standalone-3.3.1/conf/vp-config-override.properties
       
      HSA_FILES=/usr/local/mule-standalone-3.3.1/conf/hsacachecomplementary.xml


    3. Finns det behov av att hämta en fil från HSA med ett komplett organisationsträd, läs följande instruktion.
  3. Säkerställ att korrekta certifikatsfiler finns under /usr/local/mule-standalone-3.3.1/certs/ och att vp-security-override.properties pekar på certifikatsfilerna.
    1. Saknas /usr/local/mule-standalone-3.3.1/certs/, skapa den och lägg era certifikatsfiler i katalogen.

      Kodblock
      mkdir /usr/local/mule-standalone-3.3.1/certs/
       
      cp my-cert.p12 /usr/local/mule-standalone-3.3.1/certs/
      cp my-trustsore.jks /usr/local/mule-standalone-3.3.1/certs/


    2. Se SKLTP VP - Konfiguration, hur konfiguration i vp-security-override.properties skall göras för att peka ut certifikatsfiler.
    3. Vid behov , se Installationsmanual Certifikat för hur en truststore hanteras.

...