ESXi – Convert a live machine to a virtual machine.

You can convert your physical machine to a virtual machine. The software you will need for this is VMware vCenter Converter Standalone. You can convert the Operating System along with whatever hard drives/partitions are attached to the Operating System.

Continue reading

Share Button

Centos 6 – Script to clean up Shared Memory and Semaphore Arrays (IPCS)

The script below will clean up Shared Memory Segments and Semaphore Arrays. It will first notify you for which under account you are logged under and if you are sure wish to proceed. It will then execute a while loop to clear Shared Memory and Semaphore Arrays. Please note that if an application is brought down in a non clean way it may leave left overs in Shared Memory/Semaphore Arrays.  You need to ensure that the application(s) is down before you execute this script; otherwise shared memory/semaphores will not get cleaned because the application(s) will keep recreating them.

Continue reading

Share Button

Centos 6 – Script for Automatic Email Alerts notifying for low CPU – RAM – Hard Drive resources.

The script does the following:

– Checks for historical data for when a CPU has reached 50% usage.

– Checks if RAM usage has gone beyond 85%

– Checks if Hard Drive space in all of your partitions has gone beyond 85%

This is a first release of a script I am working on. This is not a finished “product”.  More automation will be added to new releases. This is just a test run. A v0.1 release if you will. You can download the script and place it which ever directory you wish. You can either automatically run it by inserting a CRON job or run it manually. Please note that if you do not receive any emails it is either because you do not have MAILX installed or your ISP (wisely) has blocked unauthorized SMTP emails.

Continue reading

Share Button

Windows 2008-R2: “This rule has been applied by the system administrator and cannot be modified”

Issue: Cannot delete a Domain firewall rule.

Setup: One Domain Controller to which a Firewall Rule has been put in place. However when going to Firewall Advanced settings you do not have permissions to delete the rule even though you have full rights.

Continue reading

Share Button

VMware ESXi – How to login to Vshphere with your Active Directory account.

You can login to your ESXi servers using your Windows Active Directory account.  In order for this to work though you will have to enable the Active Directory Authentication Services, link.  Here is how you can login to VSphere using your Active Directory account.

Continue reading

Share Button

VMware ESXi: Automatic shutdown/startup of Virtual Guests/images

When there is a time you have to shutdown/startup your actual ESXi hosts you can automate a graceful shutdown of your virtual images before your ESXi  host goes down. Upon starting up your ESXi server your virtual images can setup to automatically start up.

This automatic procedure can be setup in a linear fashion as in you can decide in which order your guest images can shutdown and in which order you want them to come up again.  You can exclude guests from this automated procedure if you do not want certain guests to come up at all for example.

Here is how.

Continue reading

Share Button

VMware ESXi: Select Authentication Services type.

You can enable Active Directory Authentication Services in VShphere by following the instructions below.  This will allow you to setup VShphere to use Active Directory accounts. Note however that in order to actually use your Active Directory account you will have to specify it in the in the “Permissions” tab.  Instructions to do so are located http://www.sfentona.net/?p=811.

Continue reading

Share Button

Windows 2008R2- How to migrate a local profile to a Domain – The Easy way

How to migrate a local Windows7 local profile to a Domain profile on a Window2008R2 Domain by using the User Profile Wizard 3.6 from FORENSIT http://www.forensit.com/downloads.html

Desktop computer: Windows7

Domain Server: Windows 2008R2

Continue reading

Share Button

Windows 2008-R2: Active Directory and how to Setup Users and Groups

In this tutorial we will do a basic setup of a User and a Groups. This entails the creation of Organizational Units and the creation of sub Organizational Units in order to keep things organized. We will create a domain user and then create a domain group.

Continue reading

Share Button

How to mount your NFS drive during boot up

On the client machine:

– You will need to create a directory where it will serve as a mount point for your NFS drive from your NFS server. You can create this directory anywhere you want. Example:

Continue reading

Share Button