-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get postgres db host endpoint of existing postgres runnning in cf to use in diego ? #305
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/145333557 The labels on this github issue will be updated when the story is started. |
Hi, @deepakdefender264, The Diego BBS's connection to its SQL database is configured with the BOSH properties under If you need to know the values to configure in that stub, you should be able to get those from the existing CF manifest if CC and UAA are using that Postgres instance for their own databases. It may end up being simply a single IP address, in which case you could also get it from the Best, |
Hi @ematpl |
Hi, @deepakdefender264, The postgres job in cf-release does not support any sort of clustered deployment, so even if you expand your CF deployment to 2 or more availability zones you'll still only have one instance of that postgres job. You can then continue to supply the IP of that instance as the host for the Diego BBS database connection. Alternately, the cf-mysql release supports a highly available clustered database deployment that is compatible with the Diego BBS and the other SQL-database-based components in CF. Its proxy instances are capable of being registered as Consul services and hence would be addressable via Consul under a domain name such as If you are using the manifest-generation script and templates from diego-release, all of the infrastructure-specific configuration will be specified in the "IaaS-settings" stub file that is the argument to the Finally, if you are already using the new v2 BOSH CLI, you may be interested in cf-deployment as an alternative to the separate manifest-generation script/template systems in cf-release and diego-release that uses Diego instead of the DEAs and takes advantage of new BOSH features such as cloud-config, links, and variable generation and interpolation. It's not quite ready for all production deployments, but reaching that milestone is the next major goal for the Release Integration team that is responsible for developing it. Best, |
Hi @ematpl , Here I am confused about these values, I am not sure what to do as I am getting errors for pem certs in updating database_z1 vm. |
Additional to @mayankkaushik2, we got below error while running diego deploy. In rep errors, we encountered this Seems interesting error. |
Resolved, After correcting certificate values, its get resolved |
Submodule src/github.com/onsi/ginkgo eea6ad008..d90e0dcda: > Add integration test > Fix coverage files combining > A new CLI option: -ginkgo.reportFile <file path> (#601) > v1.10.2 > speed up table entry generateIt() (#609) > Fix. Write errors to stderr instead of stdout (#610) > v1.10.1 > stack backtrace: fix skipping (#600) > v1.10.0 > stack backtrace: fix alignment and skipping > fix typo in documentation > v1.9.0 > Fixed typos in comments > gofmt code > Simplify code > Simplify concatenation, incrementation and function assignment > Avoid unnecessary conversions > JUnit: include more detailed information about panic > Option to print output into report, when tests have passed > Print help to stdout when the user asks for help Submodule src/github.com/onsi/gomega 41673fd8f..bdebf9e0e: > v1.7.0 > export format property variables (#347) > minor fix in the documentation of ExpectWithOffset (#358) > v1.6.0 > Remove duplication in XML matcher tests > Remove unnecessary conversions (#357) > Fixed import order (#353) > Added missing error handling in test (#355) > Simplify code (#356) > Simplify code (#354) > Fixed typos (#352) > Add failure message tests to BeElementOf matcher > Update go-testcov untested sections > mark all uncovered files so go-testcov ./... works > display special chars on error > Reenable gotip in travis > Add BeElementOf matcher > Fix the typo of comment (#345) > Optimize contain_element_matcher > v1.5.0 > add analogous tests to fields_test.go > added tests for error messages > remove redundant validity check > ensure error messages refer to the underlying interface, not the `reflect.Value` > Run CI on go 1.12 and not 1.9 > Turn off gotip on travis > Mark session_test.go with build tag (#324) > more matcher tests > try to appease linters > MatchKeys > Clarify message for unexpected errors > make it easy to run everythin that travis would do > remove go 1.6, 1.7, 1.8 from the build matrix, and add tip > fix lint errors and use type aliases to remove stuttering > remove duplication of code and add docs to public function > v1.4.3 > test yaml parser errors and better comment on why panics are there > add test for not matcher with errors > add test for or matcher with errors > add tests for positive failure messages of Panic > ensure file name and line numbers are correctly reported > Fail the build if gofmt detects any changes required > Make changes to satisfy gofmt > Move GO111MODULE into more suitable env key in Travis > Add coverage for BeZero and Succeed matchers (#307) > Fixed matcher for content-type (#305) > v1.4.2 > Refactor goexec build test > Updates for Go v1.11 official release > Add go.mod and go.sum files to define the gomega go module > Work around go vet issue with Go v1.11 (#300) > Better output when using with go XUnit-style tests, fixes #255 (#297) > Fix MatchJSON fail to parse json.RawMessage (#298) > Move funcs shared by MatchJSON and MatchYAML to a dedicated support file > Added first failure path matching for YAML (#279) > show threshold in failure message of BeNumericallyMatcher (#293) > v1.4.1 > Update documentation (#289)
I want to use postgres db host endpoint of existing postgres running in cf to use in diego ?
Is there a way to get it. I am using bosh v2 cli and director.
The text was updated successfully, but these errors were encountered: