Initial thoughts of 20 year veteran: - Create a single-source-of-truth you can automate against. Do that now. Use ansible to fetch and create an overview of what your landscape actually is running: which software, which versions. Find out what is going EOL, as this will bite you soon enough. - don't automate anything else until you understand the full context of what you are automating. Automation is abstraction, and…
Ask HN: Tips on Sysadmin Job
31–40 of 65 posts
Re: Ask HN: Tips on Sysadmin Job
#32You worked together, surely there was some rapport there?
Re: Ask HN: Tips on Sysadmin Job
#33Re: Ask HN: Tips on Sysadmin Job
#34Here's what to do in the first few weeks: 1. Require not 1, but 2 people, for hire, right now. It will take a long time until it gets approved, HR does their thing, and you (or someone else) hire people to help you. 2. Document, as fast as you can, all of the assets in your environment. Don't waste time on looking for software. Plain text or spreadsheet will do for start. 3. Identify the most important assets (server…
6. Any critical assets - verify you can restore and get working offsite with 0 access to the current network
7.5 Test your backup strategy every now and then (nothing is more painful than data loss and dysfunctional backups)
8. "All users lie, there is no exception". Sad but true, get used to it.
9. Automate your infrastructure. If something goes down, just recreate it with Chef/Ansible/Terraform/etc.
[edit: added no.9]
Re: Ask HN: Tips on Sysadmin Job
#35Or at least go to your manager and make very clear that it is simply not possible to provide anything like 24/7 incident response when you are alone. That is the kind of conversation, where it is just better to get fired rather than not getting your point across.
The basic structure of the admin job is, that there is always more to do and it is very easy to burn out. There is always more to do, it is always important, but trying to chase some ideal of a perfect system will just exhaust you. Furthermore, it is not a big problem to check your monitoring before going to bed or a few times on the weekend, but that limits your rest periods to a few hours at best, you no longer get a full weekend, and that will grind you down over time. So, manage your time and sanity, and importantly also manage the expectations of your boss and co workers, there is only so much you can do when you're alone.
Re: Ask HN: Tips on Sysadmin Job
#36Here's what to do in the first few weeks: 1. Require not 1, but 2 people, for hire, right now. It will take a long time until it gets approved, HR does their thing, and you (or someone else) hire people to help you. 2. Document, as fast as you can, all of the assets in your environment. Don't waste time on looking for software. Plain text or spreadsheet will do for start. 3. Identify the most important assets (server…
You need this to know if your web sites, servers and services are running, and to be emailed or contacted when not. I am used to Nagios. I understand there is a Nagios fork, Icinga, which I know little about. Some people use Graphite, which I also know little about.
You can also have it check for disks running out, high CPU loads, inodes running out, heavy I/O etc.
Also, you can email etc. alerts, or pay for a company like Amelia to monitor a dashboard and page/call people at night if a server is down, or to even do some simple scripted remediation attempts.
Re: Ask HN: Tips on Sysadmin Job
#37Earlier quoted context omitted.
6. Any critical assets - verify you can restore and get working offsite with 0 access to the current network
7. Have a backup strategy 7.5 Test your backup strategy every now and then (nothing is more painful than data loss and dysfunctional backups) 8. "All users lie, there is no exception". Sad but true, get used to it. 9. Automate your infrastructure. If something goes down, just recreate it with Chef/Ansible/Terraform/etc. [edit: added no.9]
Re: Ask HN: Tips on Sysadmin Job
#38Earlier quoted context omitted.
6. Any critical assets - verify you can restore and get working offsite with 0 access to the current network
7. Have a backup strategy 7.5 Test your backup strategy every now and then (nothing is more painful than data loss and dysfunctional backups) 8. "All users lie, there is no exception". Sad but true, get used to it. 9. Automate your infrastructure. If something goes down, just recreate it with Chef/Ansible/Terraform/etc. [edit: added no.9]
11. Understand the reason the other guy was fired make sure you are not the one holding the bag.
12. Have a issue tracking system in place, you will thank yourself later.
13. Have a change management policy in place.
14. Before you make any change full understand the consequences and have a tested plan to get back to a known good state.
Re: Ask HN: Tips on Sysadmin Job
#39Re: Ask HN: Tips on Sysadmin Job
#40This is not a promotion, this is making you to do something you have no experience with and making you do the job what the fired person done besides yours. Also being responsible for the whole IT infrastructure alone is definitely what I would not do without any experience. If that’s how the company handles this, I would start to look for a new job immediately.
I enjoy sysadmin, partly because of the variety of problems you are called-on to solve. But the fact is, if you do the job well, and everything works well, nobody gives you any credit. When things go wrong everybody will be looking at you, and if you haven't fixed it within 20 minutes, then you must be incompetent.
So you're the only sysadmin in a multi-campus company? As someone noted up-thread, you can't do it alone. At least, you need someone on each site that can act as remote hands for you, even if that's not their main job. And you need people to delegate grunt work to - repetitive stuff, like building workstations for new hires. That's IT, but it's not sysadmin.
Get some interesting hardware to take home and play with. Stuff like smart switches and firewall boxes (the same gear your employer uses).
GNU/Linux has much better networking tools than Windows; if you're in a Windows shop, get a laptop with Linux on it.
Whenever you do a manual job you've never done before, let part of the job be automating it, so you never have to do it by hand again. Let the automation scripts be the documentation.
Learn to be pessimistic (a common sysadmin trait). If you have bad news, don't ever sugar-coat it. Things might not be as bad as you thought, in which case your reputation is improved. But what people don't want to hear is that the job takes two hours; and then find after two hours that it's a two-day job.
If you can get yourself a full-time assistant/colleague, work as a pair when you can. It reduces stress a lot if you have someone checking your work as you do it (and your decisions). And you end up with two people knowing the systems, not just one.
Get a hardback A4 notebook, and record everything you do.
In theory, you have a lot of power (c.f. BOFH).
You know stuff others don't, and you have superuser powers everywhere. Don't abuse it. Be as helpful as you can. People will be nice to you if they know they might need your help one day. The BOFH was a tyrant, and I don't think he'd get far in a modern business (the BOFH worked in a university IT department, and was God; a sysadmin in a modern business can't behave like the BOFH).*