Tag Info

Hot answers tagged

20

A couple places to start: listening services (netstat) - this should, generally speaking, give you a decent idea of what's going on with the system. /root/.bash_history (or that of other users, if they didn't use root) - whatever's been going on on the console will, ideally, be related to the purpose of the system. /var/log - take a glance at the standard ...


18

NAS Definitely not NAS for SQL Server. SMB/CIFS does not have adequate support for file locking to support a DBMS (at least it didn't a few years ago, ca. 2002-2003). Note that NFS does and you can actually do this with Oracle on an NFS server. However, SQL Server on a CIFS share is not reliable due to limitations of the protocol. It may not even let ...


18

That option is not one that is set by a system administrator. It is the default when you RDP into a domain-joined server. You can find registry hacks to change this default here: http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/06df9377-9f58-4b39-a72f-9261ec2837ab


13

Specifically for /tmp: Should ln -s /var/tmp /tmp? In the case of a complete in-memory disk image (think "live boot CD") this might be acceptable, as every byte of RAM needs to be squeezed. Otherwise, unless you are hard-pressed for disk space, no. /var has its own peculiarities and mixing /tmp with /var/tmp may have unintended consequences when ...


12

Hardly scientific I know but if you get permission from your management I'd consider pausing the VMs - you'll find out if they're important quicker that you'd think, if it stays paused with nobody complaining...well that tells you something else. Seriously though you could spend a career trying to figure them out without every truly knowing everything they ...


11

If the one server will be running all components in the stack (HTTP service and database service, and whatever else) then the answer is absolutely yes. If the machine will only run the front-end services, the answer is still most likely yes. At the basic level, web serving capacity is driven primarily by memory capacity. After that, things like I/O and ...


11

They're actually different products that solve different specific problem classes, but when used together can solve as a system the overall problem of managing a distributed application. Products like RightScale are good at turning on new machines when needed. Products like Puppet/Chef/bcfg are good at turning just-turned-on machines into productive ...


10

You can use any of the modern change automation tools (Puppet, Chef, cfengine, bcfg2, and so forth) for this. Any of them can deploy files, and restart services when files they manage are modified. I've had great success with Puppet over the last few years in several environments. Once you start using the tool for everything, it has the added benefit of ...


10

Keep them the same. The chance that you will have some incompatibility that manifests itself only in a certain configuration are minimal and afterwards you will have to remember the differences for everything you do.


8

The Powers That Be can clarify things of course, but the entire StackOverflow Network runs on IIS servers with an SQL back end in an Active Directory Domain. I'd say it works well. added complexity - it's one more "thing" running, and doing "things" that could go wrong. Sometimes adding complexity allows you to remove some. Especially if you're ...


8

I'm looking for the best architecture that will give me the highest performance. What is the question here? Do not get me wrong, but there is exactly ONE way to do that - put the database in the fastest SSD you can get. May it make sense? No idea, but you do not ask for a fast enough scenario, but the HIGHEST performance. and I now have a 300GB ...


7

To lessen the load on the client side. If you do use the NFS route, consider using automount ( autofs ). This will mount the NFS exports as they are requested from the server. Here is a short automount tutorial, and here is the why.


7

Having the databases on different spindles will most likely perform much faster if they are in use at the same time. If they experience busy periods that are offset from each other though a single RAID array will perform faster as a single database's reads will be spread over multiple drives (which it never will if it is on a single drive, of course). RAID5 ...


7

I was surprised to see that the first answer suggested wasn't ps -ef, so I'll add it: if you want to know what a system is doing right now, read the process list, paying particular attention to what root is up to, and whether there are processes owned by conspicuously-named users (mysql, named, etc). I'd then compare my process list against lsof run as root ...


7

There are a few advantages to Varnish. The first one you note is reducing load on a backend server. Typically by caching content that is generated dynamically but changes rarely (compared to how frequently it is accessed). Taking your Wordpress example, most pages presumably do not change very often, and there are some plugins that exist to invalidate a ...


6

Yes. See the Apache Documentation, and specifically the Virtual Host examples, one of which is partially reproduced below (vhosts distinguished by IP address). # First Virtual Host (e.g. your main website) <VirtualHost 172.20.30.40> DocumentRoot /www/example1 ServerName www.example.com </VirtualHost> # Second Virtual Host (e.g. your apps) ...


6

Well, this is rather old, but anyway, I found a work-around. I have a setup with vhosts configured in this style: /etc/nginx/sites-enabled/site.com.conf Instead of checking if the file exists (which isn't possible), I simply do: include /etc/nginx/sites-customizations/site.com.*.conf This way I can simply create a file in the ...


6

Your problem is not FreeBSD, it's Apache. Apache 2.4 has substantially different configuration file directives than Apache 2.2. You cannot just throw the 2.2 configuration file in place and start your 2.4 server using it - you will need to put important bits (like the SSL Certificate and Key files - per the error message you're getting) in place, and ...


5

Personally I leave them in. A lot of the time, the commented-out directives have their defaults explicitly specified plus a brief description of the purpose and possible values for their field. Makes finding the right words for google searches much faster sometimes. In general, my theory is that eventually I'll put them in a revision control of some sort ...


5

Try verbose mode in rsync by adding -vvv to see where it is failing. Are you using a very old version of rsync that doesn't default to using ssh (older than 2.6.0)? If so, try adding -e ssh to force ssh mode. Please edit your question and paste your debug output and the exact rsync command line you are trying to run.


5

It's impossible to say since we don't know what "quite intensive" means and if you already have bottlenecks. Anyway, what's most likely to help might if you have bottlenecks is Much more RAM Faster disks. Think a hardware RAID controller with 10K/15K RPM SAS disks or even SDD drives, in hot swap cases. I don't see if you have redundant power supplies. ...


5

Most likely you have incompatible Apache build. You have not mentioned where did you download Apache HTTPD from + what PHP version do you have. Get latest Apache build from Apache Lounge website -- their builds are compiled with VC9 while apache.org builds are still VC6. You need VC9 build as that is how official PHP builds are compiled now (you can read ...


5

It looks like the only way to that is to edit the source code. The following #define in src/http/modules/ngx_http_autoindex_module.c have to be changed: #define NGX_HTTP_AUTOINDEX_NAME_LEN 50 Maybe something else needs to be tweaked too, but that's what I saw at first glance.


5

As mailq mentioned, DNS supports wildcard host entries (while the hosts file does not). A DNS record with the name * will match all names for which there is no other record on that name, returning the wildcard record. An entry would look like this: * IN A 192.0.2.1 But, I'm not sure why you'd want to do that pointing to 127.0.0.1 - can you ...


5

tasksel, but all it does is some package-preselection, nothing you couldn't do with aptitude or something similar.


5

Usually you setup two subnets/networks/vlans. The client and servers will resolve any network addresses used to an IP on the network reserved for that purpose.


5

Don't reinvent the wheel. The tools exist to do what you need. You may want to look at bcfg2, especially since you seem to be particularly focused on configuration files. Think about services, too. Where does the central repository need to be in relation to the production server? Maybe an intermediate option could be carful modification of the output of the ...


5

performance reasons Performance is largely dependent on the actual application you're running. If there's specific kernel improvements in the area of performance you'd like to take advantage of you can leverage the LTS Enablement Stacks for a later kernel version and associated programs security reasons Given that 12.04 is an LTS edition, any ...


4

You'll definitely want RAID if your DC is running on it. You'll also want something from the VMWare Hardware Compatibility List, as it only supports certain systems. http://www.vmware.com/resources/compatibility/search.php?ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a For a CPU, I'd say get at least a Quad Core ...


4

Generally on sarge I think we ran into issues around 30-40 mounts and we had to change our maps so we did less mounts. Just a cut and paste from: http://nfs.sourceforge.net/ Why can't I mount more than 255 NFS file systems on my client? Why is it sometimes even less than 255? A. On Linux, each mounted file system is assigned a major number, which ...



Only top voted, non community-wiki answers of a minimum length are eligible