Ho sebelisa AppDynamics ka Red Hat OpenShift v3

Ho sebelisa AppDynamics ka Red Hat OpenShift v3
Ka mekhatlo e mengata e sa tsoa batla ho tlosa likopo tsa bona ho tloha monoliths ho ea ho microservices ho sebelisa Platform e le Tšebeletso (PaaS) e kang RedHat OpenShift v3, AppDynamics e entse matsete a bohlokoa ho fana ka kopano ea boemo bo holimo le bafani ba joalo.

Ho sebelisa AppDynamics ka Red Hat OpenShift v3

AppDynamics e kopanya mahlahana a eona le RedHat OpenShift v3 e sebelisa mekhoa ea Source-to-Image (S2I). S2I ke sesebelisoa sa ho aha litšoantšo tsa Docker tse ka hlahisoang hape. E etsa litšoantšo tse seng li loketse ho sebetsa ka ho kenya mohloli oa kopo setšoantšong sa Docker le ho haha ​​​​setšoantšo se secha sa Docker. Setšoantšo se secha, se kenyelletsang setšoantšo sa motheo (sehahi) le mohloli o hahiloeng, se loketse ho sebelisoa ka taelo ea docker run. S2I e ts'ehetsa meaho e ntseng e eketseha e sebelisang litšepeho tse jarollotsoeng pele, lintho tsa khale tse entsoeng, jj.

thulaganyou e

Ts'ebetso e felletseng ea ho sebelisa AppDynamics ka RedHat OpenShift

Hata 1: RedHat e se e fanoe

Ho phethela mehato ea 2 le ea 3, o ka sebelisa lingoloa tsa S2I sebakeng se latelang sa GitHub le litaelo tsa ho etsa litšoantšo tse ntlafalitsoeng tsa lihahi bakeng sa li-server tsa JBoss Wildfly le EAP. latela sehokela
Ha re shebeng ntho e 'ngoe le e' ngoe re sebelisa mohlala o itseng 'me re sebelise template ea kopo latela sehokela.

Lintho tse hlokahalang:

  • Etsa bonnete ba hore OS e kentsoe (link)
  • Etsa bonnete ba hore sti e kentsoe (link)
  • Etsa bonnete ba hore u na le ak'haonte ea dockerhub (link)

Mohato oa 2: Theha Setšoantšo sa Sehahi sa AppDynamics

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

Mohato oa 3: Etsa setšoantšo sa ts'ebeliso

 $ 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 

Hata 4: Kenya kopo ho 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

Ho sebelisa AppDynamics ka Red Hat OpenShift v3

Joale o ka kena ka har'a molaoli mme o shebelle ts'ebeliso ea ticketmonster bareng la kopo:

Ho sebelisa AppDynamics ka Red Hat OpenShift v3

Source: www.habr.com

Eketsa ka tlhaloso