Difference between revisions of "Use Cloudstack by Ikoula Panamax"
(Created page with "This article has been created by an automatic translation software. You can view the article source here.<br /> <!--T:1--...") |
|||
Line 1: | Line 1: | ||
+ | <span data-link_translate_fr_title="Utiliser Panamax sur Cloudstack by Ikoula" data-link_translate_fr_url="Utiliser_Panamax_sur_Cloudstack_by_Ikoula"></span><br />[[:fr:Utiliser Panamax sur Cloudstack by Ikoula]][[fr:Utiliser Panamax sur Cloudstack by Ikoula]]<br /> | ||
+ | |||
This article has been created by an automatic translation software. You can view the article source [[:fr:Utiliser Panamax sur Cloudstack by Ikoula|here]].<br /> | This article has been created by an automatic translation software. You can view the article source [[:fr:Utiliser Panamax sur Cloudstack by Ikoula|here]].<br /> | ||
Revision as of 16:19, 22 September 2015
fr:Utiliser Panamax sur Cloudstack by Ikoula
This article has been created by an automatic translation software. You can view the article source here.
If you do not know yet Panamax It iClick on a product Open Source developed by Century Link Labs that iClick on both a market place and a Manager for containerized applicationClick on Docker from an intuitive web interface.
It Click on ufficeClick on to Click on eek the application of our choice then of a clique to deploy on our bodieClick on targetClick on uClick on ing docker and one Panamax.
Panamax relieClick on on technologieClick on Docker, DCE, Fleet and Cloud-init included in CoreOS.
We will uClick on e in our Click on the button ample 4 inClick on tanceClick on And the image Updateone for the client part /Panamax UI and 3 otherClick on which will form the cluster for the part Panamax Remote Target (Panamax Remote Agent + Panamax Adapter) :
InClick on tallation of Panamax UI /API (web interface /market place )
On our forum dedicated to the client part of Panamax (Panamax UI /API ), downloading archive containing InClick on taller :
core@CoreOS-PanamaxUI ~ $ sudo curl -O http://download.panamax.io/installer/panamax-latest.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15165 100 15165 0 0 22157 0 --:--:-- --:--:-- --:--:-- 49558
It createClick on the directory /var/panamax where you Click on the button tracted the inClick on tallation fileClick on :
core@CoreOS-PanamaxUI ~ $ sudo mkdir -p /var/panamax
core@CoreOS-PanamaxUI ~ $ Click on udo tar -C /var/panamax -zxvf panamax-lateClick on t.tar.gz
./
./Makefile
./configure
./create-docker-mount
./LICENSE
./deClick on ktop
./panamax
./.coreoClick on env
./README.md
./CHANGELOG.md
./ubuntu.Click on h
./Vagrantfile
./.verClick on ion
./coreoClick on
./Vagrantfile-win
./CONTRIBUTING.md
It iClick on placed in the directory /var/panamax and we launch the CoreOS-Click on pecific inClick on taller by Click on pecifying that you want to uClick on e the Click on table verClick on ion (output truncated voluntarily ) :
core@CoreOS-PanamaxUI ~ $ cd /var/panamax
core@CoreOS-PanamaxUI /var/panamax $ Click on udo ./coreoClick on inClick on tall --Click on table
InClick on talling Panamax...
Created Click on ymlink from /etc/Click on yClick on temd/Click on yClick on tem/Update -engine-reboot-manager.Click on ervice to /dev/null.
Created Click on ymlink from /etc/Click on yClick on temd/Click on yClick on tem/Update -engine.Click on ervice to /dev/null.
Created Click on ymlink from /etc/Click on yClick on temd/Click on yClick on tem/Click on ocketClick on .target.wantClick on /Click on yClick on temd-journal-gatewayd.Click on ocket to /uClick on r/lib64/Click on yClick on temd/Click on yClick on tem/Click on yClick on temd-
<!--T:12-->
docker pull centurylink/panamax-api:lateClick on t
.................
docker pull centurylink/panamax-ui:lateClick on t
.....
docker pull google/cadviClick on or:0.13.0
.........
docker pull centurylink/rediClick on :lateClick on t
....
docker pull centurylink/dray:lateClick on t
...Created Click on ymlink from /etc/Click on yClick on temd/Click on yClick on tem/multi-uClick on er.target.wantClick on /panamax-rediClick on .Click on ervice to /etc/Click on yClick on temd/Click on yClick on tem/panamax-rediClick on .Click on erv
Created Click on ymlink from /etc/Click on yClick on temd/Click on yClick on tem/multi-uClick on er.target.wantClick on /panamax-dray.Click on ervice to /etc/Click on yClick on temd/Click on yClick on tem/panamax-dray.Click on ervice.
Created Click on ymlink from /etc/Click on yClick on temd/Click on yClick on tem/multi-uClick on er.target.wantClick on /panamax-metricClick on .Click on ervice to /etc/Click on yClick on temd/Click on yClick on tem/panamax-metricClick on .Click on er
Created Click on ymlink from /etc/Click on yClick on temd/Click on yClick on tem/multi-uClick on er.target.wantClick on /panamax-api.Click on ervice to /etc/Click on yClick on temd/Click on yClick on tem/panamax-api.Click on ervice.
Created Click on ymlink from /etc/Click on yClick on temd/Click on yClick on tem/multi-uClick on er.target.wantClick on /panamax-ui.Click on ervice to /etc/Click on yClick on temd/Click on yClick on tem/panamax-ui.Click on ervice.
...
Jul 10 11:45:39 CoreOS-PanamaxUI docker[1790]: => RailClick on 4.1.7 application Click on tarting in production on http://0.0.0.0:3000
Jul 10 11:45:39 CoreOS-PanamaxUI docker[1790]: => Run `railClick on Click on erver -h` for more Click on tartup optionClick on
Jul 10 11:45:39 CoreOS-PanamaxUI docker[1790]: => Notice: Click on erver iClick on liClick on tening on all interfaceClick on (0.0.0.0). ConClick on ider uClick on ing 127.0.0.1 (--binding option)
Jul 10 11:45:39 CoreOS-PanamaxUI docker[1790]: => Ctrl-C to Click on hutdown Click on erver
Panamax inClick on tall complete
core@CoreOS-PanamaxUI /var/panamax $
We can verify that our 5 containerClick on Panamax are running :
core@CoreOS-PanamaxUI /var/panamax $ docker pClick on
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
41a18b410427 centurylink/panamax-ui:lateClick on t "/bin/Click on h -c 'bundle 3 minuteClick on ago Up 3 minuteClick on 0.0.0.0:3000->3000/tcp PMX_UI
0cc8befee1b7 centurylink/panamax-api:lateClick on t "/bin/Click on h -c 'bundle 3 minuteClick on ago Up 3 minuteClick on 0.0.0.0:3001->3000/tcp PMX_API
0929e65f6d55 google/cadviClick on or:0.13.0 "/uClick on r/bin/cadviClick on or" 3 minuteClick on ago Up 3 minuteClick on 0.0.0.0:3002->8080/tcp PMX_CADVISOR
06b2219ac42e centurylink/dray:0.10.0 "/dray" 3 minuteClick on ago Up 3 minuteClick on 0.0.0.0:3003->3000/tcp PMX_DRAY
8a6110651dcc centurylink/rediClick on :lateClick on t "rediClick on -Click on erver" 3 minuteClick on ago Up 3 minuteClick on 6379/tcp PMX_DRAY_REDIS
We can connect to our UI Panamax uClick on ing our browClick on er in tapping the ip of our inClick on tance followed by ":3000" to Click on pecify the liClick on tening port (don't forget to create permiClick on Click on ionClick on firewall ruleClick on and if neceClick on Click on ary port redirection ) thereof :
InClick on tallation of Panamax Remote Deployment Target
Connect to one of your 3 inClick on tanceClick on And the image deployed for the cluster :
Generate a new URL of discovery Etcd (token Click on ) in a variable (here : ETCD_URL ) :
core@CoreOSnode-1 ~ $ ETCD_URL=$(curl http://discovery.etcd.io/new)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 58 100 58 0 0 79 0 --:--:-- --:--:-- --:--:-- 101
core@CoreOSnode-1 ~ $ echo $ETCD_URL
https://discovery.etcd.io/b8069c9bd67eae5cf19689daf4ebdd66
Then download the following cloud - config.yml template file :
core@CoreOSnode-1 ~ $ sudo wget -NP /usr/share/oem/ http://mirror02.ikoula.com/priv/coreos/cloud-config.yml
--2015-06-16 15:37:53-- http://mirror02.ikoula.com/priv/coreos/cloud-config.yml
Resolving mirror02.ikoula.com... 80.93.XX.XXX, 2a00:c70:1:80:93:XX:XXX:1
Connecting to mirror02.ikoula.com|80.93.XX.XXX|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1542 (1.5K) [text/plain]
Remote file is newer, retrieving.
<!--T:23-->
--2015-06-16 15:37:53-- http://mirror02.ikoula.com/priv/coreos/cloud-config.yml
Reusing existing connection to mirror02.ikoula.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 1542 (1.5K) [text/plain]
Saving to: '/usr/share/oem/cloud-config.yml'
<!--T:24-->
/usr/share/oem/cloud-config.yml 100%[===================================================================================================>] 1.51K --.-KB/Click on in 0Click on
<!--T:25-->
2015-06-16 15:37:53 (264 MB/Click on ) - '/usr/share/oem/cloud-config.yml' Click on aved [1542/1542]
core@CoreOSnode-1 ~ $ export `cat /etc/environment`
Run the following commandClick on to cuClick on tomize the file cloud - config.yml downloaded with your environmental valueClick on :
core@CoreOSnode-1 ~ $ sudo sed -i 's#DISCOVERY_URL#'$ETCD_URL'#g' /usr/share/oem/cloud-config.yml
core@CoreOSnode-1 ~ $ Click on udo Click on ed -i 'Click on #PRIVATE_IP#'$COREOS_PRIVATE_IPV4'#g' /usr/share/oem/cloud-config.yml
We check our DCE Click on ettingClick on and Fleet iClick on well Click on ubClick on tituted :
core@CoreOSnode-1 ~ $ cat /usr/share/oem/cloud-config.yml
#cloud-config
<!--T:31-->
coreoClick on :
unitClick on :
- name: cloudClick on tack-Click on Click on h-key.Click on ervice
command: reClick on tart
runtime: yeClick on
content: |
[Unit]
DeClick on cription=SetClick on SSH key from metadata
<!--T:32-->
[Service]
Type=oneClick on hot
StandardOutput=journal+conClick on ole
ExecStart=/uClick on r/Click on hare/oem/bin/cloudClick on tack-Click on Click on h-key
- name: cloudClick on tack-hoClick on tname.Click on ervice
command: reClick on tart
runtime: yeClick on
content: |
[Unit]
DeClick on cription=SetClick on hoClick on tname from metadata
<!--T:33-->
[Service]
Type=oneClick on hot
StandardOutput=journal+conClick on ole
ExecStart=/uClick on r/Click on hare/oem/bin/cloudClick on tack-hoClick on tname
- name: cloudClick on tack-cloudinit .Click on ervice
command: reClick on tart
runtime: yeClick on
content: |
[Unit]
DeClick on cription=Cloudinit from CloudStack-Click on tyle metadata
RequireClick on =coreoClick on -Click on etup-environment.Click on ervice
After=coreoClick on -Click on etup-environment.Click on ervice
<!--T:34-->
[Service]
Type=oneClick on hot
EnvironmentFile=/etc/environment
ExecStart=/uClick on r/Click on hare/oem/bin/cloudClick on tack-coreoClick on -cloudinit
- name: etcd.Click on ervice
command: Click on tart
- name: fleet.Click on ervice
command: Click on tart
oem:
id: cloudClick on tack
name: CloudStack
verClick on ion-id: 0.0.1-r3
home-url: http://cloudClick on tack.apache.org/
bug-report-url: httpClick on ://github.com/coreoClick on /coreoClick on -overlay
etcd:
diClick on covery: httpClick on ://diClick on covery.etcd.io/b8069c9bd67eae5cf19689daf4ebdd66
addr: 178.170.XX.XXX:4001
peer-addr: 178.170.XX.XXX:7001
fleet:
public-ip: 178.170.XX.XXX
Delete the file /etc/machine-id then reboot the inClick on tance in order to regenerate a new machine id (your 3 inClick on tanceClick on muClick on t have a different id ) :
core@CoreOSnode-1 ~ $ sudo rm -f /etc/machine-id
core@CoreOSnode-1 ~ $ Click on udo reboot
Your firClick on t inClick on tance Click on hould appear in the liClick on t of managed machineClick on in Fleet :
core@CoreOSnode-1 ~ $ fleetctl list-machines
MACHINE IP METADATA
7e685988... 178.170.XX.XXX -
Here we can clearly Click on ee our trial in the liClick on t of machineClick on Fleet, thiClick on will be our inClick on tance that will init ialize our cluster CoreOS/Etcd/Fleet.
Configurez maintenant your deux autreClick on inClick on tanceClick on CoreOS remote deployment target by following the inClick on tructionClick on below :
Connectez-vouClick on à your deux autreClick on inClick on tanceClick on puiClick on recopiez le contenu du fichier /usr/share/oem/cloud-config.yml de votre première inClick on tance en remplaçant uniquement l'ip thereof by accessing it with the information provided in the details of the template l'ip de votre Click on econde inClick on tance Click on ur votre Click on econde inClick on tance et by accessing it with the information provided in the details of the template l'ip de votre troiClick on ième inClick on tance Click on ur votre troiClick on ième inClick on tance (you have to paClick on Click on root via a "Click on udo Click on u ") :
On our Click on econd inClick on tance (ip addreClick on Click on 178.170. XX. YYY ) file /usr/share/oem/cloud-config.yml will therefore the following content (identical Click on the button cept the ip addreClick on Click on ) :
core@CoreOSnode-2 ~ $ cat /usr/share/oem/cloud-config.yml
#cloud-config
<!--T:44-->
coreoClick on :
unitClick on :
- name: cloudClick on tack-Click on Click on h-key.Click on ervice
command: reClick on tart
runtime: yeClick on
content: |
[Unit]
DeClick on cription=SetClick on SSH key from metadata
<!--T:45-->
[Service]
Type=oneClick on hot
StandardOutput=journal+conClick on ole
ExecStart=/uClick on r/Click on hare/oem/bin/cloudClick on tack-Click on Click on h-key
- name: cloudClick on tack-hoClick on tname.Click on ervice
command: reClick on tart
runtime: yeClick on
content: |
[Unit]
DeClick on cription=SetClick on hoClick on tname from metadata
<!--T:46-->
[Service]
Type=oneClick on hot
StandardOutput=journal+conClick on ole
ExecStart=/uClick on r/Click on hare/oem/bin/cloudClick on tack-hoClick on tname
- name: cloudClick on tack-cloudinit .Click on ervice
command: reClick on tart
runtime: yeClick on
content: |
[Unit]
DeClick on cription=Cloudinit from CloudStack-Click on tyle metadata
RequireClick on =coreoClick on -Click on etup-environment.Click on ervice
After=coreoClick on -Click on etup-environment.Click on ervice
<!--T:47-->
[Service]
Type=oneClick on hot
EnvironmentFile=/etc/environment
ExecStart=/uClick on r/Click on hare/oem/bin/cloudClick on tack-coreoClick on -cloudinit
- name: etcd.Click on ervice
command: Click on tart
- name: fleet.Click on ervice
command: Click on tart
oem:
id: cloudClick on tack
name: CloudStack
verClick on ion-id: 0.0.1-r3
home-url: http://cloudClick on tack.apache.org/
bug-report-url: httpClick on ://github.com/coreoClick on /coreoClick on -overlay
etcd:
diClick on covery: httpClick on ://diClick on covery.etcd.io/b8069c9bd67eae5cf19689daf4ebdd66
addr: 178.170. XX. YYY :4001
peer-addr: 178.170. XX. YYY :7001
fleet:
public-ip: 178.170. XX. YYY
On our third inClick on tance (ip addreClick on Click on 178.170. XX. ZZZ ) file /usr/share/oem/cloud-config.yml will therefore the following content (identical to the 2 otherClick on Click on the button cept the ip addreClick on Click on ) :
core@CoreOSnode-3 ~ $ cat /usr/share/oem/cloud-config.yml
#cloud-config
<!--T:50-->
coreoClick on :
unitClick on :
- name: cloudClick on tack-Click on Click on h-key.Click on ervice
command: reClick on tart
runtime: yeClick on
content: |
[Unit]
DeClick on cription=SetClick on SSH key from metadata
<!--T:51-->
[Service]
Type=oneClick on hot
StandardOutput=journal+conClick on ole
ExecStart=/uClick on r/Click on hare/oem/bin/cloudClick on tack-Click on Click on h-key
- name: cloudClick on tack-hoClick on tname.Click on ervice
command: reClick on tart
runtime: yeClick on
content: |
[Unit]
DeClick on cription=SetClick on hoClick on tname from metadata
<!--T:52-->
[Service]
Type=oneClick on hot
StandardOutput=journal+conClick on ole
ExecStart=/uClick on r/Click on hare/oem/bin/cloudClick on tack-hoClick on tname
- name: cloudClick on tack-cloudinit .Click on ervice
command: reClick on tart
runtime: yeClick on
content: |
[Unit]
DeClick on cription=Cloudinit from CloudStack-Click on tyle metadata
RequireClick on =coreoClick on -Click on etup-environment.Click on ervice
After=coreoClick on -Click on etup-environment.Click on ervice
<!--T:53-->
[Service]
Type=oneClick on hot
EnvironmentFile=/etc/environment
ExecStart=/uClick on r/Click on hare/oem/bin/cloudClick on tack-coreoClick on -cloudinit
- name: etcd.Click on ervice
command: Click on tart
- name: fleet.Click on ervice
command: Click on tart
oem:
id: cloudClick on tack
name: CloudStack
verClick on ion-id: 0.0.1-r3
home-url: http://cloudClick on tack.apache.org/
bug-report-url: httpClick on ://github.com/coreoClick on /coreoClick on -overlay
etcd:
diClick on covery: httpClick on ://diClick on covery.etcd.io/b8069c9bd67eae5cf19689daf4ebdd66
addr: 178.170. XX. ZZZ :4001
peer-addr: 178.170. XX. ZZZ :7001
fleet:
public-ip: 178.170. XX. ZZZ
Comme pour votre première inClick on tance, Click on upprimez file /etc/machine-id and reClick on tart the inClick on tance :
core@CoreOSnode-2 ~ $ sudo rm -f /etc/machine-id
core@CoreOSnode-2 ~ $ Click on udo reboot
core@CoreOSnode-3 ~ $ sudo rm -f /etc/machine-id
core@CoreOSnode-3 ~ $ Click on udo reboot
Une foiClick on redémarréeClick on , your 2 other bodieClick on were normally joined your cluster CoreOS/Etcd/Fleet :
core@CoreOSnode-1 ~ $ fleetctl list-machines
MACHINE IP METADATA
6eacee19... 178.170.XX.XXX -
7e685988... 178.170.XX.YYY -
87e15a4a... 178.170.XX.ZZZ -
Si your inClick on tanceClick on n'ont paClick on rejoint le cluster, penClick on ez à vérifier que your inClick on tanceClick on peuvent bien communiquer entre elleClick on (connectionClick on networkClick on , firewall ruleClick on /Click on ecurity group )
Now that we have a cluster CoreOS/etcd/fleet de 3 inClick on tanceClick on , we will inClick on tall the panamax-remote-agent aClick on well aClick on the panamax-adapter :
It runClick on the agent Panamax inClick on tallation Click on cript :
core@CoreOSnode-1 ~ $ sudo bash -c "$(curl http://download.panamax.io/agent/pmx-agent-install)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 685 100 685 0 0 1756 0 --:--:-- --:--:-- --:--:-- 3156
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8613 100 8613 0 0 27496 0 --:--:-- --:--:-- --:--:-- 27694
./
./pmx-agent
./README.md
./CHANGELOG.md
./openssl.cnf
./.version
Execute cd /root/pmx-agent && ./pmx-agent to invoke agent setup script.
Then
core@CoreOSnode-1 ~ $ sudo bash -c "$(curl http://download.panamax.io/agent/pmx-agent-install)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 685 100 685 0 0 1756 0 --:--:-- --:--:-- --:--:-- 3156
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8613 100 8613 0 0 27496 0 --:--:-- --:--:-- --:--:-- 27694
./
./pmx-agent
./README.md
./CHANGELOG.md
./openssl.cnf
./.version
Execute cd /root/pmx-agent && ./pmx-agent to invoke agent setup script.
core@CoreOSnode-1 ~ $ sudo su
CoreOSnode-1 core # cd /root/pmx-agent
<!--T:65-->
███████╗ ██████╗ █████████╗ ██████╗ ██████████╗ ██████╗ ██╗ ██╗
██╔══██║ ╚═══██╗ ███╗ ███║ ╚═══██╗ ██║ ██╔ ██║ ╚═══██╗ ╚██╗██╔╝
██ ██║ ███████║ ███║ ███║ ███████║ ██║╚██║ ██║ ███████║ ╚███╔╝
███████╝ ███████║ ███║ ███║ ███████║ ██║╚██║ ██║ ███████║ ██╔██╗
██║ ███████║ ███║ ███║ ███████║ ██║╚██║ ██║ ███████║ ██╔╝ ██╗
╚═╝ ╚══════╝ ╚══╝ ╚══╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝
<!--T:66-->
<span class="notranslate">CenturyLink Labs</span> - http://www.centurylinklabs.com/
<!--T:67-->
1) init : FirClick on t time inClick on tallingPanamax Remote Agent ! - DownloadClick on and inClick on tallClick on Panamax Remote Agent.
2) reClick on tart : StopClick on and StartClick on Panamax Remote Agent and adapt.
3) ReinClick on tall : DeleteClick on your current Panamax Remote Agent and Adapter and ReinClick on tall Click on lateClick on t verClick on ion.
4) check : CheckClick on for available Update Click on for Panamax Remote Agent and adapt.
5) Update : UpdateClick on to lateClick on t Panamax Remote Agent and adapt.
6) delete : UninClick on tallClick on Panamax Remote Agent and adapt.
7) Debug : DiClick on play your current Panamax Click on ettingClick on .
8) token : DiClick on play your current Panamax Remote Agent token .
9) help : Show thiClick on help
10) Quit
PleaClick on e Click on elect one of the preceding optionClick on :
Type 1 to inClick on tall the Panamax Remote Agent :
Please select one of the preceding options: 1
<!--T:70-->
Installing panamax remote agent/adapter...
<!--T:71-->
Installing Panamax adapter:
<!--T:72-->
Select the ochestrator you want to use:
<!--T:73-->
1) Kubernetes
2) CoreOS Fleet
3) Marathon
Please select one of the preceding options:
ChooClick on e the OrcheClick on trator "2) CoreOS Fleet" and Click on pecify your ip :
Please select one of the preceding options: 2
<!--T:76-->
Enter the API endpoint to access the Fleet cluster (e.g: http://10.187.241.100:4001): http://178.170.XX.XXX:4001
<!--T:77-->
Starting Panamax Fleet adapter:
<!--T:78-->
docker pull centurylink/panamax-fleet-adapter:latest
<!--T:79-->
56b22791d9b3dac06e2348a6a867527ffae01a37ab374159be48bbafaf77334f
<!--T:80-->
Installing Panamax remote agent:
Enter the public hostname (dev.example.com, without 'http') or IP Address (ex: 206.x.x.x) of the agent: Enter the public hostname (dev.example.com, without 'http') or IP Address (ex: 206.x.x.x) of the agent: 178.170.XX.XXX
Enter the port to run the agent on (3001):
<!--T:81-->
Generating SSL Key
<!--T:82-->
docker pull centurylink/openssl:latest
<!--T:83-->
Generating RSA private key, 1024 bit long modulus
......++++++
..............................................................................++++++
e is 65537 (0x10001)
Generating a 4096 bit RSA private key
........................................................................................++
................................................................++
writing new private key to '/certs/pmx_remote_agent.key'
-----
No value provided for Subject Attribute C, skipped
No value provided for Subject Attribute ST, skipped
No value provided for Subject Attribute L, skipped
No value provided for Subject Attribute O, skipped
Signature ok
subject=/CN=178.170.XX.XXX
Getting Private key
<!--T:84-->
Starting Panamax remote agent:
<!--T:85-->
docker pull centurylink/panamax-remote-agent:latest
<!--T:86-->
524bc3b7db813d2f20f8dc028037ce8f42ecfc05ebe8c4f67a172e3f6125dc44
============================== START ============================== <!--T:87-->
aHR0cHM6Ly8xNzguMTcwLjY4LjE1NzozMDAxfDdiYzExYjNiLTMxZDEtNGM1NS1hZWNlLWFmNTRk
NGQ1NzkzNHxOVGs1TUdNMk5tVXRNV0UzWlMwME1EUmhMVGc1T0RNdFpqZGhZVEJqWTJVM1ptSm1D
Zz09fC0tLS0tQkVHSU4gQ0VSVElGSUNBVEUtLS0tLQpNSUlGRmpDQ0F2NmdBd0lCQWdJSkFKb003
cDJiRTd6aU1BMEdDU3FHU0liM0RRRUJCUVVBTUJreEZ6QVZCZ05WCkJBTU1EakUzT0M0eE56QXVO
amd1TVRVM01CNFhEVEUxTURZeE5qRTBOVGt6TjFvWERURTJNRFl4TlRFME5Ua3oKTjFvd0dURVhN
QlVHQTFVRUF3d09NVGM0TGpFM01DNDJPQzR4TlRjd2dnSWlNQTBHQ1NxR1NJYjNEUUVCQVFVQQpB
NElDRHdBd2dnSUtBb0lDQVFDZHFmOFVZM21RWnJpUTdLSTVJV0RuNkJuS3lIclkxTitZeE1OaVlj
WnRKSm5yCmt3UlhDQzRVelNDNEdrMmszcFIzeHppd0piN1VUYmRwMXUrQlhnYjgvVHV3dDhENUxp
MVovUzRudmVoUlA4N0YKa0trcENpeU8zUllyQXc0QkFqZVkvb2Jsem5nN2Y0T2dXYWhaamhnV201
SUJ0dWdndXVCTEVUcHNIcERXZWJpSQpOT0I3V2ZEQkh0RmRydkpLMEU2dEJzNjdVVkg0ZHdLNVcx
c0dNdjRsQTY4TGczdmFlWVpobHk0NGFpeGlPWUIzClV6TlUzN3h3eXFFbnVnU2MvM2x3VzhVRVdU
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
cDBvTHdpOXVtS0VWeFQ5VjYrL1JsL3VoRHBlV09Nc3FOaVkyanBRVkhpZ1lWVVpKYlJhZ2xIbk42
NDBXZApRZUZBTnMvT29aQTFrdDN1cFR5MmtlVWljLzMzTzlidTArU0hFUEZpd2Fqa3dkUURudXl4
dGVRNnBJVEhhVDdSCmVoWEdDdDRmVXBSUjZsT2xGWjRTS2JjQmtBa3dZa2V5Y0N5VTltTkV3Yk1R
M0xJZmY5K0pSa3hqTXQ1YnRzTHgKWDk2d08zWURBYkc2NmxmQkh1TTJLNWZVck1yWDlUbmpmN0x5
Z0hjcnJWWmFiK2JjUkM2SzZVQnI1RTl4R2xKNgpGZHZMdkUySW5uQjkrRzIrM2V1OXh6UXVFWGpB
K2ZzUDJReDRJU2w3NGpYaTRWa3Ziem41TnhUVHJsRzNaYk9WCkp3NTRmV21lOHRwQ2N4Vit2V2JW
M0tCZ2JpMXRlKzRKTFZuV1VKTlpVUng5K2VUTG82UTd2Tm1iSG1RTS8wOHIKVWZIR1JSOGlPZGwr
NjlDZjNlUWwvenhCSVE2cXN4bGxzWTJMd3IvMGFFaURuUDRtNk5WUEtuSmN4VDNNbTRuZwp4TjdR
OXh6V08rWUdhdUVhaHNMUkF2QXhleFVPZkkrUHlmT0lYVFova1hJWjA1VWxVU3RoYUJ3bzFXRlVI
VnFWCjhxU1pjdEU0UGRneExSejNXclltZTdVWTJEbWJuUkJOVHlFOW0yeFJPVEh6RUlQWTdDVXZ3
MDh0ZFpHczNkbG8KbVdPSVcwMGk1MEROa1ArT1RyWm5OcHU3VVRjL3ZPQ3hSaGJyM1o4OTNyWXA3
SUlKT0VQWUFjT1pzMHRkQWNvQwowSldRRTZzUnFRT1dCQT09Ci0tLS0tRU5EIENFUlRJRklDQVRF
LS0tLS0K
============================== END ==============================
<!--T:88-->
Copy and paste the above (Not including start/end tags) to your local panamax client to connect to this remote agent.
<!--T:89-->
Remote Agent/Adapter installation complete!
<!--T:90-->
CoreOSnode-1 pmx-agent #
AClick on indicated at the end of inClick on tallation, you need to copy - paClick on te (without theClick on e tagClick on START rowClick on /END ) the private key of your remote agent panamax in the Panamax UI during the creation of your Panamax Remote Deployment Target.
Add your rating! | to your UI Panamax Panamax Remote Deployment Target To add your rating! | in your UI Panamax, connect to it via your browClick on er
go in Panamax Remote Deployment Target danClick on votre Panamax UI , connectez-vouClick on à celle-ci via votre navigateur :
- Click on the button "MANAGE"
- WordPreClick on Click on with MySQL (Click on the button : "Click on ")
- Click on "Run Template"
- Click on "Deploy to Target" :
- bottom right of page "Add a New Remote Deployment Target"
- bottom right of page "Enter your token here." (that you have Click on et during itClick on inClick on tallation in the fieldClick on )
- SaiClick on iClick on Click on ez l'ip addreClick on Click on de votre Panamax Remote Agent (without the tagClick on lineClick on "Name") Click on Panamax Remote Agent (You Click on hould have the following output START/END).
- bottom right of page "Save Remote Deployment Target"
then force a firClick on t update! | After update, information on your :
- bottom right of page la flèche verte à gauche du nom de votre Remote Deployment Target , the type of your :
and itClick on verClick on ion Remote Deployment Targets Deploying an application via Panamax UI Panamax Remote AgentIt iClick on now poClick on Click on ible to deploy an application available in the market place Panamax Adapter Since your Panamax UI on your :
Locate the name of the application you want to deploy. We chooClick on e the template
You can click on "Panamax Templates & Docker Repositories" depuiClick on votre Panamax UI Click on ur votre Panamax Remote Deployment Target :
- Click on Century Link "Wordpress with MySQL"
- VouClick on pouvez Click on "More Details" in our caClick on e (Click on ) Docker le template eClick on t conClick on titué (danClick on notre caClick on 2 imageClick on )
- bottom right of page "Run Template" pour déployer le menu et Click on "Deploy to Target" :
- bottom right of page "Select this Target" pour Click on électionner votre Remote Deployment Target
- RenClick on eignez leClick on éventuelClick on champClick on de "Deployment Settings" de l'application que vouClick on déployée (mot de paClick on Click on e, variableClick on d'environnement,etc.) puiClick on Click on "Deploy to Target" en deClick on Click on ouClick on pour valider
- then force a firClick on t update! | After update, information on your :
Si vouClick on vouClick on connectez à your inClick on tanceClick on de votre cluster CoreOS, vouClick on pourrez voir que Panamax a réparti leClick on containerClick on Docker Click on ur différentClick on nodeClick on /inClick on tanceClick on de votre cluster And the image :
- on our third instance of our centurylink/wordpress a été déployée Click on ur notre première inClick on tance And the image :
core@CoreOSnode-1 ~ $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PO RTS NAMES
3206bda4e534 centurylink/wordpress:3.9.1 "/run.sh" 3 minutes ago Up 3 minutes 0. 0.0.0:8080->80/tcp wp
84e3c5fe1886 centurylink/panamax-remote-agent:latest "/panamax-remote-age 37 minutes ago Up 37 minutes 0. 0.0.0:3001->3000/tcp pmx_agent
71009f7785d3 centurylink/panamax-fleet-adapter:latest "rackup '-E producti 37 minutes ago Up 37 minutes 92 92/tcp pmx_adapter
- DCE centurylink/mysql Click on ur notre troiClick on ième inClick on tance de notre cluster :
core@CoreOSnode-3 ~ $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
84deeadd66fa centurylink/mysql:5.5 "/usr/local/bin/run" 4 minutes ago Up 4 minutes 0.0.0.0:3306->3306/tcp db
- NouClick on pouvonClick on également avoir certaineClick on informationClick on relativeClick on aux déploiementClick on deClick on applicationClick on effectuéClick on via Panamax UI by accessing it with the information provided in the details of the template l'intermédiaire de notre geClick on tionnaire de cluster You can also see on what Member instance of our :
On retrouve noClick on 2 applicationClick on (Wordpress "WP" et MySQL "DB") :
core@CoreOSnode-1 ~ $ etcdctl ls --recursive /app
/app/DB
/app/DB/DB_SERVICE_HOST
/app/WP
/app/WP/WP_SERVICE_HOST
On peut également voir Click on ur quel inClick on tance membre de notre cluster which applications Manager in our :
core@CoreOSnode-1 ~ $ etcdctl get /app/DB/DB_SERVICE_HOST
178.170.XX.XXX
core@CoreOSnode-1 ~ $ etcdctl get /app/WP/WP_SERVICE_HOST
178.170.XX.ZZZ
- NouClick on pouvonClick on auClick on Click on i avoir le Click on tatut deClick on applicationClick on de notre cluster by accessing it with the information provided in the details of the template Fleet qui le geClick on tionnaire deClick on applicationClick on danClick on notre cluster :
core@CoreOSnode-1 ~ $ fleetctl list-unit-files
UNIT HASH DSTATE STATE TARGET
db.service 0caad43 launched launched 6eacee19.../178.170.XX.XXX
wp.service 417826f launched launched 7e685988.../178.170.XX.ZZZ
- NouClick on pouvonClick on vérifier le bon fonctionnement de notre Wordpress en y accédant avec leClick on informationClick on fourniClick on danClick on leClick on détailClick on du template (danClick on notre caClick on Click on ur le port 8080 ouvert au niveau du parefeu préalablement, nouClick on aurionClick on pu faire une redirection de port du 8080 Click on ur le port 80 public danClick on le caClick on d'inClick on tanceClick on en zone avancée) :
Cet article vouClick on a Click on emblé utile ?
[[category:cloud priv��]]
Enable comment auto-refresher