Created
October 5, 2017 08:24
-
-
Save wolfoo2931/ba5439d459850f02843ec8d96d7f184d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl admin:xx@<deployer-ip>:3000/deployments/161.json?with_vm_details=true | jq '.' | |
{ | |
"id": 161, | |
"name": "d621cb1", | |
"description": null, | |
"metadata": null, | |
"current_state": "deployed", | |
"template_id": 1, | |
"template_version": 203, | |
"vm_identifiers": [ | |
"pg-0" | |
], | |
"last_error": "", | |
"active_task": "", | |
"manifest": "director_uuid: replaced-by-framework\njobs:\n- azs:\n - z3\n - z2\n - z1\n instances: 1\n name: pg\n networks:\n - name: dynamic\n persistent_disk_type: small\n stemcell: ubuntu-trusty\n templates:\n - name: consul\n release: a9s-consul\n - name: postgresql-ha\n release: postgresql94\n - name: backup-agent\n release: backup-agent\n - name: logstash\n release: logstash\n vm_type: small\nname: d621cb1\nproperties:\n backup-agent:\n endpoint:\n password: ((/pg_service_backup_agent_password))\n port: 3000\n username: ((/pg_service_backup_agent_username))\n plugins:\n max_in_flight: 1\n consul:\n agent_address: 127.0.0.1:8500\n cluster:\n join_hosts:\n - 172.28.1.12\n - 172.28.2.12\n - 172.28.3.12\n dc: dc1\n domain: consul\n encrypt: ((/cdns_encrypt))\n server: false\n ssl_ca: ((/cdns_ssl.ca))\n ssl_cert: ((/cdns_ssl.certificate))\n ssl_key: ((/cdns_ssl.private_key))\n logstash:\n graphite:\n endpoints: \n metrics_prefix: \n input: postgres_metrics { host => \"d621cb1-pg-{{job-index}}.node.dc1.consul\"\n port => \"5432\" username => \"a9s421d8590552d9c1a0610ea6120b35e26bf7e9980\" password => \"a9s51bab0585b7d3887a1e93f8baff0a61e98f4269d\"\n guid => \"4519e0c4-3c8b-4071-aa74-be1548dee1ac\" } file { path => \"/var/vcap/sys/log/postgresql-ha/*\"\n sincedb_path => \"/tmp/sincedb\" start_position => \"beginning\" }\n syslog:\n endpoints: \n system_metrics:\n guid: 4519e0c4-3c8b-4071-aa74-be1548dee1ac\n interval: \n network: dynamic\n postgresql-ha:\n admin_credentials:\n password: a9s51bab0585b7d3887a1e93f8baff0a61e98f4269d\n username: a9s421d8590552d9c1a0610ea6120b35e26bf7e9980\n database: d621cb1\n extensions:\n - pgcrypto\n - citext\n kernel:\n shmmax: 12013123\n plan:\n effective_cache_size: 10MB\n max_connections: 500\n shared_buffers: 10MB\n work_mem: 1MB\n port: 5432\n postgres:\n archive_dir: /var/vcap/store/postgresql94/archive\n replication: false\n ssl:\n enable: false\n version: 94\nreleases:\n- name: postgresql94\n version: 14\n- name: a9s-consul\n version: latest\n- name: backup-agent\n version: \"13\"\n- name: logstash\n version: \"29\"\nstemcells:\n- alias: ubuntu-trusty\n os: ubuntu-trusty\n version: 3445.2\nupdate:\n canaries: 1\n canary_watch_time: 30000-600000\n max_in_flight: 1\n serial: true\n update_watch_time: 5000-600000", | |
"deployment_attributes": { | |
"port": 5432, | |
"instance_guid": "4519e0c4-3c8b-4071-aa74-be1548dee1ac", | |
"default_database": "d621cb1", | |
"metrics_frequency": "10", | |
"metrics_prefix": "", | |
"graphite": "", | |
"syslog": "", | |
"plugins": [ | |
"pgcrypto", | |
"citext" | |
], | |
"delete_plugins": null, | |
"replication_shared_secret": "695f3d8b6ad2674a9babec706fd1fa3a23ad3bbf78542f776297dd45e8328deddf3ac79c9050b1977cbd090569ef7b7645727e4c36058e6eb377ca4eb512995a", | |
"admin_username": "xx", | |
"admin_password": "xx", | |
"dashboard_url": "https://a9s-postgresql-dashboard.system.a9s-ds-concourse.a9s-ops.de/service-instances/4519e0c4-3c8b-4071-aa74-be1548dee1ac", | |
"name": "d621cb1", | |
"director_uuid": "arandomstring" | |
}, | |
"template_name": "postgresql-single-small", | |
"vm_details": [ | |
{ | |
"vm_identifier": "pg-0", | |
"cpu": 4, | |
"ephemeral_disk": 10000, | |
"persistent_disk": 2048, | |
"memory": 4000, | |
"instance_type": "not defined in BOSH cloud config" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment