Server :: Setup Master / Master Mysql In HA Setup Without Use Of Load Balancer Provided By Host?

Mar 31, 2010

I have a load balancer with 2 web servers behind it. The web servers rsync with cloud storage to update their apache directories 1 time every hour. Apache is just running php pages that pull/push data to a DB so they dont need to be updated that often. However I need to figure out how to implement a Master/Master MySQL setup to have my web servers point to for the PHP stuff. I need to implement it without having a single point of failure. The Load balancers are useless for failover as they only detect availability based on Ping request. So putting a master/master setup behind a Load Balancer is out. what is the best way to setup the master/master mysql in a HA setup without the use of a load balancer provided by the host?

View 2 Replies


ADVERTISEMENT

Server :: Setup LAMP With MySQL Master/slave Replication And Apache Rsync?

Aug 12, 2010

I started over combining the first parts of this guide: [URL]..ubuntu8.04 (Only the first few parts in terms of configuration and naming). Then I used this guide: [URL]..Surprisingly enough all steps worked.

1. Now I need to set up LAMP servers with MySQL master/slave replication and Apache rsync.

2. Next i need to add BIND to both my Load Balancers with master/slave backup and replication...

Are there any guides to look at to follow on these? Can tou point me to the right direction for BIND with replication.

View 1 Replies View Related

Networking :: Setup Multiple FTP Servers With Distinct Data Sets With 1 Master FTP Server?

Aug 27, 2009

Faced with disk-bound issues on a FTP server with high traffic. Would like to set up multiple FTP server nodes with dedicated storage for each node where all FTP access is managed by a master FTP server. So, a user would FTP to a single externally visible IP address for the master FTP server and then get routed to the appropriate FTP node. Are the mutiple FTP nodes required or is there a better way of doing this? Perhaps only one FTP server is required and then each node would serve as a separate file server

View 1 Replies View Related

Server :: Local Master Browser Do Not Sync Their List With The Domain Master

Nov 13, 2009

I'm managing a residential network. Each flat is its own subnet, and can only communicate with the other flats through a router (i.e. no broadcast). 95% of these 300 subnets only contains windows computers (from lambda users).

My final goal is to be able to browse the entire network from any computer.

I set up a samba server acting as a wins server, and every computer is aware of it because it is registered in the dhcp. So name resolution is working fine for everyone.

The same samba server is set to be the "Domain master browser":

workgroup = WORKGROUP
wins support = yes
prefered master = yes
local master = yes
domain master = yes
os level = 65

When I browse the network (using "net view" or "browstat view"), I can only see the servers which are in the same subnet as the domain master browser.

Now, when in a subnet the computers arrange themselves to find a "local master browser", the only visible computers are the one in that subnet.

What I don't understand is why all the local masters don't synchronize their lists with the domain master.

So, to sum up, every subnet get the following behaviour:

-if a local master is elected, the only visible computers are the one in the same subnet.

-if no local master is elected, the only visible computers are the one in the subnet of the domain master.

-if I add another samba, configured as a local master winning all elections, then the magic is working and the lists are synchronized.

What is expected:
-every computer can see all the computer from all the subnets.

View 1 Replies View Related

Software :: Master And Slave OpenLDAP Setup Using Replication Method

May 13, 2011

I'm setting up a Master and Slave OpenLDAP (ver. 2.4.25) use Replication method following {URL]. When I used slapdcat (slapdcat -l master_dump.ldif), I got a message:

root@ldap:/usr/local/openldap/sbin# ./slapcat -l master_dump.ldif
/usr/local/openldap/etc/openldap/slapd.conf: line 89: <replogfile> keyword is obsolete (ignored)
/usr/local/openldap/etc/openldap/slapd.conf: line 91: <replica> keyword is obsolete (ignored)
bdb_db_open: warning - no DB_CONFIG file found in directory /usr/local/openldap/var/openldap-data: (2).
Expect poor performance for suffix "dc=abc,dc=com".
bdb_monitor_db_open: monitoring disabled; configure monitor database to enable

