Te whakamahi i te AppDynamics me te Red Hat OpenShift v3

Te whakamahi i te AppDynamics me te Red Hat OpenShift v3
Na te maha o nga whakahaere e titiro tata nei ki te neke i a raatau tono mai i nga monoliths ki nga ratonga miihini ma te whakamahi i te Platform hei Ratonga (PaaS) penei i te RedHat OpenShift v3, he nui nga moni whakangao a AppDynamics ki te whakarato i te whakaurunga tino pai ki aua kaiwhakarato.

Te whakamahi i te AppDynamics me te Red Hat OpenShift v3

Ka whakauru a AppDynamics i ona kaihoko me RedHat OpenShift v3 ma te whakamahi i nga tikanga Puna-ki-Whakaahua (S2I). He taputapu a S2I mo te hanga whakaahua Docker ka taea te whakaputa. Ka hangaia e ia nga whakaahua kua rite ki te whakahaere ma te whakauru i te puna tono ki te ahua Docker me te hanga i tetahi ahua Docker hou. Ko te ahua hou, kei roto he ahua turanga (kaihanga) me tetahi puna hanga, kua reri ki te whakamahi me te whakahau whakahaere docker. Kei te tautoko a S2I i nga hanga taapiri e whakamahi ana i nga whakawhirinakitanga i tangohia i mua, i nga taonga toi hanga o mua, me era atu.

tukanga

Whakaotia te tukanga mo te whakamahi AppDynamics me RedHat OpenShift

Hipanga 1: Kua whakaratohia a RedHat

Hei whakaoti i nga taahiraa 2 me te 3, ka taea e koe te whakamahi i nga tuhinga S2I i roto i te putunga GitHub e whai ake nei me nga tohutohu me pehea te hanga whakaahua hanga whakarei ake mo nga tūmau JBoss Wildfly me EAP. whai i te hono
Me titiro ki nga mea katoa ma te whakamahi i tetahi tauira motuhake me te whakamahi i tetahi tauira tono whai i te hono.

Nga whakaritenga o mua:

  • Me mohio kua whakauruhia te OS (hono)
  • Me mohio kua whakauruhia te sti (hono)
  • Me mohio kei a koe he putea dockerhub (hono)

Hipanga 2: Waihangahia he Whakaahua Kaihanga AppDynamics

 $ git clone https://github.com/Appdynamics/sti-wildfly.git
$ cd sti-wildfly
$ make build VERSION=eap6.4 

Hipanga 3: Waihangahia he whakaahua tono

 $ s2i build  -e “APPDYNAMICS_APPLICATION_NAME=os3-ticketmonster,APPDYNAMICS_TIER_NAME=os3-ticketmonster-tier,APPDYNAMICS_ACCOUNT_NAME=customer1_xxxxxxxxxxxxxxxxxxf,APPDYNAMICS_ACCOUNT_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxx,APPDYNAMICS_CONTROLLER_HOST=xxxx.saas.appdynamics.com,APPDYNAMICS_CONTROLLER_PORT=443,APPDYNAMICS_CONTROLLER_SSL_ENABLED=true” https://github.com/jim-minter/ose3-ticket-monster appdynamics/sti-wildfly-eap64-centos7:latest pranta/appd-eap-ticketmonster
$ docker tag openshift-ticket-monster pranta/openshift-ticket-monster:latest
$ docker push pranta/openshift-ticket-monster 

Hipanga 4: Tukuna te tono ki OpenShift

$ oc login 10.0.32.128:8443
$ oc new-project wildfly
$ oc project wildfly
$ oc new-app –docker-image=pranta/appd-eap-ticketmonster:latest –name=ticketmonster-demo

Te whakamahi i te AppDynamics me te Red Hat OpenShift v3

Inaianei ka taea e koe te takiuru ki te kaiwhakahaere me te tiro i te tono tiitimonster i te pae tono:

Te whakamahi i te AppDynamics me te Red Hat OpenShift v3

Source: will.com

Tāpiri i te kōrero