wiki.getshifting.com

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


start

SHIFT-WIKI - Sjoerd Hooft's InFormation Technology

This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.


ManageEngine EventLog Analyzer 7 Installation

Summary: How to install and configure ManageEngine EventLog Analyzer 7.
Date: Around 2015
Refactor: 6 March 2025: Checked links and formatting.

→ Read more...

2025/06/01 11:59

Lynis Security Baseline with Lynis

Summary: How to istall and setup Lynis, a small easy to use Linux security audit tool.
Date: Around 2015
Refactor: 6 March 2025: Checked links and formatting.

→ Read more...

2025/06/01 11:59

Lun Aligning

Summary: This post is about aligning disks in a virtual environment to prevent IO congestion.
Date: 10 November 2011
Refactor: 3 January 2025: Checked links and formatting. Removed some old content.

For information about why you should keep LUNs aligned with your vmdks I'd like to refer to this article from yellow-bricks.com. It explains why alignment is important, but to sum it up: it comes down to performance. When the LUNs, vmdk and Guest OS blocks are not aligned the array will request more blocks than the VMs are actually asking for, causing more IO then required.
Please note the following remarks:

  1. Windows Server 2008 and Windows Vista are aligned by default if the VM was created as Windows Server 2008/Windows Vista.
    1. LUNs less than 4GB in size will align to 64KB
    2. LUNs larger than 4GB will align to 1MB
  2. Citrix Servers are not supported because they remap the C-drive.
  3. Windows Dynamic Disks are not supported and will be corrupted if an alignment is performed, you will be warned with something like this: “partition type: unknown - 0x42”. Do not align these partitions.
  4. Linux LVM volumes are not supported.
  5. If you align linux guests that use grub as their boot loader you'll have to reinstall grub
  6. Windows Server 2003 non-boot disks that have been added (d:, e:, etc) will need to be remapped in Computer Management. The drive letter will be lost on alignment.
  7. Because the virtual disks are being recreated you'll need enough free space on your volume/datastore.
  8. Aligning can only be done on VMs that are turned off (so downtime)
  9. Aligning is not supported on VMs that have snapshots or linked clones

→ Read more...

2025/06/01 11:59

Log Cleanup

Summary: How to cleanup old logs using a very simple script.
Date: Around 2014
Refactor: 6 March 2025: Checked links and formatting.

# Set var to directory which needs to be cleaned up
LOGDIR=/var/log/app/logs

cd $LOGDIR
find . -type f -ctime +28 -name 'applogfile.log*' -exec rm {} \;
find . -type f -ctime +28 -name 'app2logfile.log*' -exec rm {} \;

Note: this cleanup script removes files more than 4 weeks ago and have a name that starts with applogfile.log or app2logfile.log.

Other options are -mtime, for files that were modified more than 4 weeks ago.

2025/06/01 11:59

<< Newer entries | Older entries >>

This wiki has been made possible by:

start.txt · Last modified: by sjoerd