My Master slapd.conf is:
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate

# Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
# by self write
# by users read
# by anonymous auth
# if no access controls are present, the default policy allows anyone and everyone to read anything but restricts updates to rootdn. (e.g., "access to * by * read") .....

My Slave slapd.conf is similar configuration to the Master Server...

View 5 Replies View Related

Ubuntu Servers :: Live / Instant Rsync For Master Slave Setup

Feb 8, 2011

I need to perform instant filecopy between a pair of servers. Its loosely based on a master slave setup as we have ucarp floating a virtual IP between the two. services are on both boxes (tftp, apache). I'm happy with that, I now need a way to instantly sync files from set directories, as we could see problems if files have changed should the system fail over without being in sync

I know I could cron *1 but I don't want it running EVERY minute, in any case, if the change was within the last minute, then it wouldn't have the change anyway. I think it can be done with rsync daemons on box boxes, but I can't find a guide to to this. ATM the slave has been setup to accept rsync from the master, so I just need the config to have all changes on the master instantly replicated.

View 3 Replies View Related

Ubuntu Networking :: TP-Link Wifi USB Adapter: Cannot Setup It In Master Mode To Use PC As A Router

Jun 10, 2010

I got two issues with my wifi usb adapter:

1) it cannot see any networks around
2) i cannot setup it in master mode to use my PC as a router

As far as i can see, the device is recognized and the correct driver (rt73usb) is loaded. I was able to connect to a laptop somehow (the laptop could see other networks and the adapter's PC-to-PC network). I'd like to make it work as a router, i.e. share my internet connection (eth0) via wlan0. Here is what i have:

Code:
Ubuntu 10.04
Linux 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
TP-Link TL-WN321G wifi usb adapter as seen as
Bus 001 Device 006: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
$ iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:off/any
[Code]....

View 4 Replies View Related

Hardware :: Good Hardware Load Balancer That Is Easy To Setup ?

Jan 27, 2010

Anyone know of a good hardware load balancer that is easy to setup? 100mbps.

View 1 Replies View Related

Server :: Get The Port Number Of The "ajp13" Service Running On Host Master?

Apr 1, 2011

how to get the port number of the "ajp13" service running on host master?

View 1 Replies View Related

Ubuntu Servers :: MySQL - Multi-Master Replication?

Aug 8, 2011

I have two computers (one tower, one laptop). On both the computers, I have apache & PHP & mysql running, so i can program/script anywhere I like. With a simple sync'ing program, the PHP scripts are synced between the PC's, thought the databases arent. Therefor I'm looking for a method to sync (replicate) the databases between the PC's. thought after setting up some configuration, i'm stuck... now with how to, but what to

Option 1) Multi-master replication between the PC and the laptop. With this setup, the database can ONLY sync once both the devices are turned on. Also it can only sync if they are turned on on my LAN, since they do not have an external static IP address. if I turn on both PC's on my LAN, with static IP's (from the DHCP server), this option will work. Thought, I basically never have both pc's turned on in my own home... cuz i can use only one at the time anyway.So I was thinking of another setup

Option 2) Multi-master replication with: online Server, PC and Laptop. The server basically contains the most up to date database. for example, the laptop updates the server and the server can update the PC later, once the PC is turned on. Also the other way around, the PC can update the server which can than update the Laptop.

There is, if i'm correct, only one problem: the only multi master replications setups I found, use a circulair setup... (1 updates 2, 2 updates 3, 3 updates 1) What I need is to have the PC update the server, but ALSO have the server update the PC (same for the laptop)

than there is another (little) problem: the PC and laptop cannot be reached from behind the modem, nor do they have a static IP. My question: Is it possible to sync the server with the laptop (that has no static IP), the laptop with the server (that has a static IP), and the same for the PC

PC <====> Server <====> Laptop

View 1 Replies View Related

General :: Ypbind To NIS Master Server?

Mar 25, 2010

