Server :: Synchronizing /etc/hosts Files Across Multiple Servers?

Jun 16, 2011

I have 16 linux servers that use /etc/hosts files to see and talk with each other. I'm adding servers to this pool of servers. It is required to do host resolution via the /etc/hosts files. DNS or NIS are not alternatives. Aside from manually editing each of the 16+ /etc/hosts files every time I add a server or editing one /etc/hosts file on one server then scp'ing it to all the other servers, is there anyway to edit the /etc/hosts on one server and "push" it onto the other servers that need the new /etc/hosts file?

Everywhere I've looked on the Net, there hasn't been any suggestion except for the options I mention here.

Or am I just whistling in the wind?

View 6 Replies


ADVERTISEMENT

Ubuntu Servers :: Apache2: SNI & Virtual Hosts - Multiple Virtual Hosts With Ssl And Only 1 Ip Address

Jan 17, 2011

[Code]....

What I want: multiple virtual hosts with ssl and only 1 ip address: In my example: server = 192.168.227.129

[Code]....

View 9 Replies View Related

Ubuntu Servers :: Multiple Virtual Hosts, Http And Https?

Sep 15, 2010

What is the best way to go about setting up multiple virtual hosts on the same box, one using http and one using https/ssl? I'd like to serve them from the same ip address if possible; I know it's possible in apache 1.3.

View 2 Replies View Related

Ubuntu Servers :: Apache Multiple Hosts Defined Only One Page Is Served?

Dec 30, 2010

I have a server that host's several sites, recently I had to create a new server because the old one isn't good enough for me. Ive installed apache2 on the new server and moved all the files from one server to the other. I'm making tests in my local lan so I've edited my computer's hosts file to point to the name of each site to the local ip of the new server:

192.168.1.85 www.mypage.com
192.168.1.85 svn.mypage.com
192.168.1.85 trac.mypage.com

I have all the site definition files in /etc/apache2/sites-available I also have the used a2ensite to enable each page.

Whenever o use my browser to try and access each of the sites I always get the svn.mypage.com page and none of the others.

here is some debug info:

Code:
sudo apache2ctl -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:

[Code]....

View 1 Replies View Related

Ubuntu Servers :: NameVirtualHost 80 Has No Virtual Hosts Apache2 Hosting Multiple Sites Without DNS?

May 10, 2010

I have some problem in apache2 configuration. I have two websites on same IP on LAN.i.e. 192.168.1.5

[Code]...

What should I check in a few blogs I checked they said to mention in [URL]...But in this case what should I put I have two different websites or what other thing I have missed? I do not have access to DNS so that on LAN I can point site1.abc.com and abc.com to same IP 192.168.1.5 which to me seems could resolve the issue.

View 6 Replies View Related

Server :: Configure Multiple Smart Hosts?

Mar 11, 2010

We have a requirement to configure multiple email gateways, for mail accounts configured on linux server. the application will trigger mails (bulk mails) and we would like to configure multiple email gateway to be used.

we decided to do it this way.

In dns we would create MX records like

yourdomain.com. 3600 IN MX 20 realmailserver1.yourdomain.com.
yourdomain.com. 3600 IN MX 20 realmailserver2.yourdomain.com.

where realmailserver1.yourdomain.com. and realmailserver2.yourdomain.com. will be our email gateway.

and internally on our linux server (from which mail is sent) if i specify multiple smart hosts like

