Comments (6)
To enable query logging set "LOG: true" in polaris-pdns.yaml, "loglevel=6" in pdns.conf
"/opt/polaris/bin/polaris-memcache-control get-ppdns-state" shows the table against which the query distribution is performed.
from polaris-gslb.
Anton,
Thanks for the quick response,
When I run get-ppdns-state i get the following output
{
"globalnames": {
"www.example.com": {
"ttl": 1,
"pool_name": "www-example"
}
},
"pools": {
"www-example": {
"status": false,
"lb_method": "twrr",
"fallback": "any",
"max_addrs_returned": 1,
"dist_tables": {
"_default": {
"rotation": [
"192.168.168.101",
"192.168.168.100",
"192.168.168.10"
],
"index": 2,
"num_unique_addrs": 3
}
}
}
},
"timestamp": 1484910165.609691
}
It looks like it is only having a default response, no minions/master region ?
from polaris-gslb.
The pool is in down state, health checks aren't passing, refer to "/opt/polaris/bin/polaris-memcache-control get-generic-state" for details.
from polaris-gslb.
Anton,
I forgot to restart polaris after making some changes , that's why it showed up like that.
After the restart i ran get-ppdns-state again, now it shows me :
{
"globalnames": {
"www.example.com": {
"pool_name": "www-example",
"ttl": 1
}
},
"timestamp": 1484913420.7073374,
"pools": {
"www-example": {
"lb_method": "twrr",
"max_addrs_returned": 1,
"fallback": "any",
"dist_tables": {
"_default": {
"num_unique_addrs": 3,
"rotation": [
"192.168.168.100",
"192.168.168.10",
"192.168.168.101"
],
"index": 0
},
"Minions": {
"num_unique_addrs": 2,
"rotation": [
"192.168.168.100",
"192.168.168.101"
],
"index": 0
},
"Master": {
"num_unique_addrs": 1,
"rotation": [
"192.168.168.10"
],
"index": 0
}
},
"status": true
}
}
}
Strangely enough now i do get the proper responses.
Thanks for your help!
do you know the log location for pdns ?
from polaris-gslb.
It should go to syslog, query logging impacts the performance and is not recommended to be enabled during normal operations.
from polaris-gslb.
from polaris-gslb.
Related Issues (20)
- IPv6 Support HOT 2
- Non health state deterministic startup HOT 6
- Is this project dead? HOT 2
- Installation doc issue HOT 1
- Consider memoization to optimize topology map look-ups
- Max number of entries in LB configuration file HOT 1
- Poor documentation - Not mentioned what to do after installation HOT 11
- Still connecting with the server that is down HOT 1
- Stop polaris-health but still hitting request to server
- GSLB as HA HOT 1
- Request: NAT Responce HOT 1
- is Polaris-gslb support VIP? HOT 1
- Several globalnames HOT 4
- Getting some troubles to use the Polaris-gslb
- EDNS Support
- health monitoring doesn't work. At all. HOT 1
- Need to set zone-cache-refresh-interval=0 to make Polaris work with PowerDNS 4.5.1
- Feature request : allow for split configuration files
- powerdns status refused HOT 2
- Project active? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polaris-gslb.