Problem: This morning, our NIS master server down (due to ram prob), and what happen is all the sun servers able to bind to NIS Slave, able to communicate to other sun and windows servers but not Linux servers.

Detailed Problem: sun_server[sab]% rsh linux01 o_ypcall: clnt_call: RPC: Unable to receive; errno = No route to host sun_server[sab]% telnet linux01
Trying 10.x.x.x...
Connected to linux01.
Escape character is '^]'.

[Code]...

View 1 Replies View Related

General :: Master And Slave DNS Server Replication

Nov 29, 2010

I configured a master DNS server 192.168.2.10 working OK. After that I configure a DNS Slave Server (92.168.2.11)the initial replication worked fine. This is test environment for my certification. I see how the zones from my master are transferred
zones in Master
training.com.db
transferred zone to my slave when I started named service
sec.training.com.db

That's Ok but I added some IPs to resolve to my master zone
webserver IN A 192.168.2.30
fileserver IN A 192.168.2.31

I restart/reload named on master and after that I go to slave and restart/reload but zones wuth the new values are not replicated. How long does it take for slave to take the changes from master? how is the procedure manual or automatic? I see If I go to slave and delete sec.training.com and restart named the zone with the changes is transferred but that is very manual... I am including my DNS Configuration so you can take a look.

View 4 Replies View Related

Server :: Bind Views With Master And Slave

Apr 12, 2011

I have bind configured with Internal and External views, but the slave server is transferring only the Internal zone files for both Internal and External - a diff shows no difference, and the log shows the same serial number.What am I missing in the config so the slave server properly receives updates from the master for both views?

View 2 Replies View Related

Server :: Disabling MD5 Passwords In Centos NIS Master?

Apr 2, 2010

I have a Centos NIS server that is working fine with other linux clients. i need to have a Solaris 8 client bind to the NIS domain and found out that Sol8 does not support MD5 format passwords that the NIS master is generating. so i am trying to disable the MD5 encryption on the nis master and it does not seem to work. i run this command

authconfig --disablemd5 --enablenis --nisdomain=lab --updateall

and it restarts portmap and nis services ok. on the master server i then do a yppasswd username and a make passwd and it still uses the 34 char password format. what do i need to do to disable MD5 passwords in a centos nis server?

View 2 Replies View Related

CentOS 5 Server :: DNS Not Replicating From Master To Slave?

Jan 27, 2010

I have set up a master BIND DNS server with 2 slaves. All the services start up fine on all 3 servers, but zones and named.conf info is not being replicated. The 3 servers are tentatively installed on a Xen virtual server for testing purposes. All 3 servers are 64bit and installed with: -> CentOS release 5.4 (Final) - 2.6.18-164.10.1.el5xen -> BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2

All 3 servers are fully updated. All 3 servers have static IP addresses. The services on all 3 servers start up without any apparent issues. Master server: # /etc/init.d/named restart ; tail -f /var/log/messages

[Code]...

View 10 Replies View Related

CentOS 5 Server :: BIND Notify From Non-master?

Aug 26, 2011

I have setup two BIND9 servers as slaves for an internal Windows domain. I receive messages in my logs about a Windows server not being the master for the slave domain on BIND. I have placed the allow-notify statement in the global options section of named.conf, as well as setting the IP address in the masters section of the zone. I'm confused as to why I'm still getting this error message.

View 3 Replies View Related

Server :: Distribute Securenets File From NIS Master To Slave?

Jan 25, 2011

I have a large environment with many VLANs and NIS slaves serving the VLANs. Previously we have not used a securenets file (don't worry; we don't use NIS for passwords, just NFS maps), but I'd like to start. The number of NIS slaves makes it annoying to update a securenets file on each when we add a new VLAN. Is there a way to propagate the securenets file to each slave when I update it on the master?If not, I guess I can live with propagating the file once and only visiting new slaves when I build them, because in 99% of cases a NIS slave only serves its own subnet.

View 1 Replies View Related

Server :: ProFTPD Master/Root User Can't Get Into All Folders

Mar 2, 2010

