Thursday, November 27, 2008

SBS 2008 provides Out Look Anywhere

Out Look is connecting via SSL tunnel, Microsoft Exchange 2007 feature called Autodiscover service. For this you need to have Out Look 2003 or 2007 “Outlook Anywhere” (formerly known as RPC over HTTP clients)

This will provide you a fully functional Outlook client without initiating any other connections to the SBS server. And this will automatically enabled by default with a fresh Small Business Server 2008 deployment.



The Autodiscover service process for internal access













The Autodiscover service process for external access


IAnd it would be highly recommended to use a valid SSL certificate for the server.

Saturday, November 22, 2008

Cisco VPN Client is not supported for Vista 64bit

Recently I have installed Vista Ultimate 64bit on my note book because I wanted to get the peak performance utilizing the existing hardware resources. Also my target is to run VMware ESX infrastructure on my note book for the R&D purposes. What I have is a HP DV series Core 2 Duo T9300 @ 2.5GHz, 6MB L2 Cash, Bus Speed 800Mhz and 4GB RAM.

(You can get a very basic idea about 64bit http://www.windows-vista-update.com/Windows_Vista_64_bit.html )

I found everything work perfectly with Vista 64bit but Cisco VPN client installation has failed . And then I found Cisco has clearly stated that they don’t have a plan to support VPN client for Vista 64bit.

“There are no current plans to provide 64-bit support for the Cisco VPN Client but 64-bit support is available for the Cisco AnyConnect VPN Client” link: http://www.cisco.com/en/US/products/sw/secursw/ps2308/products_qanda_item09186a00801c2dbe.shtml

And in the other end Microsoft provides VPN clients compatibility summary http://support.microsoft.com/kb/929490

Luckily Cisco AnyConnect VPN client came to picture and I have configured SSL VPN in Cisco ASA 5510 and now my Anyconnect VPN client works perfectly. It’s a SSL tunneling based connectivity and performance improves with DTLS tunneling and also it has many options of performance tuning. Still I didn’t evaluate the performance Vs Cisco VPN client.

Cisco any connect configuration can be found in http://www.ciscosystems.com/en/US/docs/security/vpn_client/anyconnect/anyconnect22/administration/guide/22admin4.html
And Cisco ASDM latest versions provides SSL VPN Wizard and it will make your life easier.

Monday, November 17, 2008

VMware Convertor: Convert Microsoft SBS 2008 in to a ESX virtual host in minimum down time

I had a terrible headache to convert my SBS 2008 physical server in to an ESX virtual host. I was performing some experiments on this and also planning to minimize the down time as much as possible. Thank God, VMware has released new version of Convertor and it’s fully supports for the Windows 2008 versions as well.
Link: http://www.vmware.com/products/converter/
My SBS 2008 was running on IBM Systems X 3650 and it’s has 10GB RAM and runs over RAID 10.

In my case I have installed VMware Convertor in to the VMware VC (virtual center) installed Windows XP 32bit BOX which is not very powerful one. Ok we’ll start the work.
Open Vmware Convertor 4.0.2 or above and click on the “Import a Machine” Wizard.
1. Click “Next” to start the wizard
2. Again click “Next” (Source)
3. There you can select the Source from the drop down list






4. And enter the authentication user name passwords to the target machine (SBS 2008)







5. After that below menu will show you the current hard disk and there you can change the capacity as needed and click “Next” after you done






6. Click on “Next” (Destination)
7. In this menu you can select the Destination and in this case I used “VMware Infrastructure Virtual Machine”






8. Now you have to provide the ESX root credentials to authenticate the VMware SEX host you wish to create the virtual host and then click “Next”
9. And provide a name for the Virtual Host
10. In this menu you need to provide the Resource Pool you need to place the imported VM and click on it and again click “Next”
11. Select the storage from the given Data stores
12. In the Networks menu you need to set the interface information and click “Next”
13. And in the Customization menu you can customize the VM host before you process and also you can scheduled to install the VMware tools as well
14. Click “Finish" to beging the process

I had about 64GB footprint in the SBS 2008 physical server and the VMware Convertor spent only about 40 minutes to finish the tasks. (please note this network has connected via HP procurve 1Gbps switch)



I have started the SBS virtual machine which is just migrated and installed VMware Tools and restarted again. I happened reset the IP settings for the both network interfaces and after that switched the users to the SBS 2008 Virtual host. I have swithced the traffic withing 3 seconds down time but there was a 1 to 2 minutes down time in the network. (just password prompts)
No headaches at all ! Good Luck for your migration !
BUT BE CAREFULL WHEN YOU PERFORMING THIS WITH A PRODUCTION ENVIRONMENT ! YOU NEED TO PLAN WELL !

Tuesday, October 28, 2008

HowTo SVN (Sub Version) on JeOS

Can you imagine a development environment without a source codes repository ? I can remember a site listing the top ten reasons not to use VSS, but I was unable to locate it by search. I have personally worked with VSS and I agree with it most of the time. I have been told that even Microsoft does not use VSS internally. I do not know if that statement is true, but no Microsoft engineer with whom I'm acquainted uses it. How ever I wish to see a sophisticated source repository from Microsoft soon !

By the way I decided to deploy a SVN instant onn JeOS and I feel it's working birrlient with optimized kernal.

Let's start !!! Install JeOS on make it uptodate !
$ sudo apt-get update

Best thing is to install curl and it's help us to troubleshoot if something gose worng.
$ sudo apt-get install curl

I assume your system already have vim editing tool or type and install it using below command
$ sudo apt-get install vim

Install Apache
$ sudo apt-get install apache2

Now use curl and check whether it's up and running

And you shoud see some like below, then you good to go with next step
"It's works!" with some html tags
Install SVN
$ sudo apt-get install subversion

Install required lib for theApache
$ sudo apt-get install libapache2-svn

Now you can create SVN folders as you wish
$ sudo mkdir /svn
$ sudo mkdir /svn/projects

And setup the folders usin below commands
$ sudo svnadmin create /svn/projects
$ sudo chown -R www-data /svn/projects

Create a password file and enter the first user in to your password file
$ sudo htpasswd -cm /etc/apache2/dav_svn.passwd user01

Add you will be asked the password and confirm password

And please note if you need to add more users in later;
$ sudo htpasswd /etc/apache2/dav_svn.passwd user02

No we configure Apache by editing the following file with Vim that we installed at the beginning
$ sudo vim /etc/apache2/mods-enabled/dav_svn.conf

All you really need to do is remove the comments "#" in the apropriate areas, finally dav_svn.conf should looks alike below;
DAV svn
SVNPath /svn/projects
AuthType BasicAuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user

Restart Apache
$ sudo /etc/init.d/apache2 restart

Thats it, you're done. You can get to your repository via your hosts browser by going to http://{your VM IP}/svn. You should get a username/password dialog which to enter the details you created in.

You can always use a third party software to make your life easier !!! http://tortoisesvn.tigris.org/

Thursday, October 23, 2008

HowTo BugZilla on JeOS ! (on VMware Infrastructure)

I have spent several hours with my one and only reliable friend (google) to find on resources on installing Bugzilla installation on JeOS/Ubuntu. And spent several hours on following some HOWTOs.

But finally I got my own way of doing this simply !

Follow the steps defined below for the easy steps of deploying Bugzilla on JeOS.

Download JeOS install: http://cdimage.ubuntu.com/jeos/ My environment was VMware ESX 3 and you can try this on VMware Workstation too.
The complete guide of installing and initial configuration can be found: https://help.ubuntu.com/community/JeOS and I strictly advice you to follow this guide including “Installing VMware Tools” subheading, before you begin any configurations on it.
After you done with initial confirmation please don’t forget to do a snapshot of you current virtual machine.

Installing Apache: sudo apt-get install apache2
After you finished please check typing the hostname/IP on the browser whether you getting the Apache default page “It’s works!” Then you good to start next step.

Installing PhpMyAdmin: sudo apt-get install phpmyadmin
But after this installation I got a error when I accessing http://hostname/phpmyadmin and creating symbolic link from [/etc/phpmyadmin/apache.conf] to [/etc/apache2/conf.d/phpmyadmin.conf]

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo /etc/init.d/apache2 restart (do a restart to effect the change)

Now you should be able to access the login page at http://hostname/phpmyadmin and now you can do another snapshot in your virtual machine.

Now install MySQL: sudo apt-get install mysql-server
Please follow the instructions during the installation and provide a root password for the MySQL DB.

After this finished restart Apache: sudo /etc/init.d/apache2 restart
Restart MySQL: sudo /etc/init.d/mysql restart

Now you should be able to log in to the http://hostname/phpmyadmin using root password you have given during the MySQL installation. Well done ! and do another snapshot for your own safety ! :) And now we’ll start Bugzilla installation ! it’s simple as you seen so far !

Installing Bugzilla: sudo apt-get install bugzilla

  • Set the email to anything you like you can always change it later.
  • Set the administrator's real name. YES (use dbcommon) for db creation, it is not recommended to use the manual way unless you know what is happening
  • Admin password : provide the password you have entered during the MySQL installation
  • Application password: provide a password Install the package maintainer's version ( this may happen during the install)

After this finished you can log in to the phpmyadmin and check whether it has created the DB and the tables. Do a restart for services if necessary.
http://hostname/bugzilla
Now should be able to login to your new instant of Bugzilla. Enjoy !

Wednesday, October 22, 2008

WOT is JeOS (Just Enough Operating System)???

Good old days I was playing with Rad Hat distros all the time, Web sphere, Oracle were my best buddies. But recently (from 2, 3 years back) I was bit away from LINUX and forced to stay with Windows. (who did that ?, poor me !)

From couple of week’s back I had a imagination to recompile a LINUX kernel in to a very light build and to be used on VMware ESX. Yes, there are some light LINUX kernels in the industry. But really wanted to make it very light and tune for VMware virtual infrastructure.

Thanks to google, I found JeOS which meets all the expectations I have been looking for. This is compiled by Ubuntu team. And I don't forget to thank to Ubuntu team as well :)

“Ubuntu Server Edition JeOS (pronounced "Juice") is an efficient variant of our server operating system, configured specifically for virtual appliances. Currently available as a CD-Rom ISO for download, JeOS is a specialised installation of Ubuntu Server Edition with a tuned kernel that only contains the base elements needed to run within a virtualized environment.”



Users deploying virtual appliances built on top of JeOS will benefit from:

  • better performances on the same hardware compared to a full non-optimized OS
  • smaller footprint of the virtual appliance on their valuable disk space
  • fewer updates and therefore less maintenance than a full server installation

Tech Specs - v 8.04:

  • Less than 100Mo ISO image
  • Less than 300Mo installed footprint
  • Specialised -virtual Kernel 2.6.24
  • Optimised for VMWare ESX, VMWare Server and KVM
  • Intel or AMD x86 architecture
  • Minimum memory 128M
  • No graphical environment preloaded as it is aimed at server virtual appliance
  • Working knowledge of linux administration and debian packages recommended to start building your own appliance

Download
Start testing it right now, download the image today from http://cdimage.ubuntu.com/jeos/
Tutorial
Learn how to use JeOS to create your own appliance at https://help.ubuntu.com/community/JeOS
Canonical ISV programme
Interested in joining Canonical's ISV programme? Please go to: http://www.canonical.com/partners/isv

I'm so surprised with it !