The Network Administrator

The weblog of an IT pro specializing in virtualization, storage, servers and networking
  • rss
  • Home
  • About
  • Downloads
  • Contact

Increasing your AWS EC2 root partition (Windows)

MWahl | December 14, 2011 | 5:26 pm

As we now have instances which can be booted from EBS (hurray for that), you’re root is also increased to 30gb. But sometimes this still isn’t enough. Here is how you can increase your root partition drive using the AWS Console.

  1. login to  your AWS Console
  2. Go to [Instances], right click your instance and select [create image (EBS AMI)]
    This will make a backup (just in case)
  3. Your instance will reboot, and come up again when the image is created. After that stop your instance (do not terminate it )
  4. Next is to go to [Volumes], you will see a 30Gib volume somewhere which is attached as /dev/sda1 to your instanceVolume 

    Right click it and select [Create Snapshot from this volume].

  5. Next, go to [Snapshots]. Right click the snapshot that you created in the previous step and select [Create Volume from Snapshot], you can then specify how big this volume has to become (for example 50 Gib).Create Volume from Snapshot
  6. After the volume is created go back to volumes again. You will see a volume which is as large as you specified in the previous step. The status of this volume is “available”.
    Now select the volume which is currently attached to your instance. It is the one you located in step 4. Right click it and and select [Detach Volume], it will then become available.
  7. Now select your newly created volume, right click it and select [Attach Volume]. Select your instance (which will have a status of “stopped”). In the textbox “Device” type: /dev/sda1. Now click [Attach]Attach Volume
  8. Fire up your instance and log in.
  9. Open up computer management and select [Disk Management] (underneath the option [storage]). You will see that your root partition has some more space behind it.
  10. Right click your root partition and select [Extend Volume], walk through the wizard. Eventually your root partition will be extended.
Comments
Comments Off
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

IIS SSL Certificate into Amazon Elastic Load Balancer

MWahl | December 7, 2011 | 9:12 am



Export SSL Certificate from IIS

  • Export your certificate from IIS 7 WITH the private key.
  • make sure to check the option PKCS #12 (.pfx)
  • I also checked the checkbox for “Include all certificates in the certification path if possible”

Here is a link for a tutorial on how to export your certificate

http://www.digicert.com/ssl-support/pfx-import-export-iis-7.htm

Now you should have your pfx file.

Convert the PFX file to PEM format

Next you will need to convert the PFX file to a valid pem format for the ELB.  In order to do this you will need the utility OpenSSL.

If you don’t have OpenSSL installed. You will need to. You can download the version (32 bit or 64 bit) you need below:

http://www.slproweb.com/products/Win32OpenSSL.html

There is a great post online that already explains how to do this which can be found here

http://www.petefreitag.com/item/16.cfm

For the ease of reading and to explain a bit futher I took the commands from the link above and insert them here as well.

First thing you need to do is open the windows command prompt and get to the directory where openssl is (if you did not put it in your PATH)

Command 1

# Export the private key file from the pfx file
openssl pkcs12 -in filename.pfx -nocerts -out key.pem

it will prompt you for an Import Password. I entered in the one I created when I exported the cert from IIS

Command 2

# Export the certificate file from the pfx file
openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem

it will prompt you for an Import Password: I entered in the one I created when I exported the cert from IIS.
Then it will prompt you for a PEM passphrase. Enter one if you’d like, then confirm it

Command 3

# This removes the passphrase from the private key so Apache won’t
# prompt you for your passphase when it starts
openssl rsa -in key.pem -out server.key

It will prompt for a pem passphrase. This would be the passphrase you created after command number 1 (if you did)

Upload the PEM format SSL into the Elastic Load balancer

Now it’s time to take the files you created from openssl and copy and paste them into the Elastic Load Balancer. I just uploaded it via the AWS Console Management UI. However they do have api tools as well you can do this with.

I configured the following on the ELB:

  • Microsoft IIS HTTP 80 for Load Balancer port to 80 EC2 instance Port
  • Microsoft IIS HTTPS 443 for Load Balancer port to 80 EC2 Instance Port

 

When prompted for the certificate keys do the following:

  • Open the file server.key that was created from above with openssl and paste into the Private Key textbox
  • Open the file cert.pem that was created from above with openssl and copy the text from —-BEGIN till the end of the file and paste that into Public Key Certificate textbox

Note: I did not put anything into the certificate chain

Finish configuring the rest of your Elastic Load Balancer

 

Comments
Comments Off
Categories
Amazon EC2
Comments rss Comments rss
Trackback Trackback

Upgrade an Opsview Appliance

MWahl | August 13, 2011 | 6:15 am

In my case I wanted to go from version 3.9 to 3.13

 

From the appliance console type these two commands.

 

apt-get update

apt-get install opsview

Comments
Comments Off
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

AppAssure Replay First Impressions

MWahl | August 9, 2011 | 9:21 pm

http://www.youtube.com/watch?v=BHATeW3CcgE

I read recently AppAssure was named Bronze Backup and Disaster Recovery Product of the Year by Storage Magazine.  Replay 4 provides recovery from a server disruption. Replay 4 is a server-based, disk imaging solution that automatically and continuously snapshots your entire Windows application server.