So, I wanted a master ftp user that could access all the folders for all the users. I did this by creating a second root user. I'm aware of all the security considerations, and if there's a better way to do this than creating a root user I'd really like to know it. That said, my issue is that my new root user is still unable in FTP to access folders owned by other users that aren't world readable. Note that this is ONLY when logging in via ftp. If I login through SSH I can access all folders without problem and without the need to sudo. So this is a true root user. Does anyone have an idea how I can fix the proftpd configuration to allow my root user access to ALL folders no matter the owner?

View 3 Replies View Related

Server :: New Zone Entry In Master Not Getting Updated At Slave

Feb 19, 2011

I have configured master and slave Bind servers. Everything works fine. But whenever I add a new zone entry at master server it is not getting updated at slave server in logs I see this error:
client 192.168.1.1#43428: view external: received notify for zone 'yourdomainname.com': not authoritative

At master server I do not see any error or warning message. This error clearly indicates that named.conf file does not have zone entry in it or domain name is wrong. While checking the named.conf file I see that the zone entry has not been updated at slave server. If I update it manually and reload named on slave then zone files (db files) are getting created without any issue and any modification at master server for the zone records are also getting updated. My concern is why zone record is not getting appended at slave server in named.conf file.

Is there anything I am missing in the configuration. I am pasting the steps which I have followed to configure my master and slave server:
Configure Bind as master and slave server
Install Bind on your server
yum install bind
OR
sudu apt-get install bind9
Generate RNDC Key using the command
rndc-confgen -a -k rndc-key
it will stored in /etc/rndc-key file
Master Server IP 192.168.0.1
Slave Server IP 192.168.1.1
Master Server Configuration
options .....

View 8 Replies View Related

General :: New Server Setup On Rackspace Host

May 13, 2011

Im setting up my initial server on rackspace hosting and im not sure which server to pick.I plan to run a wordpress driven image blog.Mainly what i would like to know is which server is best for my application & why.

View 12 Replies View Related

Server :: Apache Virtual Host Setup

Oct 29, 2009

I have 4 domains registered through godaddy. I have a dell poweredge box with one static IP hosted somewhere. I want the 4 domain to resolve to four different sites. I have already created 4 different sites in apache with four different aliases and has enabled it.

eg
alias /a /var/www/a
alias /b /var/www/b
alias /c /var/www/c

I want to acomplish.

www.a.com ==> xx.xx.xx.xx/a
www.b.com ==> xx.xx.xx.xx/b
www.c.com ==> xx.xx.xx.xx/c

I tried with godaddys forward with masking option. It works but I can't hide xx.xx.xx.xx/a in the links. Whats the best approach? One limitation is I cannot use the webhosts name servers. How do I set this up with name based virtual hosting? Do I setup a DNS server in the box?

I do have a dns host name for my box which is publicy accessible. Some my.ca.examplehost.net

View 3 Replies View Related

OpenSUSE :: How To Setup A Mysql Server

Dec 11, 2010

i want to setup a mysql server, however,,there are no mysql packages version 5.1.53 in the opensuse 11.3 repo's even not phpmyadmin where can i find mysql, mysql-client, mysql-community-server for version 5.1.53?

View 6 Replies View Related

Ubuntu Servers :: MySQL - Setup An Active / Active Load Balanced And High Available?

Mar 11, 2011

how to setup an Active/Active Load Balanced and High Available (If one of the nodes is down the system still runs) MySQL cluster. I have found quite a few howto's but I have some things unclear in my mind. I found a few solutions like this one: [URL] or this: [URK] Those are using two or four MySQL nodes, two Load Balancers to avoid a single point of failure but only one MySQL cluster management server. What happens if the MySQL cluster management fails?

I have also found a "MySQL Master-Master Circular Replication" technique but from what I read, with this option there is a chance that conflicts will arise if node A and node B both insert an auto-incrementing key on the same table.

View 1 Replies View Related

Networking :: IPtables Rules For Master DNS Server To Allow Zone Transfer

Oct 24, 2010

