Questions tagged [best-practices]

Questions asking for best practices in a given field. Be aware, that sometimes there might be no generally accepted best practices, in which case the question is likely to be closed for being subjective.

351 questions
1
vote
1 answer

Backup strategy for SMB

I'm supporting a small business with 4 XP desktops, 2 Windows 7 desktops and 1 Server 2008 (R1) which is the file/print server, domain controller and contains Active Directory. I've tested regular Windows backup as well as a commercial backup…
KP.
  • 33
  • 3
1
vote
2 answers

When is it not worth putting Apache in a chroot jail?

I don't mean to question the well established security precaution of putting apache in a chroot-jail in most scenarios but in my scenario I have doubts. We have a virtual server hosting a single application - a webservice. This guide says I should…
KCD
  • 958
  • 3
  • 12
  • 24
1
vote
1 answer

What are the best practices or pitfalls when managing web app deployment using OS package management (deb, rpm)?

I heard about this at a talk over the weekend and it sounded like a great idea for a few reasons I can think of: ensures dependencies are met and not broken (e.g. web app requires specific version of imagemagick) helps make spinning up new servers…
1
vote
2 answers

Best practice for floating license purchases?

Is there a best practice for determining how many floating licenses of a product to buy? I need to purchase Rational Rose for 15 developers, but I'm unsure as to how to determine how many floating licenses that will translate to. Since this is a…
nathan
  • 156
  • 1
  • 6
1
vote
2 answers

What is preferred in VLAN environment, global spanning tree or per-vlan spanning tree?

Suppose you have a big switch with several VLANs. What is the recommend best practice with regards to spanning tree? I see you can configure global spanning tree, and there is per-VLAN spanning tree. What is the preferred best practice in this…
Keith
  • 331
  • 1
  • 6
1
vote
2 answers

datacenter network change control best practices

I have been tasked with compiling a list of possible network equipment changes at a data center. The task includes tagging which changes need change control and which don't. Does anyone know of a "best practices" list that I can start from? The…
jpolache
  • 155
  • 8
1
vote
4 answers

Plugging Surge Protectors into UPS

Possible Duplicate: UPS and power strip interactions? I have heard that plugging a server into a surge protector (cheapo power strip) is not good. Is this accurate? For instance: Server --> Fellows Power Strip --> UPS -Josh
Josh Brower
  • 1,669
  • 3
  • 18
  • 29
1
vote
4 answers

Editing root-writable files with only sudo rights

Our sysadmins login to boxes using unprivileged accounts with sudo rights. I often, out of habit, open files in vim instead of sudoedit. I do not want to get into the habit of using sudoedit. My colleague suggested creating a vim symbolic link in…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
1
vote
2 answers

Best way to physically trace and document your network cabling and equipment

I am starting my network inventory and I would like to minimized wasted time and do a good work for me and for people coming after me. It's a 4 floor building and there is no documentation about nothing (welcome to Italy). Should I use a software (i…
Pitto
  • 2,009
  • 10
  • 33
  • 49
1
vote
5 answers

Setting up DNS records for a shared host

So I'm setting up this server right now that'll host multiple websites / domains. What are the current best practices with regard to DNS records? I admit to 'just having done something' up to now, which is pretty bad. Mea culpa. And though it has…
wzzrd
  • 10,409
  • 2
  • 35
  • 47
1
vote
2 answers

Is there any advantage to creating a subdomain for my LDAP server?

Having just started using OpenLDAP to authenticate users across web apps, I'm intrigued by a pattern I'm seeing in the documentation: Most install/config guides seem to (implicitly) recommend running the ldap server on ldap.whatever.org. As I…
Tom Wright
  • 914
  • 3
  • 12
  • 25
1
vote
5 answers

What to document in my network/domain?

I am doing system admin for a small domain on the corporate network. We have our own DNS, AD, DHCP servers etc and use both HyperV and ESX. What exactly do I need to document for this sort of setup? For example, I have documented all the passwords…
GurdeepS
  • 1,646
  • 5
  • 26
  • 33
1
vote
1 answer

Practice of high frequency scheduled Ansible playbook runs

I'm fairly new to administrating servers with configuration managers such as Ansible. I plan on running playbooks automatically on a schedule (via something like Ansible Semaphore, or even just Cron) with high frequency (like every 30 minutes or…
1
vote
1 answer

Is it bad form to create an Ansible role just for setting facts?

I've got one of those situations where I could write a three task role to lookup, sort and extract a set of values like: - name: Lookup available AMI instances amazon.aws.ec2_ami_info: filters: ... register: _ami_info - name: Sort by…
1
vote
0 answers

Add some text to curl's user agent string? (i.e. curl with a UA that includes curl's default UA & my text)

I am writing a shell script which uses curl(1) to download files. By default curl will set a HTTP User-Agent (UA) to something like curl/7.74.0. I want to be a good internet citizen and set the UA to say what my script is. Since the software that is…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253