Using Chef to automate Octopus Deployments

If you are using Octopus Deploy to deploy your .Net code to your Windows servers and also using AWS Auto Scaling Groups, you may have come across some of the limitations of Octopus. Primarily, Octopus has no built-in process to deploy the current project release to a newly registered tentacle immediately upon the tentacle registration. Read more about Using Chef to automate Octopus Deployments[…]

AWS – using SQS to cleanup Active Directory of terminated instances

If your Amazon EC2 instances are part of an Auto Scaling Group and are required to be joined to a Windows Domain, then maintaining a clean Active Directory environment may be an after thought. EC2 instances can be terminated for a variety of reasons, and since they may terminate abruptly their Active Directory objects may Read more about AWS – using SQS to cleanup Active Directory of terminated instances[…]

AWS – Auto join EC2 Windows instance to Active Directory Domain

Some environments will require you to join your Windows servers to a domain.  The following will show the steps taken to automatically join a server to a Windows domain.  This assumes the following:   An existing AWS VPC with access to S3 bucket   New instances are able to communicate to a domain controller. NOTE:  Amazon does Read more about AWS – Auto join EC2 Windows instance to Active Directory Domain[…]

Disk is write protected

Have you received the error “The disk is write protected” I’ve come across this error when cloning a volume snapshot from our Equallogic SAN.  To overcome this issue and allow the drive to be usable again you must clear the readonly attribute of the disk. 1. Open a Command prompt by clicking Start, typing command, and clicking Command Read more about Disk is write protected[…]

Recipient isn’t the expected type

Set-Mailbox fails, update “Send on behalf” exchange 2010, recipient isn’t the expected type. Issue: When update “sent on behalf”, you may face error “recipient isn’t the expected type” Cause: “Send On Behalf” access has not been removed while disabling the mailbox, they accounts are still pointing to shared mailbox, it usually happens with migrated exchange. Read more about Recipient isn’t the expected type[…]

Error message when you try to set an IP address on a network adapter

This error often occurs when cloning/copying virtual machines. You may have come across this error: The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another adapter Name of adapter. Name of adapter is hidden from the network and Dial-up Connections folder because it is not physically in the computer Read more about Error message when you try to set an IP address on a network adapter[…]

ExMon Unknown Start Trace Error (183)

When trying to run Exchange Monitor (ExMon) you may run into this error: Here are the steps to fix this common problem. From the CMD prompt, Query the running traces: Logman query -ets You should see one called “Exchange Event Trace” To stop the Exmon trace, run this: Logman stop “Exchange Event Trace” -ets You Read more about ExMon Unknown Start Trace Error (183)[…]

MS Exchange abnormal log generation

We came across an issue where one of our Exchange 2010 databases was quickly filling with logs.  The server was generating 10-20 times more logs than average, which caused the database drive to fill and took the database offline. The root cause, a user had updated their iPhone iOS which resulted in a sync error Read more about MS Exchange abnormal log generation[…]