I have set up a master DNS server at 192.168.50.9 and a slave DNS at 192.168.50.6. Both servers are BIND9.Machines are for testing/experimenting, hence the IP addresses. Initially, the zone transfer was blocked by the firewall on the master, as the slave uses randomly selected non-privileged ports for zone-transfer query. So, as far as I understand, there are two possible approaches:

1. Allow connections based on source, which should be
Code:
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW,ESTABLISHED -s 192.168.50.6 --sport 1024:65535 --dport 53 -j ACCEPT
(and it works for me fine)

2. Allow ESTABLISHED and RELATED connections, which would be something like
Code:
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
which was my initial idea but didn't work, but has inspired me to dig deeper into firewall configuration topics :).

Question: Does zone change notification message count for opening a dialog, or notification from master and slave zone update request are two absolutely separate actions? If the latter is true, that, of course, explains why option #2 didn't work.

View 2 Replies View Related

Server :: TSIG - Hand Master Logs - Transferred Denied?

May 4, 2010

i've 2 namesevrers running bind 9 and i restricted the transfer between the master and salve through the TSIG, The transfer goes well with no problem for all zones but when i make dig axfr domain.tld @master i got transfer failed and on the other hand master logs said that transfered denied?

View 4 Replies View Related

Ubuntu Installation :: 10.10 Server And MySQL Setup

Dec 17, 2010

I will preface this post by saying I am completely new to any flavor of Linux and even in Windows. I don't do much in the command line so I am very much at the steep part of the learning curve. I have Ubuntu Server 10.10 installed on a vm using VirtualBox. I installed the Server GUI, Apache and MySql using the command line. Now I want to be able to use a GUI for MySQL so it should be an easier transition coming from MS SQL. I downloaded MySQL Workbench which sounded like the add on I wanted. I have the .deb file on a CD. Now I have no idea how to put it all together.

View 1 Replies View Related

General :: Configure Load Balancer To Create A 4 Server Web Farm

Feb 8, 2011

How to configure load balancer to create a 4 server web farm.

View 1 Replies View Related

Server :: Configure Master / Slave Dns Using SSL Authentication While Transferring The Zone Files

Jul 11, 2011

In our Server they configure Master / Slave Dns using SSL authentication while tranfering the zone files, i dont have much idea about ssl authentication for Dns, how it will works

View 3 Replies View Related

CentOS 5 Server :: MySQL Setup Without 'mysql.server'

Jul 14, 2010

I am using CentOS5 and installed the MySQL for server during the installation. I can set up and use MySQL databases. But I cannot make it startup everytime the server restarts. And quite a lot of methods need this folder "support-files/mysql.server", while my set up cannot find this. I am wondering if my installation of the MySQL for server is complete or not.

View 4 Replies View Related

Ubuntu :: Complete Server Setup From Scratch To Host Own Website?

Jan 18, 2011

setting up a web server and somehow searched the net for the best secured and optimized combination of packages. To focus on an example, let say you wanted to put up a website that's most likely similar to myspace / friendster / facebook or other related social network with high traffic. It would be nice to have a step-by-step guide on what are the requirements and best combination of packages to use. I'm sure this would be of best interest to everyone specially those who are just starting up. As we are going to focus on a webserver to host our own website lets assume we have the initial hardware/software resources for our server such as

A Core2 Dou 2.33Ghz CPU with 4Gb memory, 80Gb HD
Ubuntu 10.10 Server 64bit.
HardwareWhat would be the advisable internet connection speed that can accommodate the type of website that we're putting up. (please consider that we are going to host this at our own home)I pressume the hardware mentioned above is more than enough but just incase, Do we need more hardware resources than the one mentioned? (considering the huge amount of photos that will be uploaded)Software What would be the best choice combination of packages for the following ?Http Server (ie. nginx, apache and etc)

Email Server (ie. postfix, courier and etc)
Email Client (ie. roundcube, squirell mail etc)
Database Server (ie. mysql, postresql and etc)

[code]....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved