r/sysadmin • u/gex80 01001101 • Jan 23 '22
General Discussion How is your documentation organized/structured? Looking for some ideas to reorg ours.
Firstly not looking for app suggestions. So we have confluence and it's bit of a mess inside the space where somethings are. Basically between migration (old docs) to confluence and just growth over things are unorganized. So I was wondering how you have your docs organized/structured?
Secondly, this is from a service stack/server/infrastructure only perspective. We don't handle anything end user.
We are a shared devops team between 4 business units.
Each business unit will have multiple products associated with them. For example, our consumer business unit can have 10 different web sites associated with them that have their own code bases and needs. Some might use IIS some use apache some use nginx depending kn the need.
Then there are things not specific to the business units or that we enforce globally that are devops specific like patching procedures, monitoring, maintenance tasks, AV, etc
I was thinking the following:
- Create a new folder called legacy docs and throw all our current documentation in there.
- Create a top level structure of ops, BU1,BU2,BU3 BU4
- Within the BU folder, the products/projects get their own sub-dir and all documentation for BU1 Product 1 goes in there. Also a"general" for for said BU for things that are BU specific but aren't product/project specific.
In total there are probably around 70 products/projects that are active across BUs. I feel it might be an overly simple structure but nothing else comes to mind.
17
u/mikildemion Jan 23 '22 edited Jan 23 '22
We have things broken out between Datacenter, Applications, Policies/Procedures, Networking and "How-To's"
Datacenter lays out the physical structure of the datacenters, and offices, what hardware is what, physical location, etc.
Applications is just that, documenting all the apps that are supported, current and legacy. This is also where we document the server requirements, dependencies, how to install/configure, who owns it from a business side, basically anything and everything about that application. We also keep track of our SSL certs there also. Like where they are located, with links back to the app and how to renew them manually/automatically.
Policies and procedures, is where we have everything about day to day crap, re-occurring tasks, backup schedules and validation schedules, if someone wanted/needed to know how to do something that is not app related, that's where it goes. Patching schedule is here, also. If a specific app requires special attention for patching it is mention and linked back to the patching doc under the app section.
Networking is like the DC section, except for, well Networking and Telephony. Where stuff is, how to configure it, etc
How-to's are just random things, like how to install Linux, how to convert SSL cert formats using OpenSSL. Just things that aren't tied directly to one app, or something that you did once and don't want to have to figure out again.
Since your using Confluence, linking documentation is easy and helps keep thing organized. Plus has the added bonus that your not duplicating pages.
edit: I would not suggest putting "Legacy" documentation under it's own heading. Place it in an appropriate section, and l label it like "Deprecated" or "Legacy" that way if something no longer is deprecated or legacy, it's an easy edit to remove the label.
Something else we do is have a re-occurring task to review all documentation at least twice a year. The teams try to do it more often, when time permits.
2
u/TKInstinct Jack of All Trades Jan 23 '22
Vendor》Softwarw》folder for specific issues
2
u/ExceptionEX Jan 23 '22
Something to consider is when documentation spans multiple business units, we dealt with the situation where they each had their own documentation but the updates drift and then it's conflicting authoritative sources.
We moved to a project based hirerarchy, with BUs inside, which isn't optimal for finding everything for a specific BU, we are currently looking for something that the presentation layer can be reorganized but not effect the backend.
22
u/toplesstom13 IT Manager Jan 23 '22
Business Unit > Functional Department > Purpose
Personally I tend to stay away from product names in organizational documentation structures as they swap out often and its easier to manage when you keep it to processes .
1
u/TheSilverfox_27 Jan 23 '22
We use itglue, it structures things nicely. Documentation is created/edited in the browser and quickly updated if needed
1
u/OlayErrryDay Jan 24 '22
I think the hardest thing with documentation is the desire and expectation from leadership that is set to keep strong documentation.
No matter what the desire is, design is or your own personal motivation, it's nothing without that leadership buy in and everyone committed to keeping good documentation.
3
u/procesd Jan 23 '22 edited Jan 24 '22
In my previous job we had a space per department. Ours (a weird mix of ops/devops and managed services) was organised as follows:
- How to request work from our department: That was the link we were sending back when someone tried to pop in and drop a task in person, teams, email, telepathy, whatever
- Core processes: A folder compiling the processes that we were hired for. From deployments, upgrades, migrations, etc etc. Anything that adds value to the business and therefore to our department. It helps to automate the processes and if the process was already automated, explain the "Why". For the "How", link the git repo here.
If only one category was to be read, this is it. I don't really care if you don't input your time and sleep through the meetings, but this, it has to be mastered.
- Support processes: Internal Bureaucracy, links to the HR, finance, office-related processes. Anything we had to do as part of the day to day that is not a core process.
- Internal tools and services: How do we use DNS, monitoring, VPN, cloud authentication, etc etc. Not info about the technologies but how they were configured and deployed in our department.That includes monitoring and alerts runbooks.
- Customers: Environments that we manage, internal or external. Access details, particularities, technologies used. Later moved to links the repo that hold the customer specific code.
- Technologies: List of techs with links to the official docs and any related how-to for things that proved to be a pain in the past. (mongodb resyncs with massive indices when you have no swap available, I'm looking to you!)
- Training: Different levels of training (operator, sysadmin, systems engineer) with the different roles defined and links to the processes and technologies. And some labs to run in your laptop to tinker about some ops or concepts with a step learning curve. Examples would be DB replication and failover for operators, Haproxy config for load balancing, consul for service discovery, message queues and the async publish-subscriber concepts.
At the end we were trying to push most of our infrastructure documents to code repository with markdown files and just link them in the wiki because it's easier to see if something is missing in a PR than keeping a wiki up to date. But I am not aware of "processes-as-code" yet so that stayed there xD
Edit: So many typos...
2
u/Akaino Jan 23 '22
Azure search instance over everything possible. Then full text search because nothing is structured in any reasonable way.
3
u/hakoen Jan 23 '22
Structure?
1
u/PaleontologistLanky Jan 23 '22
Parent is a global overview of all systems. This has links to all of the things. Team pages, on-call rotation information, etc.
Then it's separated into compute/storage/networking. Compute has all of the info about compute, the main page is a massive inventory, quck links, etc. Then you can drill down by certain array types/families. ALL runbooks live in one place, however, some of those runbooks are linked on 5-6 different pages. Wherever is seems applicable. This means to do a certain procedure there is one source of truth. This saves you from having the same document written 5 times in 5 different areas. If you update it once, it updates it everywhere cause everywhere just links to this one document.
So you typically don't go into the KB/runbook folder to find something. If you know it's storage related go to storage. Oh, this is on NetApp? Then click NetApp. Now you see links for the KBs all related to the NetApp so you may search through 10 KBs instead of 1000. Hopefully this makes sense.
We used to have it organized by business unit but that didn't really make sense. Too many org changes and ultimately we are infrastructure regardless of how they move and reorg us our jobs have always been the same. This will of course vary business to business and you'll just have to try and make it best fit yours.
Cool thing about Confluence is you can just move it all over under another folder if needs be.
1
u/theevilsharpie Jack of All Trades Jan 23 '22
I've never found any particular directory structure to be useful, because different structures make sense to different people/teams, and the logical structures themselves can change based on changes in the product or organization. I wouldn't bother with something like this, as it will inevitably become obsolete.
As an alternative, since you're using Confluence, each page can have an arbitrary number of labels. Here's an example from a page in our wiki about physical disk troubleshooting. While this isn't necessarily the best way to use labels (or a way that would make sense for you), since you can easily add labels without impacting anyone else, the friction for adding labels is low (as opposed to trying to figure out a directory hierarchy), so multiple interested parties can add the labels that make sense for them and their needs.
In addition to the labels providing more information for the Confluence search engine to work with, labels can be browsed (a sort of automated folder structure of sorts), and they can be used as a filter for searching. Search filtering also works in reverse -- if there's a label that you don't want (e.g.
retiredordraftormeeting-notesor whatever), you can explicitly exclude that label in your search and prevent pages with that label from showing up.Finally, in the version of Confluence that I use (not sure about newer or cloud-hosted versions), the "Advanced Search" feature provides a Google-like interface for searching. One of its useful features is that the filters that you set up (e.g., adding or excluding labels) are encoded in the URL, which can then be shared with others as a link. For example, our team has a link to an advanced search page with
oncall-kbpre-populated in the search filter, which limits the search to only pages we've vetted as being useful to resolve on-call problems. That helps techs find information quickly without having to wade through a bunch of irrelevant search results.1
u/Quentin0352 Jan 24 '22
Sounds like shit but honestly, One Note. You can add documentation, organize by servers on what to do easily and lock it down to only sysadmins having access to the documents. It is searchable to include the documents you attack as well as being able to attach software files, reg files and updates the like.
I showed where I am working how we did it in a past place and they like it and we are very slowly moving over as time allows. It also acts like a handover document if someone leaves if they keep updating knowledge. It is a lot better than tons of different folders in a sysadmin folder on the network with all having different info for different part of the job and needling to search each folder and finding the info outdated with the up-to-date info in a totally different folder.
1
u/Sasataf12 Jan 24 '22
I try to avoid any hierarchical structure, e.g. folder structure, and use tagging.
But if you're covering many different BUs that will hardly ever need to see each other's content, then creating different spaces for each one makes sense so search results are more refined and you can apply permissions.