Replay 4 products including Replay for Windows, Replay for Exchange, Replay for SQL, Replay for Hyper-V, and  VMware ESX.

Only Replay 4 Features Continuous Backup with:
  • 8Gb / Minute backup and recovery speeds
  • Block level snapshots with incremental forever data capture
  • Integrated deduplication reduces backup storage foot print by 80% or more
  • Flexible disaster recovery options including bare metal restore and failover virtual machines
  • Server rewind feature gives you the ability to roll back to any point-in-time, and recover the entire server or individual files, emails, SharePoint and SQL objects
  • Application-aware modules check data consistency to ensure successful recoveries every time
  • Cost-effective remote office protection
  • Integrated replication to reduce storage costs and enable off-site and cloud-based backups
  • Centralized enterprise console to manage a large number of servers and desktops
Comments
Comments Off
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Linux Boot Process

MWahl | August 7, 2011 | 7:28 pm

BIOS (basic input/output system)

Master Boot Record (MBR)

LILO (Linux Loader ) or GRUB (GRand Unified Bootloader)

Kernel

init

Run Levels

Comments
Comments Off
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Exchange Server 2010– set user Out of Office status from PowerShell

MWahl | June 21, 2011 | 5:58 pm

To get current user status

PS] C:>Get-MailboxAutoReplyConfiguration Joe.blow

To disable out of office for a user

[PS] C:>Set-MailboxAutoReplyConfiguration joe.blow -AutoReplyState Disabled

Comments
Comments Off
Categories
Microsoft Exchange
Comments rss Comments rss
Trackback Trackback

How to Build a Hackintosh Mac and Install OS X in Eight Easy Steps

MWahl | May 30, 2011 | 12:04 pm

I am passing along this link, I am hoping to try this out soon! I have an older IBM Server that I might be able to use. Or I may be able to do something in a virtual instance. http://lifehacker.com/5672051/how-to-build-a-hackintosh-mac-and-install-os-x-in-eight-easy-steps

Comments
Comments Off
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Penetration Testing Distribution

MWahl | May 30, 2011 | 12:01 pm

Check out this link, really nice set of tools! http://www.backtrack-linux.org/

Comments
Comments Off
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Google Docs or Microsoft Office Online

MWahl | May 30, 2011 | 12:00 pm

I have been using Google docs docs.google.com  for a long time, but recently I have also been using Microsoft Office Online office.live.com. I am using an HTC HD7 running Windows Phone 7 and both cloud services have an app for the phone which works really well.

Comments
Comments Off
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

If You Use OPSVIEW and Have Dell Servers You Have Got To See This!

MWahl | May 21, 2011 | 11:38 am

I have blogged about Opsview in the past, see the link below. http://www.thenetworkadministrator.net/index.php/2010/10/opsview-monitoring-platform/

However, I have always been frustrated with the lack and or quality of the plugins available for the Dell OpenManage software,  that is until now. I will write an article at some point fairly soon, but this link gives you a great start even though it was written primarily for Nagios.

http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/Dell/check_dell_openmanage/details

Comments
Comments Off
Categories
Monitoring, OpsView/Nagios
Comments rss Comments rss
Trackback Trackback

« Previous Entries

some text

RSS Netcast

  • Increasing your AWS EC2 root partition (Windows) December 14, 2011
  • IIS SSL Certificate into Amazon Elastic Load Balancer December 7, 2011
  • Upgrade an Opsview Appliance August 13, 2011

Categories

  • Activesync (1)
  • Amazon EC2 (5)
  • Amazon S3 (2)
  • Antivirus (1)
  • Blackberry (9)
  • Blackberry Enterprise Server (1)
  • blogs (3)
  • Cisco (6)
  • Citrix Xenapp (2)
  • Databases (2)
  • HTC (1)
  • Internet Explorer (1)
  • iPhone (4)
  • Linux Server (18)
  • Linux tools (11)
  • Microsoft Apps (2)
  • Microsoft Exchange (12)
  • Microsoft Office (1)
  • Microsoft Sharepoint Services (1)
  • Microsoft SQL Server (3)
  • Monitoring (2)
  • MS IIS 6 (1)
  • MYSQL (1)
  • NetCast (3)
  • Networking (19)
  • OpsView/Nagios (1)
  • Photos (1)
  • RAID (1)
  • Scripts (4)
  • Secure FTP (1)
  • Security (10)
  • Smart Phones (1)
  • Tech Preview (8)
  • Uncategorized (40)
  • Virtual Servers (4)
  • Web Browsers (2)
  • Web Server load balancing (1)
  • Web Servers (9)
  • Windows Desktops (17)
  • Windows Server (24)
  • Windows tools (23)
  • WordPress (1)

Recent Posts

  • Increasing your AWS EC2 root partition (Windows)
  • IIS SSL Certificate into Amazon Elastic Load Balancer
  • Upgrade an Opsview Appliance
  • AppAssure Replay First Impressions
  • Linux Boot Process

Archives

Blogroll

  • IT Pro Security Community
  • Jeff Stevenson
  • kevin devin
  • lopsa lopsa
  • MWahl social.microsoft.com
  • Network Security
  • Petri
  • SVROPS
  • Technology blog from bbc
  • technology review
  • THE WAN LAN LORD
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox