Jump to content

Server tips for newer people

Server tips to save your hair: or maybe the "Don't list."

 

AD should always be on its own server/vm host but can include services such as integrated dns. (Always have 2 or more Domain Controllers, however both can be VM's if everything is following best practices - i.e. set to boot first after critical server maintenance, etc. There are exceptions to this (i.e. small branch office with RODC), if in doubt look at the Technet best practices articles)

 

AD backups last 90days max if you try to go back further than this, it “might” work, if very very little has changed, but is never recommended.

 

You can quickly spot someone who has no clue about AD when you ask them what’s their domain/forest level? If the response is we have upgraded everything to Server 2012 R2, and then find out they are at 2003 domain level, this is a quick face palm. (Better yet, is to know what each functional level does, going from 2k3 -> 2k8r2? good upgrade, going from 2k8R2 -> 2k12r2, only if you have the time, yes there are more important things to work on)

 

Email servers are complex and should be treated as such, make sure you have gone toughly threw the basics such as MX records and correct IP’s. (better yet, stop hard coding IP's where possible? DNS was invented for a reason, you might know if if you added a CNAME or A Record to it. Even better, learn what forward and reverse lookup zones are).

 

Everyone likes different server OS’s for different reasons. If you just installed linux or BSD for the first time ever, you probably should do some more research before jumping in the “help me plz pool”. (Yep, we all spent years and hundreds of dollars learning this stuff, and we've only just passed the 'mt. stupid part', pick up a book read about it)

 

Virtualizing just to virtualize is a bit silly, why would you want to run all of these VMs, on a toaster? (If it is part of a larger plan, i'd say it's fine, abstracting the HW layer is a good thing - i.e. Motherboard crashed on main host, just host in to another box till vendor replaces mobo, no need to worry about drivers).

 

For the last time Freenas wants direct access to your drives this means HBA cards or direct motherboard connections, leave them high dollar raid cards alone.

 

For the love of all that is holy, do not use .local or .com .net etc for your domain. This can cause so many issues, pick something different and learn about FQDN's. (It's not an issue is you actually own the domain)

 

Enthusiast hardware is not enterprise hardware and should not be treated as such. A major reason the enterprise stuff is stupid expensive is redundancy and support. The reason you think enthusiast stuff is expensive is all them features like overclocking.

 

“But, yo dog I spent $1000 on dis bad ass xeon.” I am sorry you didn’t scale your build to your needs properly.

I will add more as this progresses.

 

Raid   Back up    Linus proved this when one of his cards tanked. 

 

99% of Rack hardware is designed to sit right on top of one another. Leaving gaps can cause airflow issues(this is more noticeable in data centers with multiple racks).

 

Cabling does matter in your rack because a curtain of cables can and will block airflow.

 

You don't need a ballin rig for pfsense. The main concern is having enough NIC's

 

Running a decent size production environment database on access. I cringe every time.

 

When removing an exchange server from production, do NOT just shut down the server and delete the VM later. This leaves traces of this old exchange server lingering in AD. Run the uninstaller and it will clean itself out of AD. 

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Smite said:

For the love of all that is holy, do not use .local for your domain. This can cause so many issues, pick something different.

 

lol, and don't use a TLD (e.g .com, .net, .org, etc...) unless you actually own the domain for an FQDN.

The amount of people that make it .com/.net because of the example contoso.com zzz

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO | 12 x 8TB HGST Ultrastar He10 (WD Whitelabel) | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, Smite said:

AD backups last 90days max if you try to go back further than this, it “might” work, if very very little has changed, but is never recommended.

If it is a single restore of a single domain controller then by policy the other domain controllers will not allow the restore or allow this old domain controller back in to the system. If you are restoring the whole of AD if all of it died then what will most likely happen is every machine will have broken trust relationships.

Link to comment
Share on other sites

Link to post
Share on other sites

On 2016-02-26 at 1:24 AM, Zodiark1593 said:

RAID does not == Backup.

My old boss couldn't understand that difference. His server (Small office, ~5 users) ran a RAID1 mirror, which he considered a local onsite backup. He didn't understand that the RAID1 mirror wouldn't protect against accidental file deletions, virus infections, randsomware, etc.

For Sale: Meraki Bundle

 

iPhone Xr 128 GB Product Red - HP Spectre x360 13" (i5 - 8 GB RAM - 256 GB SSD) - HP ZBook 15v G5 15" (i7-8850H - 16 GB RAM - 512 GB SSD - NVIDIA Quadro P600)

 

Link to comment
Share on other sites

Link to post
Share on other sites

On 2/25/2016 at 6:44 AM, Smite said:

Server tips to save your hair: or maybe the "Don't list."

 

AD should always be on its own server/vm host but can include services such as integrated dns. (Always have 2 or more Domain Controllers, however both can be VM's if everything is following best practices - i.e. set to boot first after critical server maintenance, etc. There are exceptions to this (i.e. small branch office with RODC), if in doubt look at the Technet best practices articles)

 

AD backups last 90days max if you try to go back further than this, it “might” work, if very very little has changed, but is never recommended.

 

You can quickly spot someone who has no clue about AD when you ask them what’s their domain/forest level? If the response is we have upgraded everything to Server 2012 R2, and then find out they are at 2003 domain level, this is a quick face palm. (Better yet, is to know what each functional level does, going from 2k3 -> 2k8r2? good upgrade, going from 2k8R2 -> 2k12r2, only if you have the time, yes there are more important things to work on)

 

Email servers are complex and should be treated as such, make sure you have gone toughly threw the basics such as MX records and correct IP’s. (better yet, stop hard coding IP's where possible? DNS was invented for a reason, you might know if if you added a CNAME or A Record to it. Even better, learn what forward and reverse lookup zones are).

 

Everyone likes different server OS’s for different reasons. If you just installed linux or BSD for the first time ever, you probably should do some more research before jumping in the “help me plz pool”. (Yep, we all spent years and hundreds of dollars learning this stuff, and we've only just passed the 'mt. stupid part', pick up a book read about it)

 

Virtualizing just to virtualize is a bit silly, why would you want to run all of these VMs, on a toaster? (If it is part of a larger plan, i'd say it's fine, abstracting the HW layer is a good thing - i.e. Motherboard crashed on main host, just host in to another box till vendor replaces mobo, no need to worry about drivers).

 

For the last time Freenas wants direct access to your drives this means HBA cards or direct motherboard connections, leave them high dollar raid cards alone.

 

For the love of all that is holy, do not use .local or .com .net etc for your domain. This can cause so many issues, pick something different and learn about FQDN's. (It's not an issue is you actually own the domain)

 

Enthusiast hardware is not enterprise hardware and should not be treated as such. A major reason the enterprise stuff is stupid expensive is redundancy and support. The reason you think enthusiast stuff is expensive is all them features like overclocking.

 

“But, yo dog I spent $1000 on dis bad ass xeon.” I am sorry you didn’t scale your build to your needs properly.

I will add more as this progresses.

 

Raid  Back up    Linus proved this when one of his cards tanked. 

 

99% of Rack hardware is designed to sit right on top of one another. Leaving gaps can cause airflow issues(this is more noticeable in data centers with multiple racks).

 

Cabling does matter in your rack because a curtain of cables can and will block airflow.

 

You don't need a ballin rig for pfsense. The main concern is having enough NIC's

 

Running a decent size production environment database on access. I cringe every time.

 

When removing an exchange server from production, do NOT just shut down the server and delete the VM later. This leaves traces of this old exchange server lingering in AD. Run the uninstaller and it will clean itself out of AD. 

 

 

F some of TFY.

 

Good points.

Link to comment
Share on other sites

Link to post
Share on other sites

46 minutes ago, Blake said:

F some of TFY.

 

Good points.

 

I very much agree with your amendments, especially around the always run two domain controllers and virtualization strategy.

 

I'd also like to add that not all UPS's are equal, as mentioned in Linus's Eaton UPS video. Eaton also happens to be my much preferred brand. If possible always buy an Online Double Conversion UPS with network management module and ability to graceful shutdown VMs. Never just let a virtual host die or only graceful shutdown the host and not the VMs on it.

Link to comment
Share on other sites

Link to post
Share on other sites

Always put shares behind a DFS namespace, you will thank yourself in 3-5 years time when you go to migrate the physical storage system.

Link to comment
Share on other sites

Link to post
Share on other sites

On 2/25/2016 at 9:44 PM, Smite said:

For the love of all that is holy, do not use .local or .com .net etc for your domain. This can cause so many issues, pick something different and learn about FQDN's. 

Well, if you run an AD with Exchange Servers in it (lowest version Exchange 2010 or better higher) and you have Exchange "autodiscover" setup correctly, then it is very easy for the people to remember "E-Mail-address equals username".

 

And if you plan to run a hybrid environment with Office 365 and putting like Exchange in the cloud, Microsoft also advises you to change your login domain to your used e-mail-address-domain (like making your AD to whatever.com when your e-mails will be someone@whatever.com and also the username of the persion will be "someone").

 

It really depends on how you want it: Convinient for the end-users = running you internal domain like your external domain and using split DNS or more secure by obfuscating the e-mails of your users and the associated username (including the user domain).

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, pat-e said:

Well, if you run an AD with Exchange Servers in it (lowest version Exchange 2010 or better higher) and you have Exchange "autodiscover" setup correctly, then it is very easy for the people to remember "E-Mail-address equals username".

 

And if you plan to run a hybrid environment with Office 365 and putting like Exchange in the cloud, Microsoft also advises you to change your login domain to your used e-mail-address-domain (like making your AD to whatever.com when your e-mails will be someone@whatever.com and also the username of the persion will be "someone").

 

It really depends on how you want it: Convinient for the end-users = running you internal domain like your external domain and using split DNS or more secure by obfuscating the e-mails of your users and the associated username (including the user domain).

You can change users UPN to use the email domain so the email address will work for username and have different local internal domain name than the email domain name.

 

We used to do a lot of hybrid Office 365 deployments with onsite existing exchange servers for schools. Students would have their mailboxes in Office 365 and staff local. Student email addresses would be a subdomain i.e. my.<schoolname>.school.nz and we would set the UPN to <username>@my.<schoolname>.school.nz. Probably not the best deployment configuration for a true hybrid setup but the easiest and least disruptive to an existing setup.

 

Also I'm not a dedicated Exchange/O365 admin so I will defer the best advice to someone that actually is.

Link to comment
Share on other sites

Link to post
Share on other sites

8 hours ago, Blake said:

Snip

Updated will all of your comments, 100% agree

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, leadeater said:

You can change users UPN to use the email domain so the email address will work for username and have different local internal domain name than the email domain name.

 

We used to do a lot of hybrid Office 365 deployments with onsite existing exchange servers for schools. Students would have their mailboxes in Office 365 and staff local. Student email addresses would be a subdomain i.e. my.<schoolname>.school.nz and we would set the UPN to <username>@my.<schoolname>.school.nz. Probably not the best deployment configuration for a true hybrid setup but the easiest and least disruptive to an existing setup.

 

Also I'm not a dedicated Exchange/O365 admin so I will defer the best advice to someone that actually is.

I know about UPN change, but sometimes when you have an old environment running all sorts of servers (some are Windows 2012 R2, some are still Windows 2003 with very old legacy apps), then multiple UPN are not supported by some specialized applications.

 

The thing with the selection of AD-name: Consider possible forecasts, what does your business want, what does your "it security" say about possible naming, etc.

 

Sometimes the IT-department is not the deciding part but only the "team who implements the wishes of the business".

 

And generally: It is always better to work as IT-Department together with your business (or other non-technical departments).

Link to comment
Share on other sites

Link to post
Share on other sites

30 minutes ago, pat-e said:

I know about UPN change, but sometimes when you have an old environment running all sorts of servers (some are Windows 2012 R2, some are still Windows 2003 with very old legacy apps), then multiple UPN are not supported by some specialized applications.

 

The thing with the selection of AD-name: Consider possible forecasts, what does your business want, what does your "it security" say about possible naming, etc.

 

Sometimes the IT-department is not the deciding part but only the "team who implements the wishes of the business".

 

And generally: It is always better to work as IT-Department together with your business (or other non-technical departments).

Schools were never a very complex environment and since the Microsoft agreements here are so good they are always up to date with the latest products. I never did like the way we setup the O365 deployments but that was our company standard and for support reasons it is better to keep every client setup the same.

 

I don't work for that company anymore so I don't have to care now :). I work for a large University and yea we are still trying to decommission old 2003 servers that run custom software critical to business processes.

 

I will say working for an IT consulting company versus in-house IT team is vastly different, I like both but some advice suits each type better etc. IT consulting is also far more demanding work load wise, at least going from where I was to where I am now.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×