The Perfect Reverse Proxy (NGINX, SSL, WebUI Management)

Reverse Proxy.  I’ve been implementing reverse-proxy solutions in lab and in production for some time now, but I always come across the same problem; It’s not the easiest type of a system to manage, especially when there are SSL certificates involved. Now, before I started looking for an easy-to-manage SSL solution, I figured I’d find some sort of web interface for the NGINX config files and other basic server management. After some searching and testing, I decided on Ajenti. Ajenti is a python-based linux control panel that makes installing packages…

Read More

How to upgrade your 4-bay Dell PowerEdge R620 to an 8-bay backplane

There are many cheap Dell R620s floating around on ebay, and if you can catch one at the right price, it might only have a 4-bay backplane. This is a quick fix, though, unless you have no need for the local storage space. Personally I just upgraded mine to an 8-bay and decided I would document the steps of what it took. Parts: You will need a few parts. Actually just two. Dell 8-bay Backplane –  KVGG1 Dell wide-SAS to dual mini-SAS cable – TK2VY   Installation: I originally took photos…

Read More

How to fix Dell Deployment Toolkit “apply bundles.sh is invalid”

When I booted the Dell Deployment Toolkit ISO for a few of my poweredge servers, I was given an error: “apply_bundles.sh is invalid” When you see this prompt, it’s necessary to re-mount the USB drive to continue using the toolkit. Here’s what you can do to mount your USB drive properly so the installation can proceed: 1. Press <ALT>+<F2> to access a new console 2. Press <Enter> to access a command prompt 3. Type “lsblk” and press <Enter> 4. Look for the file system size that corresponds with the size…

Read More

How to crossflash PERC H310 to IT mode LSI 9211-8i firmware (HBA for FreeNAS, UnRAID)

Flash PERC H310 to IT mode for use with FreeNAS, UnRAID, etc. The PERC H310 is a pretty standard and widely available PCI express RAID controller. A few of my servers have come with them, and I never really ended up using them. It would appear as though this piece-of-crap RAID controller might actually be of some use after all! For those who stumbled upon this article by some mythical way with no knowledge of why you would want to do this to your PERC H310, well, the goal here…

Read More

Monitor Synology NAS DSM 6.1 with SNMP polling

SNMP Monitoring your Synology device You can gain valuable information from your Synology device with SNMP and a system such as OpenNMS or LibreNMS. I use NMS to monitor my switches, servers, and other critical infrastucture to keep an eye on everything in one place.   Here is how I enabled SNMP polling of my Synology DS416play:   Go To Control Panel > Terminal & SNMP Click “SNMP” tab at the top of the window: Check “Enable SNMP Service” And populate your desired community string/device information. For example I am…

Read More

Enable SSH login to vCenter 6.5 in WebUI

Enabling vCenter SSH access from Web User Interface 1. Log in to WebUI 2. On the vSphere Web Client Home page, click System Configuration. 3. Under System Configuration, click Nodes. 4. Under Nodes, select a node and click the Manage tab. 5. Under Common, select Access and click Edit. (I already had SSH enabled) 6. Check the box for SSH and click OK to save the settings.

Read More

How to Enable Shadow Copies for a volume in Windows Server 2012 R2

Enable Shadow Copies (Enable Previous Versions) Click Start , point to Administrative Tools , and then click Computer Management .   In the console tree, right-click Shared Folders , click All Tasks , and then click Configure Shadow Copies .   The window that opens will look something like this, displaying all of your local disks: In Select a volume , click the volume that you want to enable Shadow Copies of Shared Folders for, and then click Enable . You will see an alert that Windows will create a shadow copy now with the current settings and that the settings might not be appropriate for…

Read More

Upgrade your Dell PowerEdge Firmware from a bootable ISO

This is the easiest (most hands-off, unattended) way to upgrade your server’s firmware/drivers, especially when you don’t run Windows but instead a hypervisor such as VMWare ESXi.     Here’s how you can do it. Download the ISO See the chart below for finding a repository to download your bootable media: (These updates are hosted on box.com but it is an official Dell download center.) PowerEdge Server Generation 13 Tower: PowerEdge T130 PowerEdge T330 PowerEdge T430 PowerEdge T630 Rack: PowerEdge R230 PowerEdge R330 PowerEdge R430 PowerEdge R530 PowerEdge R530xd PowerEdge…

Read More

Easy SSL for ScreenConnect with NGINX Reverse Proxy

On the topic of NGINX Reverse Proxy, it just so happens that the process for installing an SSL certificate onto your ScreenConnect server can be rather difficult, and a much more flexible approach is by using NGINX over SSL to reverse-proxy to the ScreenConnect instance. This is how you can do it yourself. Modify ScreenConnect settings: To begin, we should change the port that ScreenConnect listens on for incoming web connections. This is so NGINX can use ports 80 and 443. On Linux, screen connect is in installed to /opt/screenconnect/ Open…

Read More

How to use Robocopy to Preseed Files for DFS Replication

Use Robocopy to Preseed Files for DFS Replication I’ll write this here first, since it’s important: The folder in which you are robo-copying (ex c:\test) must not exist on the destination server (ex. f:\test). If you create the folder manually on the destination server, the file-hashes will not match and DFSr will see a conflict. So make sure your destination (ex. f:\ ) doesn’t contain a folder named the same as the source folder. Pre-seeding your DFS Replication Group with Robocopy: Log on to the destination server with an Administrator account. Open an…

Read More