Monday, November 1, 2010

An Exchange 2007 server on which an address list service is active cannot be found.

An Exchange 2007 server on which an address list service is active cannot be found.:


"Problem:
An Exchange 2007 server on which an address list service is active cannot be found.

Solution:
START the Microsoft Exchange System Attendant service from Services.msc"




-------------


Was working on a customers server and this popped up when they tried setting up an Exchange Mailbox. What an easy solution!!

Monday, September 13, 2010

Server FAIL.....

Resources Used ::

mikas blog » Blog Archive » ext3 online resizing
OpenFiler 2.4
Hitachi SATA Hard Drives


EXT3 FS resizing is a beautiful thing... Over the weekend I had an issue where I ALMOST lost all of my music and "common" files. Fortunetly with the help of my brilliant girlfriend she reminded me why I'm an IT guy and reminded me that there's different ways to recover from these things.

Long story short I was able to mouth a "backup" of the filesystem on another server and copy it over to a secondary. The scenario is as follows.


Storage1, Storage2, Debian are the "Storage" Servers, both connected to the LAN and SAN.

- Storage1 is an IBM 305 with 4GB of RAM and Dual 500GB HD's and also Dual Gigabit NIC's

- Storage2 is a custom server with a 1.8GHz AMD 64bit CPU and 4GB of RAM, Dual 500GB Hitachi HD's - also with a Single 1Gbit NIC, with 2 PCI Gigabit NIC Addon cards.

- "Debian" is a DC5500 PC connected to the LAN/SAN Networks with seperate NIC's. This System has a 500GB USB Buffalo drive attached as storage.


What had happen is a backup ran this weekend that ended up corrupting the VMK disks for my vmware2 server - this intern had pissed off my DNS and "fileserver". Well when this happen I noticed the DNS server couldn't run simple commands and a few other things. Well things had started to become "wonky" with the fileserver, so in an attempt to "refresh" things. I just blew away the VM's. They weren't important or very hard to reinstall so blowing them away was the best thing.

The other thing I did was figured... since I couldn't access iSCSI features in Openfiler I would just reinstall it on Storage1 -- Doing this was GREAT since it allowed me to retain copies of the data that was already there.

Well, when I rebooted into the new install I noticed it couldn't "mount" the partition that contained the LVM for the data... So I FREAKED.... I lost my mind for a few mins... then my wonderful girlfriend started to remind me of a few things, and I thought... Why can't I just mount the LVM myself?

Well it worked! Now it's mounted and I'm sync'ing it to Storage2 via Rsync... Once this is done I'll correct the issue with the LVM; Blowing it away and then just resync is back to Storage1 via Storage2, once thats complete... I'll reformat "Debian" and name it "Storage3" and set it also to replicate.

Once this is all said and done... I'll have all my main data on Storage1. Have all my backup Data on Storage2 and Storage3 - Storage2 being an "Archival" Server since I can put my HD's in it and it also will allow me to install an iSCSI offloader card along with SCSI interface card for the array in the rack.

Friday, June 25, 2010

Cisco IOS Cheat Sheet

Cisco IOS Cheat Sheet

Found a Great site with a cheat sheet for IOS.

Tuesday, June 8, 2010

Setting up Name Based Virtual Hosting w/ Apache2

I do apologize again for some of the recent downtime on the blog. I’ve been researching tuning options all evening to try to bring the memory consumption lower. I did also add an additionl 256M RAM to the machine hoping that will help. Thanks for the patience during this bumpy ride.

I wanted to put down some of my notes concerning configuring Apache2 with virtual hosts for hosting multiple sites. This is something I have done quite a bit before but had a little trouble on this last setup. So in an attempt to better document my steps here is what I did.

Installing Apache 2

I’ll be discussing name based virtual hosting with Apache (Apache 2 to be specific). We’ll need to install that before we dive in:

sudo aptitude install apache2

Once these are setup you should be able to connect to localhost in your browser and see a test page.

NameVirtualHost

With the default configuration you are only serving up one site, and that site is based on your IP address. What I’m setting up is name-based virtual hosting, meaning the Apache server will serve specific content based on the domain name requested. In this way a single server can host multiple sites, and serve up unique content based on the domain requested.

My preferred method of using name based virtual hosting is creating a seperate file for each domain. These can all be done within one file, but I’ll be creating a new file for each site.

First we need to define to Apache that we’re using name based virtual hosting instead of IP based. You can append the following line to your /etc/apache2/apache2.conf to define this:

NameVirtualHost ip.address:port

The above should be your public facing IP address (assuming you’re creating a public site), and port is generally port 80 by default. After this we’ll create the base configuration for your virtual hosts. Debian and Ubuntu use /etc/apache2/sites-available/ and /etc/apache2/sites-enabled/ directories for defining virtual hosting. One nice thing about this is that you can have more sites “available” than you have “enabled”, meaning not everything configured is actually live and listening. This is nice to quickly disable a site for whatever reason.

