Wednesday, 2013-03-20

*** volga629 has parted #wikid (None)01:40
*** volga629 (~bendersky@host7.pythian.com) has joined #wikid11:54
*** nowen (~nowen@99-174-93-102.lightspeed.tukrga.sbcglobal.net) has joined #wikid13:18
nowenvolga629: did you figure out your token issue?13:19
volga629no yet, but I think network client not configured properly13:21
nowenwhat is your domain identifier?13:22
volga629I got talking my primary radius to wikid13:22
volga629just sec13:22
volga62929571048601413:26
nowenthat doesn't look like a zero padded IP address13:30
nowenwhat is the ip address of the server?13:30
volga629I don't have public ip13:30
volga629for right now13:30
nowenit also doesn't look like a private ip13:30
volga629pirvate ip 10.237.236.131 for lab13:33
nowenso, your domain id should be 01023723613113:34
volga629ok what rules for domain id creations, I don't have clue about it13:35
volga629If I want use network like 10.237.236.0/2413:35
nowenthe tokens talk to the server, so if you're on an internal network, only internal clients will see it13:37
nowenyou can NAT the server and route the external traffic internally.  if you do, use the external ip for the domain identifier13:37
volga629If I have radius on the middle it still need go directly to wikid ?13:38
nowenthat's a different communication channel.  the tokens don't use it13:39
volga629yes, that only for routers and so on13:39
nowenright13:40
volga629So can I put for user on DMZ read only replica13:40
nowenI don't follow13:40
volga629If I need give access to user communicate with wikid for authentication. I prefer create replication node and expose in read mode only13:41
volga629that master will stay in shadow13:42
nowenI don't what that means, so I'm worried it will not work13:42
volga629"master server" ----->"cluster Replication Node Read Only" <-------- User authentication13:46
volga629you see nobody will authenticate to master only to second node13:46
volga629So back to domain ID, what criteria need to use when creating new domain ?13:48
nowenok, well, if you use WiKID replication, the users will hit the master. no one will hit the secondary13:49
nowenthe domain id needs to be the zero-padded IP address of the server13:49
nowenit needs to be routable13:49
volga629Ok I understand, that clear13:52
volga629so why need replication13:52
volga629?13:52
nowenreplication creates a real-time back up that can easily be promoted13:52
volga629And If primary going down what happens ?13:56
nowenyou promote the secondary13:56
volga629It doing failover or it manual process ?13:57
nowenit is manual, but can be scripted14:05
nowenyou can put a proxy in your dmz and have it talk to the WiKID server14:06
volga629Is wikid suitable for staff like pacemaker ?14:11
nowenpacemaker?14:11
volga629cluster14:12
nowenI don't know why not, but I'm not familiar with it14:13
volga629http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Clusters_from_Scratch/14:14
volga629we using it providing all tool for app monitoring and failover14:14
volga629nowen thank you for information, I will continue on testing14:22
nowenok - I suspect that pacemaker will work fine.  it's really just a tomcat app on centos14:23
volga629I will need test it and see I can make it work, because database is involved too14:32
nowenyou might be able to use the built-in replication for the db.  I can show you how to get wikidctl status working14:33
nowenand there's a webpage you can hit to check the status14:33
nowenso, if the master goes down, run the script to promote the secondary14:33
volga629yes, this will be next stage. First  I will correct domain ID and make tokens working and authenticate properly. If I want create domain not per host, but per subnet is this possible ?14:35
nowenhmm. I think what you want is multiple network clients per subnet and not domains14:36
volga629yes we have user in different subnets like VPN, USER_NET, PUBLIC_DMZ14:45
volga629specify like 10.237.236.0/2414:46
volga629inside this network clinet a 10.237.236.123, client b 10.237.236.45 and so on14:46
volga629client14:47
nowendo you have different groups of users in each one?14:56
volga629no15:03
nowenyou might also think about having all those subnets talk to your Radius server and have one network client on WiKID: the radius server15:03
volga629yes need to think about it15:22
*** nowen has quit (Ping timeout: 245 seconds)17:49
*** nowen (~nowen@99-174-93-102.lightspeed.tukrga.sbcglobal.net) has joined #wikid18:04
bman1how does a node know its a slave or master, it seems /opt/Wikid/conf/replica.conf is irrelevant it ignores it18:21
nowendo you want to know how to find out if a server is the replicant?18:24
bman1yes18:24
nowendid you see my response to you yesterday?18:25
nowenbman1: http://www.wikidsystems.com/webdemo/irclogs/2013-03-19.log.html18:25
bman1that seems to be based on the healthcheck question I asked, so I went about it differently18:28
bman1figured out a diff way to do a healthcheck but will look at that again and see what it produces18:29
nowenif you do it our way, there's an url you can ping too: https://serverip/wikid/HeartBeat18:30
bman1ok that gives me incentive to try thanks18:34
*** bman1 has parted #wikid (None)18:37
*** bman1 (~burrutia@64.19.224.6) has joined #wikid18:40
*** bman1 has parted #wikid (None)18:40
*** bman1 (~burrutia@64.19.224.6) has joined #wikid18:49
bman1ok for the Heartbeat is there anything other than "OK" that should be echoed back in the page?18:53
nowenno18:53
bman1ok thanks18:54
*** bman1 has parted #wikid (None)18:54
*** nowen has quit (Quit: Leaving.)19:49
*** volga629 has parted #wikid (None)20:05
*** nowen (~nowen@99-174-93-102.lightspeed.tukrga.sbcglobal.net) has joined #wikid20:22
*** nowen1 (~nowen@99-174-93-102.lightspeed.tukrga.sbcglobal.net) has joined #wikid20:45
*** nowen has quit (Read error: Connection reset by peer)20:45
*** nowen1 has quit (Quit: Leaving.)20:52
*** nowen (~nowen@99-174-93-102.lightspeed.tukrga.sbcglobal.net) has joined #wikid20:52
*** nowen has quit (Quit: Leaving.)22:01
*** bman1 (~burrutia@64.19.224.6) has joined #wikid22:47
bman1ok so for reference in case anyone asks, previously i asked how do I tell where a box defines if it is master or slave, I had seen a file called /opt/WiKID/conf/replica.conf and that is not used, the file is /opt/WiKID/conf/setup.conf ( and this was being overwritten by my config mgmt software )22:50
*** bman1 has parted #wikid (None)22:50
*** volga629 (~bendersky@CPE00090f1b215c-CM7cb21b15b251.cpe.net.cable.rogers.com) has joined #wikid23:44

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!