define(`SMART_HOST',`esmtp:realmailserver1:realmailserver2')dnl

View 2 Replies View Related

Server :: Set Up Multiple Name Based SSL Hosts On A Single IP?

Feb 27, 2011

have a look at the following thread story and please clear my doubt.

View 6 Replies View Related

Server :: Separate SSL Sites For Multiple IP / Name Based Virtual Hosts?

Feb 15, 2011

I have set up a SSL site for my default Apache server. But I want to set up multiple SSL sites for multiple IP based as well as Name based Virtual hosts. Is there a way where in I can include definitions for SSL certificates and keys within the Virtual Host directive in the httpd.conf, so that I can specify separate key and cert file for every Virtual Host.

View 11 Replies View Related

Ubuntu Servers :: Setup A Home Server For Backing Up And Storing The Files On Multiple (Windows) Computers?

Feb 3, 2010

I'm looking to setup a home server for the purpose of backing up and storing the files on our multiple (Windows) computers. What kind of server should I set up? Samba? Lamp?

View 5 Replies View Related

Ubuntu Servers :: Synchronizing Users Across Servers?

Oct 1, 2010

I wonder if other people have this problem. sometimes I need to duplicate most or all of a server from one machine to another. part where I most tend to have issues is with recreating the users. Sometimes the UIDs don't match up because of differences between the two systems, which gives funky results, like files owned by the wrong user.

Or, sometimes, I just need to create the same 10 users on x number of machines, and it's tedious to do this 10x times. Plus, then, if you need to change a password or delete a user, you have to do it x times.Any recommendations on how to centralize users/auth?

View 3 Replies View Related

Ubuntu :: Reverse Proxy Setup - Pass Multiple Domains Thruough One Server To Various Hosts On Local Network

Apr 13, 2011

I'm trying to pass multiple dpmains thru one ubuntu server to various hosts on my local network.

[url] should be sent to the /var/www folder on the local host.

[url] should be forwarded to an IIS box on my local network (owa.nunya.local)

[url] should be sent to another ubunto box on my local network (smtp.biznet.net)

I have tried placing VirtualHost entries in /etc/apache2/sites-available/default and [url]and [url] both work but [url] gets forwarded to the c:inetpub folder on the IIS box.

View 2 Replies View Related

Ubuntu :: Configuring Webmin Postfix Server With Multiple Postfix Virtual Hosts?

Sep 25, 2010

is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..

View 1 Replies View Related

General :: Multiple Servers Or One Server With Multiple VMWare?

Feb 7, 2011

I'm looking at setting up a couple automated systems: Here are a few examples:

* Internal accounting system to download and process emails
* Public web server to visit

I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?

To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.

View 2 Replies View Related

Server :: Append A Set (or Sets) Of Data To A File(or Files) On Remote Hosts?

Dec 26, 2009

If I need to append a set (or sets) of data to a file(or files) on remote hosts what is the best mechanism by which to do that? My first thought was ssh but the command syntax to append to a remote file isn't clear to me. Can anyone point me in the right direction here?

View 4 Replies View Related

Server :: Synchronizing Server Time With Ntpdate Command In Cron?

Jul 14, 2011

we are synchronizing server time with ntpdate command in cron.how often should it run?

View 3 Replies View Related

CentOS 5 :: Install The Most Basic FTP Server Available Just So We Can Share Files Back And Forth Between Test Hosts?

Mar 11, 2011

For use on a test LAN, ie. security is not an issue, I need to install the most basic FTP server available just so we can share files back and forth between test hosts : launch FTPd, have it share a directory through either "anonymous" or a single, shared login/password?

View 8 Replies View Related

Fedora :: NTP - Synchronizing With Time Server Failed

Apr 9, 2010

I am trying to synchronize the time of a PC using NTP using a server on LAN. Both the PCs do not have internet. I have made changes to the /etc/ntp.conf file of both the server and client . But still on rebooting is shows Synchronizing with time server failed. I am attaching the ntp.conf file of both server and client.

View 13 Replies View Related

Ubuntu Servers :: Windows DHCP Server - Multiple Boot Servers ?

Apr 1, 2011

I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.

These are the instructions I received:
Login to your windows server and load the DHCP configuration screen
Create a DHCP reservation for the MAC address you obtained
Add the configuration options below to enable the machine to boot from the LTSP server
017 Root Path: /opt/ltsp/i386
066 Boot Server Host Name: <ip address>
067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'

From: [url]

I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.

1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?

2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?

View 7 Replies View Related

Ubuntu Servers :: Multiple Php.ini Files

Jul 19, 2010

I would like to have multiple php.ini files for multiple sites.

I've a production site (word wide available) and a test site (available to some selected IP-addresses). I would like to set some different PHP settings for the test site, for example, 'error_reporting' and 'display_errors'.

Is this possible? I'm not looking for some CGI hack, unless it wouldn't work any other way.

View 2 Replies View Related

Fedora Servers :: Awstats From Multiple Log Files ?

Sep 11, 2010

I'm trying to set up awstats for my web server which runs ISPConfig3. Due to ISPConfig, my log-rotated files have the extension .log.gz, and the naming syntax of DATE-access.log.gz.

According to awstats documentation, I need their tool to merge the log files, however, I cannot get it to work. I always get file not found or pipe error like messages.

Code:

I took a look at permissions, log files are world-readable. Checked path's 1000 times, no typo. When I try to find out whats wrong, the problems usually begins when I try to use the * character in the LogFile variable, ..

Anyone got experience with multiple log files and awstats? ...

View 2 Replies View Related

Programming :: Ssh Command On Multiple Hosts?

Apr 13, 2010

I want to create a script to insert the fstab and hostname in a textfile of multiple servers on the network without a password. The servers are situated in a text file. So i want to read the text file line by line and write the output into another textfile.

View 10 Replies View Related

General :: Sun Grid Engine - Reserve Multiple Cpus On Hosts

Mar 14, 2011

I am somewhat familiar with SGE (Sun Grid Engine, now Oracle Grid Engine) commands but am having a problem when running parallel jobs.

Present Machine configuration:
machine I - 12 cpus
machine II - 12 cpus
machine III - 12 cpus
.... so on ...
One_machine - 16 cpus

(I have all machine of 12 cpus and 1 machine having 16 cpus)

I want to schedule jobs on these machine such that if I ask for 12 cpus - my jobs should execute on any of the machines which has all 12 free cpus (eg machine I or machine II) in this case.

Eg. suppose I ask for 24 cpus

Option I : 12@machine1 12@machine2 ----- I need this

Options II : 10@machin1 10@machine2 4@machine3 ---- I don't need such a distribution

Hence, Option I is ideal here. Also, when running 12 jobs on machine1 (say) - even if all 12 cpus are not being used at some instance of time, none of the 12 cpus should be freed.
In short, until my run finishes, all blocked cpus should remain blocked.

If you may understand, the purpose here is to run some performance tests.

I'm using 'qrsh' to launch jobs.

View 1 Replies View Related

Networking :: DHCP - Creating Multiple Subnet Pools For Different Hosts?

Jul 16, 2010

I am trying to configure dhcpd to provide two different pools of IPs- one for dynamically named hosts specific to MAC addresses, and another for everyone else.So, a machine with X MAC address connects, gets an IP from e pool, and the server updates DNS with the address under a specific hostname.For the other pool, it just assigns the IP, no DNS updates.The "class" function doesn't appear to allow anything but pattern matching, and I can't find anything that specifies what "allow" and "deny" options therere for the pool command.Here's my config so far - will this do what I want?

Code:
key dhcpd {
algorithm hmac-md5;

[code]...

View 2 Replies View Related

Ubuntu Servers :: Change The Ownership Of Multiple Files And Directories Under A Specific Subdirectory?

Feb 19, 2010

I have a vary unique problem with file and directory ownership. I need to change the ownership of multiple files and directories under a specific subdirectory.Under this directory structure there are files and directories owned my different users and groups. I need to change all files and directories owned by "user1" to "user2". but if any are owned by "user3" I need those left alone.Is there a simple way to do this or will I need to traverse the structure and change things one at a time.

View 3 Replies View Related

Server :: How To Backup Multiple Servers

Jun 28, 2011

I am currently working on managing multiple linux servers in remote locations, servers particularly user for web hosting. I need to backup data to a backup server but rsync which i currently using doesnt helps is there any tool to backup every server with out modifying it bcos there are hundreds of servers so installing a tool in every server is time consuming process.

View 7 Replies View Related

Server :: Multiple Servers Acting Like One?

Jan 26, 2010

by now I have 10 servers for hpc, power computing oriented. My users need to launch several processes using qmake. The users are used to work with ubuntu 9.10, and the software from the repositories is switable for them. I've deployed ubuntu 9.10 to all 10 servers (pxe rocks). By now we work with parallel-ssh and cluster-ssh, which allows as to launch the same process to all servers. With this tools this tools the servers remain as independent but with the same software and the same launched command. Now we would like to go to next step and see all the servers as a single one with all the resources from the other 9 as if was its resources. The difference would be substantial in time to process and also time to design the command to launch.

View 13 Replies View Related

Ubuntu Servers :: Multiple Connections To SMB Server

May 25, 2010

I'm curious how I can use a Windows client with two separate accounts to connect, at the same time, to a SMB server hosting two shares. (Provided permissions and accounts are all in order)

Scenario:User1 is always logged onto a Windows client mapped to a Public share on a Linux SMB server.I need a way to keep User1 connected to the Public share and then when needed, allow User1 to provide User2's credentials to connect to a Restricted share.The only way I've been able to do this is to disconnect from the Public Share then reconnect to the Restricted share using User2's credentials. (This is the issue because I need to keep User1 connected to the Public share).Is this a limitation of SMB? Or am I missing a configuration? Please point me in the right direction

View 5 Replies View Related

Ubuntu Servers :: Multiple User For A Web Server?

Jan 15, 2011

create an Apache web server with multiple user accounts, for work. Each user needs to be able to upload his/her files via SSH Each user needs his/her own web directory, (preferably in their home directory for ease with permissions) There web directories need to be password protected Only one user account (mine) should be allowed remote SSH control. It needs to be easy to add new users to the system.

View 1 Replies View Related

Server :: Multiple SCGI Servers With Lighttpd?

Jul 16, 2009

I'm trying to configure lighttpd to send SCGI requests to different ports, depending on what file(s) are accessed. Is this possible? This is what I've tried, and it hasn't worked.

Code:

$HTTP["url"] == "URL1" {
scgi.server = (
"/RPC2" =>

[code]...

SCGI requests aren't sent to the correct port, regardless of what file is accessed.

View 1 Replies View Related

Server :: Multiple Streaming Servers In A Cloud?

Aug 9, 2010

I have multiple video streaming servers(Red5 running on machines internally on LAN. For different subdomains.Ubuntu 10.04 The front end to the is apache2 on a Bastion Host. To be able to reach the streaming server I embed a javascript in HTML pages as follows

Code:

<embed .....
var="rtmp://site1.my_domain.com"
>

[code]....

how will I make sure this rtmp request is mapped to a port different than 1935 as there are three other streaming servers which are also to respond to their respective requests.

View 1 Replies View Related







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