I like to create unique files for each of my domains within the /etc/apache2/sites-available/ folder. For example I have a file called “ubuntu-tutorials.com” in that directory, with the following contents:


ServerName ubuntu-tutorials.com
ServerAlias www.ubuntu-tutorials.com
ServerAdmin christer.edwards@ubuntu.com
DocumentRoot /var/www/ubuntu-tutorials.com/html

What these settings do is as follows:

  • ServerName listens for requests asking for a certain domain
  • ServerAlias defines any additional domains that should match
  • ServerAdmin is the contact for the site
  • DocumentRoot is the path to the content for that site

Now that this file is created in the /etc/apache2/sites-available/ folder we’re just about ready to start, but we need to enable it. We can do that by creating a symbolic link from one folder to the next.

cd /etc/apache2/sites-enabled/
ln -s ../sites-available/ubuntu-tutorials.com .

This site is now available (as in configured) and enabled (as in listening) once we restart the apache service:

sudo /etc/init.d/apache2 restart

Testing

To test your configuration you can, temporarily, configure your /etc/hosts file to point the domain to your IP address and see if your server loads up the correct site. This is only needed if the hostname or domain name does not already resolve to your IP address. Editing the /etc/hosts by adding the following line:

ip.address domain.tld

Open your browser, try to access domain.tld and see if it loads the contents from your local DocumentRoot (from the configuration above). You might want to drop a file in the DocumentRoot to verify its pulling your local content.

cd /var/www/ubuntu-tutorials.com/html
echo "Hello World" > index.html

Conclusion

I hope I didn’t miss anything here. One of the main purposes of this writeup is to document what I did to setup my server. I do it so rarely I don’t always remember all the steps when I need to. If this helps you setup name based virtual hosting, great. Leave a comment and let me know. If I forgot anything critical please also let me know so I can update the contents.

Wednesday, May 26, 2010

New Drives


Here's the two drives I ordered off of Ebay -- 74GB Western Digital Raptor Drives. 10,000RPM's!
:-)
I'm planning on ordering a Promise Tech TX2300 and setting them up as a RAID1 in the new workstation. That should solve my problem of "slow" drives on that machine.

Friday, May 21, 2010

Ask the Directory Services Team : Using Group Policy Preferences to Map Drives Based on Group Membership

Ask the Directory Services Team : Using Group Policy Preferences to Map Drives Based on Group Membership: "Using Group Policy Preferences to Map Drives Based on Group Membership"

Looks like a great page for info on setting up drive mapping using GPO's within Windows 2008 A/D

Enable Intel-VT on DC7700's


enableintel-vtonhpdc7700 (ripperzhang):

"HP DC7700 Slim is a nice small box with Intel Core 2 64-bit CPU. The CPU support Intel-VT (hardware virtualization) that means it's a good choice to running VM, especially 64-bit VM.
By default, Intel-VT is not enabled on this machine. This prevent VM software (Microsoft Virtual PC 2007/VMWare Player/VMWare Server etc) running guest OS in 64-bit mode.

To enable Intel-VT support on DC7700,
1. Make sure you have the latest BOIS installed.
2. Hit F10 while the system booting to splash window.
3. Find out the enable VT support item from BOIS menu Security -> OS Security.
4. Enable it, and press F10 to accept change.
5. Enjoy."

Thursday, May 6, 2010

Cisco UC540 Phone System


So at work I've just begun/Finished the roleout of our new UC540 phone system by Cisco. So far VERY impressed. The installation and configuration was quite simple. By default the phone system would ring to ALL phones. But a simple configuration with the auto attendant and you can have your own digital secretary.
I can honestly say that Cisco Support (SBCS) has been VERY helpful. I've been on the phone with them pretty much every day for the past 4 days. They've helped me with configuring the advanced features of the system along configuring some of the standard features to work along with the Auto Attendant (Helpdesk Voicemail box).
The system itself is designed nicely. Built upon Cisco's IOS operating system (ya know, the one that runs $1.4 Million Routers?) along with running Cisco's Callmanager express. Call manager from what I understand is they're "Full out Phone system" but the express is whats running the UC series of devices.
The way we've got it setup here is the 4 outside phone lines from the CO get connected to the FXO ports and those lines are used whenever a call is made inbound or outbound. The 8 port switch thats builtin is used for connecting the phone system to the rest of the office network (Connected to layer 2 Netgear Gigabit switch) and also connected to phones running PoE. With the builtin PoE switch, we're able to power the phones and not have a power adaptor dangling off the side of the phone.
I've setup all the phones to act as the "switch" for the PC's on the network. Each phone is connected to the wall which is inturn patched into the Netgear or directly into the Cisco. Each phone is also connected to the PC, making the phone act as a "middle man" or switch for that PC. The PC's get full duplex 100M connection, which could be a downside to this solution since our Netgear switch is 1000Mb. For now, it works out very well...
More to come as I discover the greatness of this new system from Cisco...