<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-538864242757911994</id><updated>2011-11-15T13:19:44.346-08:00</updated><category term='linux'/><category term='active directory'/><category term='vdm'/><category term='tools'/><category term='esx memory management'/><category term='view composer'/><category term='vmware view'/><category term='power state'/><category term='esx trunk catos'/><category term='esxi'/><category term='guest memory'/><category term='vmware. remote CLI'/><category term='vmware'/><category term='VDI'/><category term='win'/><category term='data center documentation'/><category term='disk'/><category term='extend'/><category term='vmware esx trunk'/><category term='cd issue'/><category term='Citrix'/><category term='esx trunk service console'/><category term='esx trunking'/><category term='oracle unbreakable linux'/><category term='ICA'/><category term='redhat'/><category term='Xendesktop'/><category term='virtual center'/><category term='failover'/><category term='view manager'/><category term='integration'/><category term='HA'/><category term='host memory'/><category term='PCoIP vs RDP'/><category term='kickstart howto'/><category term='windows'/><category term='IPAM'/><category term='esx'/><category term='esx trunk cli'/><category term='ubuntu'/><category term='kickstart'/><category term='RDP'/><category term='esx trunking cisco'/><category term='rack diagrams'/><title type='text'>Raj's Blog</title><subtitle type='html'>Here you will find few tips and tricks I picked along the way and some how tos in the world of Storage, Unix/Linux, Networking/Security and Virtualization technologies.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-1466811940283278068</id><published>2011-11-09T09:14:00.000-08:00</published><updated>2011-11-15T13:19:16.374-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PCoIP vs RDP'/><category scheme='http://www.blogger.com/atom/ns#' term='VDI'/><title type='text'>View 4 vs View 5 Performance</title><content type='html'>This post could be titled as RDP vs PCoIP on view 5 as well.&lt;br /&gt;&lt;br /&gt;Almost 3 years I wrote about citrix vs vmware VDI here:&amp;nbsp;&lt;a href="http://www.blogger.com/goog_63788893"&gt; &lt;/a&gt;&lt;br /&gt;&lt;a href="http://rjalan.blogspot.com/2009/01/vmware-vdi-vs-citrix-xendesktop.html"&gt;http://rjalan.blogspot.com/2009/01/vmware-vdi-vs-citrix-xendesktop.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We ended up going vmware view route as it was apropos for our use case scenario. As things change always, we have few users going for low latency links and multiple hops and we started seeing perfomance issues with view 4. &lt;br /&gt;We just upgraded to view 5, and using zero client with PCoIP we are seeing almost 70-75% reduction in bandwidth usage versus regular RDP over view 5. And performance for flash and videos is considerably better. Video is still little choppy but bearable. In earlier version, it was just showing broken images being refreshed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-1466811940283278068?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/1466811940283278068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=1466811940283278068' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/1466811940283278068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/1466811940283278068'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2011/11/view-4-vs-view-5-performance.html' title='View 4 vs View 5 Performance'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-7739535900309744840</id><published>2011-04-29T14:14:00.000-07:00</published><updated>2011-11-15T13:19:44.376-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rack diagrams'/><category scheme='http://www.blogger.com/atom/ns#' term='data center documentation'/><category scheme='http://www.blogger.com/atom/ns#' term='IPAM'/><title type='text'>cool datacenter documentation software</title><content type='html'>we recently started using &lt;a href="http://www.device42.com/"&gt;device42 &lt;/a&gt;at our company for datacenter documentation. So far quite impressive as it can record almost everything about servers including IP, port connected even virtual and blade support.&lt;br /&gt;Coolest thing is the application or process mapping feature in the software. Once you define dependencies just to next layer, it automatically generates a visual diagram of the whole dependency chart and process flow.&lt;br /&gt;Check it out at&amp;nbsp;&lt;a href="http://www.device42.com/"&gt;www.device42.com&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-7739535900309744840?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/7739535900309744840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=7739535900309744840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7739535900309744840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7739535900309744840'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2011/04/cool-datacenter-documentation-software.html' title='cool datacenter documentation software'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-4193583276646441157</id><published>2009-01-23T13:02:00.000-08:00</published><updated>2009-01-23T13:08:08.989-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware view'/><category scheme='http://www.blogger.com/atom/ns#' term='view manager'/><category scheme='http://www.blogger.com/atom/ns#' term='vdm'/><category scheme='http://www.blogger.com/atom/ns#' term='view composer'/><title type='text'>VMware view findings</title><content type='html'>In continuation to one of my earlier posts here:&lt;br /&gt;&lt;a href="http://rjalan.blogspot.com/2009/01/vmware-vdi-vs-citrix-xendesktop.html"&gt;http://rjalan.blogspot.com/2009/01/vmware-vdi-vs-citrix-xendesktop.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We concluded the following for Vmware view:&lt;br /&gt;&lt;br /&gt;Pros:&lt;br /&gt;&lt;br /&gt;1. Connection Server that can be placed in DMZ a good add on. Opens up desktops just using https on the front end.&lt;br /&gt;2. View Manager with View composer –&lt;br /&gt;a. Save space for OS images as it references master image&lt;br /&gt;b. Makes it easier to update all the client desktops using recomposing and updating only master image.&lt;br /&gt;c. New desktop provision is very easy and quick.&lt;br /&gt;3. Single sign on works well. Supposed to work with tokens also.&lt;br /&gt;&lt;br /&gt;Cons:&lt;br /&gt;&lt;br /&gt;1. All the local LAN connections pass through View Manager all the time, so it’s a thick connection broker.&lt;br /&gt;2. All the secure connections for DMZ connection server flow through this server as well. This is obvious though because all the RDPs are connected to https through this for end users. But that demands a server that can handle all these requests simultaneously.&lt;br /&gt;3. Multimedia is not any better than normal RDP.&lt;br /&gt;4. No real settings for bandwidth control for RDP. This might be a bandwidth hog depending on your needs. Through active directory group policy, we was able to make following changes:&lt;br /&gt;a. End client(initiator) user can get these settings if in Active Directory: color depth, desktop background, themes, cursor shadow, compression. But in case, end user is connecting from a home computer etc., this settings can not be enforced.&lt;br /&gt;b. For VM desktop, only 2 settings: Desktop background and color depth. These don’t make any major difference in the bandwidth utilization.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-4193583276646441157?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/4193583276646441157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=4193583276646441157' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/4193583276646441157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/4193583276646441157'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2009/01/vmware-view-findings.html' title='VMware view findings'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-6089771096150105661</id><published>2009-01-14T09:52:00.000-08:00</published><updated>2009-01-14T09:54:08.977-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='failover'/><category scheme='http://www.blogger.com/atom/ns#' term='HA'/><category scheme='http://www.blogger.com/atom/ns#' term='esxi'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware. remote CLI'/><title type='text'>Poor Man's Failover on ESXi servers</title><content type='html'>HA can't do without VI license, but manual failover you can.&lt;br /&gt;If you are running production, you still might want to get support for ESXi.&lt;br /&gt;&lt;br /&gt;What you would need:&lt;br /&gt;1. 2 ESXi servers running identical CPUs and have Shared Storage (FC or iSCSI).&lt;br /&gt;2. Virtual Infrastructure Client(VIC)(Free included w/ Free ESXi).&lt;br /&gt;3. Remote CLI installed on any other server or your desktop. Although, all the steps could be performed by VIC as well.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Steps to do the manual failover:&lt;br /&gt;For documentation, I would use "testVM" as my VM guest running RHEL and 2 ESXi servers are serverA and serverB.&lt;br /&gt;1. Install testVM on serverA. You would use VIC for this.&lt;br /&gt;2. register the machine with other host, in this case, serverB. I prefer using remote CLI. Following command is needed:&lt;br /&gt;C:\Program Files\VMware\VMware VI Remote CLI\bin&gt;vmware-cmd.pl --server serverA --username administrator -s register "[SharedStorage] testVM/testVM.vmx" ha-datacenter Resources&lt;br /&gt;Enter password:&lt;br /&gt;register() =1&lt;br /&gt;Here ha-datacenter is the datacenter name and Resources is the resource pool. You can specify your own resource pool name if desired.&lt;br /&gt;&lt;br /&gt;Other way of accomplishing the same thing is by going to configuration of serverB from VIC. Go to storage, click on shared storage disk, right click and browse. Then browse to testVM, and right click on .vmx file and click "Add to Inventory".&lt;br /&gt;&lt;br /&gt;2. using VIC shutdown testVM on serverA, poweron testVM serverB and choose always keep on the serverB when testVM is powering up.&lt;br /&gt;&lt;br /&gt;3. now you can go back and forth easily between two hosts using VIC or remote CLI.&lt;br /&gt;For remote CLI:&lt;br /&gt;&lt;br /&gt;C:\Program Files\VMware\VMware VI Remote CLI\bin&gt;vmware-cmd.pl --server serverA --u&lt;br /&gt;sername administrator "[SharedStorage] testVM/testVM.vmx" stop&lt;br /&gt;Enter password:&lt;br /&gt;stop() = 1&lt;br /&gt;C:\Program Files\VMware\VMware VI Remote CLI\bin&gt;vmware-cmd.pl --server serverB --u&lt;br /&gt;sername administrator "[SharedStorage] testVM/testVM.vmx" start&lt;br /&gt;Enter password:&lt;br /&gt;start() = 1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-6089771096150105661?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/6089771096150105661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=6089771096150105661' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/6089771096150105661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/6089771096150105661'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2009/01/poor-mans-failover-on-esxi-servers.html' title='Poor Man&apos;s Failover on ESXi servers'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-3268964315132899456</id><published>2009-01-12T09:24:00.000-08:00</published><updated>2009-01-12T09:27:07.531-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Citrix'/><category scheme='http://www.blogger.com/atom/ns#' term='Xendesktop'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='VDI'/><category scheme='http://www.blogger.com/atom/ns#' term='RDP'/><category scheme='http://www.blogger.com/atom/ns#' term='ICA'/><title type='text'>Vmware VDI vs Citrix Xendesktop</title><content type='html'>Few months ago we did a bakeoff between Vmware VDI and Citrix Xendesktop solution. &lt;br /&gt;Few things that are worth a mention for differences between these:&lt;br /&gt;1. Citrix ICA protocol for remote desktop connectivity is better with multimedia apps than RDP 5.x.&lt;br /&gt;2. Both RDP and ICA are bandwidth hogs, ICA might be slightly better over low latency link. Average bandwidth usage over WAN without any policing/acceleration technology was 300kbps with both ICA and RDP.&lt;br /&gt;3. Citrix Presentation server has a great option of saving the disk space for multiple cloned desktops and also upgrading/patching only one master image and refreshing all desktops from it.&lt;br /&gt;4. Citrix Access gateway for secure connectivity from outside seems like a separate purchase.(didn’t test it)&lt;br /&gt;&lt;br /&gt;We didn't go ahead with the whole project at that time.&lt;br /&gt;Now Vmware has announced availability for VMware view that addresses point # 1,3  and 4 above. We are currently doing a bake off of vmware view and I will soon post how it went.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-3268964315132899456?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/3268964315132899456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=3268964315132899456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/3268964315132899456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/3268964315132899456'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2009/01/vmware-vdi-vs-citrix-xendesktop.html' title='Vmware VDI vs Citrix Xendesktop'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-7389024098988955769</id><published>2008-06-08T06:29:00.000-07:00</published><updated>2008-06-08T12:32:25.480-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='redhat'/><category scheme='http://www.blogger.com/atom/ns#' term='kickstart'/><category scheme='http://www.blogger.com/atom/ns#' term='kickstart howto'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle unbreakable linux'/><title type='text'>Unbreakable Linux Kickstart HowTo</title><content type='html'>Oracle Unbreakable linux is essential same as Redhat Linux. This post I will cover how to do a kickstart on Unbreakable linux AS 4 update 6. This would apply to other versions and RedHat installations as well.&lt;br /&gt;Kickstart simplifies your installation of linux servers on the network. Essentially, these are the main components to it:&lt;br /&gt;1. The server gets a small boot file from floppy, CD, USB or over the network.&lt;br /&gt;2. The server gets a kickstart config file as above from media or over the network.&lt;br /&gt;3. Depending on what you choose as your installation media in the kickstart config file, the operating system packages are installed.&lt;br /&gt;4. You can mention pre and post installation steps in kickstart file to automate processes such as user creation etc.&lt;br /&gt;&lt;br /&gt;From my point of view a network install all the way makes more sense and that is what I would be covering here today.&lt;br /&gt;Redhat website has a nice detailed howto all the methods and can be found here:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I will break it into 3 steps:&lt;br /&gt;Step 1: install required services/packages.&lt;br /&gt;Step 2. Configure required files.&lt;br /&gt;Step 3. Starting the pxe boot&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;Step 1:&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;We need 3 services that could be hosted by a single server or multiple servers and a few config utilities:&lt;br /&gt;1. &lt;strong&gt;DHCP service&lt;/strong&gt; -&gt;gives IP address to PXE boot client and tells it the file name to boot from and tftp server address.&lt;br /&gt;2. &lt;strong&gt;TFTP server&lt;/strong&gt; -&gt;where the initial boot file resides, that contains info regarding install.&lt;br /&gt;3. &lt;strong&gt;NFS server&lt;/strong&gt; -&gt; where the kickstart config file and installation tree is available.&lt;br /&gt;4. &lt;strong&gt;service-config-netboot&lt;/strong&gt; -&gt; that would generate the pxelinux.cfg tree and boot file for the client.&lt;br /&gt;&lt;br /&gt;1st lets get into making the installation tree available locally on the box. I copied all the .iso files under /kickstart on the server. It could be any folder you choose as long as you are willing to NFS share it.&lt;br /&gt;&lt;br /&gt;For my setup, I had all of 3 services above on a single server. Lets get to installing or starting these services.&lt;br /&gt;These would reveal if you have tftp server and dhcp server installed or not:&lt;br /&gt;rpm -qa grep *tftp*&lt;br /&gt;rpm -qa grep *dhcp*&lt;br /&gt;rpm -qa grep *netboot*&lt;br /&gt;&lt;br /&gt;If these services are installed, skip this section and move onto step 2.&lt;br /&gt;&lt;br /&gt;Install all these 3 packages using your favorite method. You can do yum install &lt;packagename&gt;.&lt;br /&gt;Or you can install them from the installation CDs. I didn't know which CD contained these packages, I mounted all of them. OUL(oracle unbreakable linux 4_6 64bit) has 5 installation CDs. So I created 5 mount points and mounted them on the server:&lt;br /&gt;mkdir -p /mnt/tmp1&lt;br /&gt;mkdir -p /mnt/tmp2&lt;br /&gt;mkdir -p /mnt/tmp3&lt;br /&gt;mkdir -p /mnt/tmp4&lt;br /&gt;mkdir -p /mnt/tmp5&lt;br /&gt;mount -o loop Enterprise-R4-U6-x86_64-disc1.iso /mnt/tmp1&lt;br /&gt;mount -o loop Enterprise-R4-U6-x86_64-disc2.iso /mnt/tmp2&lt;br /&gt;mount -o loop Enterprise-R4-U6-x86_64-disc3.iso /mnt/tmp3&lt;br /&gt;mount -o loop Enterprise-R4-U6-x86_64-disc4.iso /mnt/tmp4&lt;br /&gt;mount -o loop Enterprise-R4-U6-x86_64-disc5.iso /mnt/tmp5&lt;br /&gt;&lt;br /&gt;Doing the following on the above mount points to see where the required RPMs are:&lt;br /&gt;cd /mnt/tmp1/Enterprise/RPMS&lt;br /&gt;and&lt;br /&gt;ls | grep *dhcp*&lt;br /&gt;ls | grep *tftp*&lt;br /&gt;ls | grep *netboot*&lt;br /&gt;After locating them, do the install. You would need to install tftp server before service-config-netboot:&lt;br /&gt;rpm -i dhcp-3.0.1-59.EL4.x86_64.rpm&lt;br /&gt;rpm -i tftp-server-0.39-2.x86_64.rpm&lt;br /&gt;rpm -i system-config-netboot-0.1.40.1-1.x86_64.rpm&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;Step 2:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;The following files would be created/edited:&lt;br /&gt;a. kickstart config file&lt;br /&gt;b. xinetd.d tftp file&lt;br /&gt;c. pxelinux.cfg directory and install files.&lt;br /&gt;d. dhcpd.conf file&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;a. kickstart config file&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Since our install was oracle specific. I downloaded the recommended config file from oracle's wiki website at following address: &lt;a href="http://wiki.oracle.com/page/Linux+installation+kickstart+for+Oracle+database"&gt;http://wiki.oracle.com/page/Linux+installation+kickstart+for+Oracle+database&lt;/a&gt;&lt;br /&gt;You can customize this according to:&lt;br /&gt;&lt;a href="http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-kickstart2-options.html"&gt;http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-kickstart2-options.html&lt;/a&gt;&lt;br /&gt;or you can use GUI to create one for you using service-config-kickstart(You might have to install this package if its missing).&lt;br /&gt;&lt;br /&gt;The following config file is basically a copy of one downloaded from oracle website with some modifications like:&lt;br /&gt;1. NFS install instead of url&lt;br /&gt;2. Hostname etc. changed&lt;br /&gt;3. No post installations here.&lt;br /&gt;You should make the necessary modifications as per your requirements to this file. The default root password in this config file is password.&lt;br /&gt;&lt;br /&gt;Kickstart config file, saved as example.cfg under /kickstart:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:78%;"&gt;##############################################################################&lt;br /&gt;# Uncomment the next line to enable interactive installation&lt;br /&gt;#interactive&lt;br /&gt;&lt;br /&gt;# Comment the next line to use GUI installation&lt;br /&gt;text&lt;br /&gt;&lt;br /&gt;install&lt;br /&gt;&lt;br /&gt;# From where to get the installation disks&lt;br /&gt;#cdrom&lt;br /&gt;#url --url http://myserver/redhat/&lt;br /&gt;nfs --server=192.168.1.10 --dir=/kickstart&lt;br /&gt;&lt;br /&gt;lang en_US.UTF-8&lt;br /&gt;langsupport --default=en_US.UTF-8 en_US.UTF-8&lt;br /&gt;keyboard us&lt;br /&gt;xconfig --resolution 800x600 --depth 16 --defaultdesktop gnome&lt;br /&gt;&lt;br /&gt;# Change the hostname and peek the best eth configuration for you&lt;br /&gt;#network --device eth0 --bootproto dhcp --hostname srvoracle01&lt;br /&gt;network --device eth0 --bootproto static --ip 192.168.1.100 --netmask 255.255.255.0 --gateway&lt;br /&gt;192.168.1.1 --nameserver 192.168.1.1, 192.168.1.2 --hostname testmachine&lt;br /&gt;&lt;br /&gt;rootpw --iscrypted $1$uKWECPhN$Im66UG8MpWd2/kpcHoyuy/&lt;br /&gt;firewall --disabled&lt;br /&gt;selinux --disabled&lt;br /&gt;authconfig --enableshadow --enablemd5&lt;br /&gt;&lt;br /&gt;# Set a different timezone if not located in EST&lt;br /&gt;timezone America/New_York&lt;br /&gt;&lt;br /&gt;bootloader --location=mbr --append="rhgb quiet"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Create a Volgroup device sda&lt;br /&gt;clearpart --all --drives=sda&lt;br /&gt;part /boot --fstype ext3 --size=100 --ondisk=sda&lt;br /&gt;part pv.3 --size=0 --grow --ondisk=sda&lt;br /&gt;volgroup vg00 --pesize=32768 pv.3&lt;br /&gt;&lt;br /&gt;# Create the filesystems and logical volumes&lt;br /&gt;logvol / --fstype ext3 --name=lvol00 --vgname=vg00 --size=2048&lt;br /&gt;logvol /tmp --fstype ext3 --name=lvol01 --vgname=vg00 --size=2048&lt;br /&gt;logvol /usr --fstype ext3 --name=lvol02 --vgname=vg00 --size=3500&lt;br /&gt;logvol /usr/local --fstype ext3 --name=lvol03 --vgname=vg00 --size=1024&lt;br /&gt;logvol /var --fstype ext3 --name=lvol04 --vgname=vg00 --size=1024&lt;br /&gt;logvol /var/log --fstype ext3 --name=lvol05 --vgname=vg00 --size=1024&lt;br /&gt;logvol /opt --fstype ext3 --name=lvol06 --vgname=vg00 --size=1024&lt;br /&gt;logvol /home --fstype ext3 --name=lvol07 --vgname=vg00 --size=512&lt;br /&gt;&lt;br /&gt;# Edit the swap space to be twice the size of the machine RAM, if you&lt;br /&gt;logvol swap --fstype swap --name=lvol08 --vgname=vg00 --size=8192&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# All packages needed by Oracle installation include Gnome desktop&lt;br /&gt;%packages&lt;br /&gt;@ system-tools&lt;br /&gt;@ gnome-desktop&lt;br /&gt;@ dialup&lt;br /&gt;@ compat-arch-support&lt;br /&gt;-openldap-clients&lt;br /&gt;-ckermit&lt;br /&gt;-wireshark&lt;br /&gt;-bluez-pin&lt;br /&gt;-OpenIPMI-tools&lt;br /&gt;-samba-client&lt;br /&gt;e2fsprogs&lt;br /&gt;-screen&lt;br /&gt;-xdelta&lt;br /&gt;-zsh&lt;br /&gt;-nmap&lt;br /&gt;lvm2&lt;br /&gt;sysstat&lt;br /&gt;-open&lt;br /&gt;kernel-smp&lt;br /&gt;grub&lt;br /&gt;binutils&lt;br /&gt;compat-db&lt;br /&gt;control-center&lt;br /&gt;gcc&lt;br /&gt;gcc-c++&lt;br /&gt;glibc&lt;br /&gt;glibc-common&lt;br /&gt;gnome-libs&lt;br /&gt;libstdc++&lt;br /&gt;libstdc++-devel&lt;br /&gt;make&lt;br /&gt;pdksh&lt;br /&gt;sysstat&lt;br /&gt;xscreensaver&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;%post&lt;br /&gt;############################################################################## &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Need to make the folders available for NFS share:&lt;br /&gt;This is the /kickstart folder that contains kickstart config file and installation .iso files.&lt;br /&gt;nfs-export --dir /kickstart --perm ro --ip 192.168.1.100&lt;br /&gt;nfs-export --dir /kickstart --perm ro --ip 192.168.1.10&lt;br /&gt;&lt;br /&gt;If you skipped step 1, mount 1st iso CD under /mnt/tmp1&lt;br /&gt;(e.g. mount -o loop Enterprise-R4-U6-x86_64-disc1.iso /mnt/tmp1)&lt;br /&gt;And make is available for NFS share:&lt;br /&gt;nfs-export --dir /mnt/tmp1 --perm ro --ip 192.168.1.10&lt;br /&gt;nfs-export --dir /mnt/tmp1 --perm ro --ip 192.168.1.100&lt;br /&gt;&lt;br /&gt;Now we need to start the tftp daemon:&lt;br /&gt;&lt;strong&gt;b. xinetd.d tftp file&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Edit the following to run tftp as daemon, you can choose to run this in standalone mode using /usr/sbin/in.tftpd and not editing this file:&lt;br /&gt;/etc/xinetd.d/tftp:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;###################################################################&lt;br /&gt;service tftp&lt;br /&gt;{&lt;br /&gt;socket_type = dgram&lt;br /&gt;protocol = udp&lt;br /&gt;wait = yes&lt;br /&gt;user = root&lt;br /&gt;server = /usr/sbin/in.tftpd&lt;br /&gt;server_args = -s /tftpboot&lt;br /&gt;disable = no&lt;br /&gt;per_source = 11&lt;br /&gt;cps = 100 2&lt;br /&gt;flags = IPv4&lt;br /&gt;}&lt;br /&gt;###################################################################&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;restard xinted.d:&lt;br /&gt;/etc/init.d/xinetd restart&lt;br /&gt;&lt;br /&gt;Next step is to get /tftpboot/linux-install folder ready for boot files.&lt;br /&gt;&lt;strong&gt;c. pxelinux.cfg directory and install files.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Using the following command to generate these files under /tftpboot:&lt;br /&gt;/usr/sbin/pxeos -a -i "OUL" -p NFS -D 0 -s 192.168.1.10 -K nfs:192.168.1.10:/kickstart/example.cfg -L /mnt/tmp1 OUL4&lt;br /&gt;This also generates a defualt file under /tftpboot/linux-install/pxelinux.cfg, which is read by the installer at boot time. You can create one specific for your host using pxeboot command.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;d. dhcpd.conf file&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;DHCP config file. &lt;br /&gt;You can get the MAC address for the client in lot of different ways. If you PXE boot the client, it throws the client MAC address right at the console. You would need this to set the values in following file.&lt;br /&gt;If you are crossing vlans/routers make sure ip helper address or equilavent is set on the routing/network device.&lt;br /&gt;&lt;br /&gt;/etc/dhcpd.conf :&lt;br /&gt;&lt;span style="font-size:78%;"&gt;###################################################################&lt;br /&gt;deny unknown-clients;&lt;br /&gt;not authoritative;&lt;br /&gt;ddns-update-style ad-hoc;&lt;br /&gt;option domain-name "lcc.copr.pvt";&lt;br /&gt;option domain-name-servers 192.168.1.1;&lt;br /&gt;option subnet-mask 255.255.255.0;&lt;br /&gt;&lt;br /&gt;allow bootp;&lt;br /&gt;allow booting;&lt;br /&gt;&lt;br /&gt;option ip-forwarding false; # No IP forwarding&lt;br /&gt;option mask-supplier false; # Don't respond to ICMP Mask req&lt;br /&gt;&lt;br /&gt;subnet 192.168.0.0 netmask 255.255.255.0 {&lt;br /&gt;option routers 192.168.1.1;&lt;br /&gt;}&lt;br /&gt;group {&lt;br /&gt;next-server 192.168.1.10; # name of your TFTP server&lt;br /&gt;filename "linux-install/pxelinux.0"; # name of the bootloader program&lt;br /&gt;&lt;br /&gt;host node1 {&lt;br /&gt;hardware ethernet 00:14:4F:45:14:0E;&lt;br /&gt;fixed-address 192.168.1.100;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;###################################################################&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Start DHCP server:&lt;br /&gt;/etc/init.d/dhcpd start&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;Step 3. Starting the pxe boot&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Change the boot order to boot from the network on the client machine and if all the configs were done correctly, you should be able to go through the install smoothly. You can watch as it goes and look for error messages if any to fix any typos etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-7389024098988955769?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/7389024098988955769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=7389024098988955769' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7389024098988955769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7389024098988955769'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2008/06/unbreakable-linux-kickstart-howto.html' title='Unbreakable Linux Kickstart HowTo'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-7155095773652467216</id><published>2008-04-08T14:21:00.001-07:00</published><updated>2008-04-08T14:23:40.843-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='host memory'/><category scheme='http://www.blogger.com/atom/ns#' term='esx memory management'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='guest memory'/><title type='text'>Host vs Guest Memory in VMware esx server</title><content type='html'>After watching a video for high level concepts of memory management for guests, this is a summary of what I understood:&lt;br /&gt;&lt;br /&gt;Host memory shows the total memory assigned to that guest by the host.&lt;br /&gt;&lt;br /&gt;Guest memory means what host sees as active memory usage on the guest, this might differ from what you see from guest’s point of view. And that’s OK.&lt;br /&gt;&lt;br /&gt;Now why do they differ and is it okay if Host memory is much higher than guest memory?&lt;br /&gt;&lt;br /&gt;In a traditional model where there is no virtualization, Operating system get the memory directly from underlying hardware and manages the used and free memory by itself.&lt;br /&gt;&lt;br /&gt;In a Virtualized model, OS assumes that traditional model for memory and thus doesn’t(or should I say can’t) inform the Virtualization layer about the free memory. For example, if you assign 1G to a guest and at some point guest uses, say, 800M of the memory and after some time frees say 600M of the memory. So guest is using 200M but virtualization layer is not aware of this memory being free on the guest.&lt;br /&gt;&lt;br /&gt;Now how does host know how to free memory? This is achieved by memory balooning. Baloon driver is part of the vmware tools and it keeps marking or pinning the free memory on the guest OS and informs the host about it.&lt;br /&gt;&lt;br /&gt;There are other ways for host to find out about free memory and it can do swapping for guest too. But host is not very eager all the time to get the exact free memory stats from the guest to free up that memory. Only when the free memory on guest OS falls below a certain threshold, ballooning or swapping is done and host frees up that memory. This is the reason lots of time host memory is higher than guest memory. &lt;span style="font-weight: bold;"&gt;And its normal if you see that.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-7155095773652467216?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/7155095773652467216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=7155095773652467216' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7155095773652467216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7155095773652467216'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2008/04/host-vs-guest-memory-in-vmware-esx.html' title='Host vs Guest Memory in VMware esx server'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-2330305985200285118</id><published>2008-04-08T09:37:00.000-07:00</published><updated>2009-02-17T21:31:51.956-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtual center'/><category scheme='http://www.blogger.com/atom/ns#' term='esx'/><category scheme='http://www.blogger.com/atom/ns#' term='power state'/><title type='text'>Virtual Center 2.5 shows incorrect power state for a guest</title><content type='html'>If Virtual center is showing incorrect power state for a guest and Host(ESX 3.0.2) shows it correct, management service on the host(on which guest resides) needs to be restarted. Following command is all that is needed:&lt;br /&gt;&lt;br /&gt;service mgmt-vmware restart&lt;br /&gt;&lt;br /&gt;After this, close out the virtual center session and re-login. Now you should see the correct state.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-2330305985200285118?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/2330305985200285118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=2330305985200285118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/2330305985200285118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/2330305985200285118'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2008/04/virtual-center-25-shows-incorrect-power.html' title='Virtual Center 2.5 shows incorrect power state for a guest'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-7828511540183862175</id><published>2008-03-04T09:09:00.000-08:00</published><updated>2008-03-04T09:39:50.496-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='active directory'/><category scheme='http://www.blogger.com/atom/ns#' term='integration'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu 7.10 server and Active Directory Integration</title><content type='html'>2003 R2 has Advanced services for NIS(Unix Services) which allows to do Active directory integration with unix. Following is very detailed blog on how to go about doing this:&lt;br /&gt;&lt;a href="http://blog.scottlowe.org/2006/08/08/linux-active-directory-and-windows-server-2003-r2-revisited/"&gt;Linux, Active Directory, and Windows Server 2003 R2 Revisited&lt;/a&gt;&lt;br /&gt;I won't repeat the Windows setup steps mentioned in that blog, so make sure you have the AD setup as described in the above blog. The following are the steps taken to make this work with Ubuntu Server 7.10 without TGT validation:&lt;br /&gt;&lt;br /&gt;Install the following packages:&lt;br /&gt;sudo apt-get install krb5-user libnss-ldap libpam-krb5&lt;br /&gt;&lt;br /&gt;libnss-ldap makes you go through certain steps and make sure you pick the values as you fill out in /etc/ldap.conf below.&lt;br /&gt;&lt;br /&gt;Edit /etc/krb5.conf file and It should look like following:&lt;br /&gt;&lt;br /&gt;[libdefaults]&lt;br /&gt;        default_realm = YOURDOMAIN.PVT&lt;br /&gt;&lt;br /&gt;        krb4_config = /etc/krb.conf&lt;br /&gt;        krb4_realms = /etc/krb.realms&lt;br /&gt;        kdc_timesync = 1&lt;br /&gt;        ccache_type = 4&lt;br /&gt;        forwardable = true&lt;br /&gt;        proxiable = true&lt;br /&gt;&lt;br /&gt;[realms]&lt;br /&gt;        YOURDOMAIN.PVT = {&lt;br /&gt;                kdc = YOURSERVER.YOURDOMAIN.PVT:88&lt;br /&gt;                admin_server = YOURSERVER.YOURDOMAIN.PVT&lt;br /&gt;                default_domain = YOURDOMAIN.PVT&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;[domain_realm]&lt;br /&gt;        .YOURDOMAIN.PVT = YOURDOMAIN.PVT&lt;br /&gt;        YOURDOMAIN.PVT = YOURDOMAIN.PVT&lt;br /&gt;[login]&lt;br /&gt;        krb4_convert = true&lt;br /&gt;        krb4_get_tickets = false&lt;br /&gt;&lt;br /&gt;Here you can add multiple domains and multiple kdc and admin_server depending on the structure of your AD.&lt;br /&gt;&lt;br /&gt;Next Step is to edit the /etc/ldap.conf. This should look like following:&lt;br /&gt;host YOURSERVER.IP.ADDRESS.HERE&lt;br /&gt;base dc=YOURDOMAIN,dc=PVT&lt;br /&gt;uri ldap://YOURSERVER.YOURDOMAIN.PVT&lt;br /&gt;binddn ad_bind_user@YOURDOMAIN.PVT&lt;br /&gt;bindpw ad_bind_password&lt;br /&gt;scope sub&lt;br /&gt;ssl no&lt;br /&gt;pam_filter objectClass=User&lt;br /&gt;nss_base_passwd dc=YOURDOMAIN,dc=PVT?sub&lt;br /&gt;nss_base_shadow dc=YOURDOMAIN,dc=PVT?sub&lt;br /&gt;nss_base_group dc=YOURDOMAIN,dc=PVT?sub&lt;br /&gt;nss_map_objectclass posixAccount user&lt;br /&gt;nss_map_objectclass shadowAccount user&lt;br /&gt;nss_map_objectclass posixGroup group&lt;br /&gt;nss_map_attribute gecos name&lt;br /&gt;nss_map_attribute homeDirectory unixHomeDirectory&lt;br /&gt;nss_map_attribute uniqueMember member&lt;br /&gt;&lt;br /&gt;Now edit the /etc/nsswitch.conf by adding ldap for the fields passwd, group and shadow.&lt;br /&gt;&lt;br /&gt;Next Step is to edit /etc/pam.d/common-auth. This should look like following:&lt;br /&gt;#&lt;br /&gt;# /etc/pam.d/common-auth - authentication settings common to all services&lt;br /&gt;#&lt;br /&gt;# This file is included from other service-specific PAM config files,&lt;br /&gt;# and should contain a list of the authentication modules that define&lt;br /&gt;# the central authentication scheme for use on the system&lt;br /&gt;# (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the&lt;br /&gt;# traditional Unix authentication mechanisms.&lt;br /&gt;#&lt;br /&gt;auth    sufficient      pam_krb5.so minimum_uid=10000&lt;br /&gt;auth    required        pam_unix.so nullok_secure&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;minimum_uid=10000 is one way to make sure system userids are not touched and this depends on what number uid starts on your AD setup.&lt;br /&gt;&lt;br /&gt;This should be all that is for setup. Now lets do some testing:&lt;br /&gt;&lt;br /&gt;1. Getting a kerboreos ticket:&lt;br /&gt;kinit ad_user_name&lt;br /&gt;This should prompt for a password, and should give you prompt back if successful.&lt;br /&gt;You can view the ticket generated by using klist.&lt;br /&gt;If you get an error message, you have to work with what it says.&lt;br /&gt;One common one is Time Sync error, for that you would need to issue following:&lt;br /&gt;sudo ntpdate YOURNTPSERVER&lt;br /&gt;Generally, you can use your AD Domain Controller as your NTP server.&lt;br /&gt;2. If this is successful, next thing is to check pam authentication.&lt;br /&gt;Restart ssh or telnet, the service you gonna test AD authentication against.&lt;br /&gt;sudo /etc/init.d/ssh restart.&lt;br /&gt;Now, in the current window, do a tail -f /var/log/auth.log&lt;br /&gt;This would shows the running auth log.&lt;br /&gt;Now open a new session to ssh(or whatever you are testing) and login with AD credentials. If your setup is correct, this should be working.&lt;br /&gt;Othewise, auth.log is your friend to see where it is breaking.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-7828511540183862175?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/7828511540183862175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=7828511540183862175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7828511540183862175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7828511540183862175'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2008/03/ubuntu-710-server-and-active-directory.html' title='Ubuntu 7.10 server and Active Directory Integration'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-7027621893395608229</id><published>2008-02-20T08:52:00.000-08:00</published><updated>2008-02-20T19:37:46.029-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='cd issue'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>Intalling VMware tools in linux when guest CD doesn't mount</title><content type='html'>Incase you can't get the VMware tools install mounted as cdrom using the Virtual Center GUI, there is a easy workaround you can use.&lt;br /&gt;From the guest virtual machine, sftp to the ESX server host and for default install paths go to /vmimages/tools-isoimages.&lt;br /&gt;Get linux.iso from here and quit from sftp.&lt;br /&gt;On the guest linux, su and then create a tmp folder(or whatever you want to call it).&lt;br /&gt;mkdir tmp&lt;br /&gt;Mount the iso by using the following command:&lt;br /&gt;mount -o loop linux.iso tmp&lt;br /&gt;then you can "cd tmp"&lt;br /&gt;Run the rpm installer from here and for other linux, copy the .gz file to your home folder.&lt;br /&gt;From their you should be able to install the vmware tools.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-7027621893395608229?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/7027621893395608229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=7027621893395608229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7027621893395608229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/7027621893395608229'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2008/02/intalling-vmware-tools-in-linux-guest.html' title='Intalling VMware tools in linux when guest CD doesn&apos;t mount'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-1012854054155160064</id><published>2008-02-15T09:11:00.000-08:00</published><updated>2008-02-15T11:18:52.895-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disk'/><category scheme='http://www.blogger.com/atom/ns#' term='extend'/><category scheme='http://www.blogger.com/atom/ns#' term='win'/><category scheme='http://www.blogger.com/atom/ns#' term='esx'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>Extend the windows disk under VMware</title><content type='html'>Few of the earlier windows installations we did with 5G or 10G OS partition started filling up and we constantly needed to juggle files around to keep it alive.&lt;br /&gt;There is option available though to extend these disks, as long as the disks are basic disks and not dynamic disks(I haven't tried working with dynamic disks yet).&lt;br /&gt;Another thing, there are other methods available to do the same also like using other disk partition software or ny using VMware converter, please evaluate what best suites your needs.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;What would you need:&lt;/span&gt;&lt;br /&gt;1. Downtime for the virtual machine which needs its disk extended.&lt;br /&gt;2. Another Windows 2003 server virtual machine(on same vmware host or able to see the disk of 1st virtual machine) which you can power off twice.&lt;br /&gt;3. ssh or telnet to the vmware esx host server.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Basically, it requires following steps:&lt;/span&gt;&lt;br /&gt;1. Shutdown the virtual machine whose disk has to be extended.&lt;br /&gt;2. Increase the disk size by ssh(or telnet) to vmware server host and using the  vmkfstools command.&lt;br /&gt;3. Present the disk to another Windows 2003 virtual machine.&lt;br /&gt;4. Extend the disk in question.&lt;br /&gt;5. Shut down the extending machine, remove the disk from this machine's resources.&lt;br /&gt;6. Boot up your virtual machine in question and you should have an OS drive with more space now.&lt;br /&gt;Please make sure you do a backup of the original file incase something doesn't go as expected.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Lets dive deep into these steps now:&lt;/span&gt;&lt;br /&gt;1. Shutdown the Virtual machine in question: You have to schedule downtime for the virtual machine to extend its disk.&lt;br /&gt;2. Login to vmware esx server using ssh(or telnet), whatever you use.&lt;br /&gt;Issue the following command to extend the disk in question:&lt;br /&gt;vmkfstools -X 15g /path/VMtest.vmdk&lt;br /&gt;Replace 15g with whatever the new size you want, 10g, 20g etc.&lt;br /&gt;and /path/VMtest.vmdk with the full path and vmdk file name for that host.&lt;br /&gt;(Should be under /vmfs/volumes/[storage_name]/[Virtual Machine Name]/)&lt;br /&gt;3. Through the virtual center now, Shut down the Windows 2003 server we are going to use to extend the disk in question. Edit settings &gt; Click on Add, then Hard Disk, Next, Use and existing disk, Browse to the disk in question and add this. After this disk shows up the resources(or hardware), boot up this machine.&lt;br /&gt;4. Through the disk manager, you should be able to see this new disk with new unpartitioned disk space. Go to command line and enter diskpart.exe.&lt;br /&gt;On the prompt, type list disks.&lt;br /&gt;Select the disk in question by using select disk 2, for example.&lt;br /&gt;Then type List volumes and it would show you all the volumes. select the volume in question by using select volume 1, for example.&lt;br /&gt;Now type "extend". This would extend the volume.&lt;br /&gt;Disk Manager, should show you the disk now with extended capacity.&lt;br /&gt;5. Now shut down this server, Edit settings again and &lt;span style="font-style:italic;"&gt;remove this disk(do not delete)&lt;span style="font-style:italic;"&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;6. Boot up the original virtual machine now and you should have an extended OS disk now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-1012854054155160064?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/1012854054155160064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=1012854054155160064' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/1012854054155160064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/1012854054155160064'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2008/02/extend-windows-disk-under-vmware.html' title='Extend the windows disk under VMware'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-2031999823597879451</id><published>2008-02-13T08:36:00.000-08:00</published><updated>2008-02-16T07:00:00.092-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='esx trunk service console'/><category scheme='http://www.blogger.com/atom/ns#' term='esx trunk cli'/><category scheme='http://www.blogger.com/atom/ns#' term='esx trunking'/><title type='text'>ESX trunking Server Side</title><content type='html'>In continuation of my last post:&lt;a href="http://rjalan.blogspot.com/2008/02/vmware-esx-vlan-trunking.html"&gt;VMware ESX VLAN trunking&lt;/a&gt; I had a issue on one of the server where service console was not on a separate NIC and hence after trunking I couldn't get to it remotely via Virtual Center or ssh.&lt;br /&gt;So basically, I had to use command line utilities on local console to get the service console back on network before I could create port groups for different vlans and attach my virtual servers to these. Here is how I went about doing this:&lt;br /&gt;Login to ESX server as root and issue the following command:&lt;br /&gt;esxcfg-vswitch -l &lt;br /&gt;This command is mostly under /usr/sbin and Gives me list of currently configured port groups, their Now lets assume that service console port is under vlan 25 for vswitch0, so we would need to create a port group for that vlan and lets call it "SCVlan25", could be anything you want to call it.&lt;br /&gt;So to create this new port group, issue the following commands:&lt;br /&gt;Add the new port group:&lt;br /&gt;esxcfg-vswitch --add-pg=SCVlan25 vSwitch0&lt;br /&gt;Add it to required vlan:&lt;br /&gt;esxcfg-vswitch --pg=SCVlan25 --vlan=25 vSwitch0&lt;br /&gt;Now, esxcfg-vswitch -l &lt;br /&gt;This would show you the added port group.&lt;br /&gt;&lt;br /&gt;Next step is to add the service console port under this newly created port group.&lt;br /&gt;Use the following command to get the listing:&lt;br /&gt;esxcfg-vswif -l&lt;br /&gt;Now, you would get the name of the interface from&lt;br /&gt; this command, in my case it was vswif0.&lt;br /&gt;Following command would be issued to put it in the right port-group:&lt;br /&gt;esxcfg-vswif vswif0 -p SCVlan25&lt;br /&gt;then again, "esxcfg-vswif -l" to confirm it.&lt;br /&gt;&lt;br /&gt;Now your service console should be on the network. And you should be able to create other port groups using command line above or the Virtual Center as mentioned in the earlier post.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Another issue I ran into&lt;/span&gt; is that after deleting a virtual switch so that I can team the physical NICs, the other virtual switch would not show the physical NIC I wanted to add, in virtual center.&lt;br /&gt;So this had to be done via command line also:&lt;br /&gt;esxcfg-vswitch -L vmnic# vSwitch#&lt;br /&gt;where vmnic# would be replaced by whatever NIC you want to add to that particular vswitch#.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-2031999823597879451?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/2031999823597879451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=2031999823597879451' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/2031999823597879451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/2031999823597879451'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2008/02/esx-trunking-server-side.html' title='ESX trunking Server Side'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-538864242757911994.post-5162145685423951026</id><published>2008-02-11T16:42:00.000-08:00</published><updated>2008-02-13T09:00:36.993-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='esx trunking cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='esx trunk catos'/><category scheme='http://www.blogger.com/atom/ns#' term='esx trunking'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware esx trunk'/><title type='text'>VMware ESX  VLAN trunking</title><content type='html'>We had been running VMWare ESX servers for a while without any VLAN trunking. This means, each physical NIC was part of a separate VLAN and this led to no network teaming(hence no failover) as number of NICs were be limited.&lt;br /&gt;Another limitation was that we couldn't add any more VLANs as all the NICs were already used. This is when we decided its better use trunking in our environment.   I got my start from following website for Cisco IOS configs:&lt;br /&gt;&lt;a href="http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking"&gt;ESX Server, NIC Teaming, and VLAN Trunking&lt;/a&gt;&lt;br /&gt;This worked fine for the server on switches running Cisco IOS.&lt;br /&gt;But since we are running some switches in hybrid config with CatOS, the following steps were taken on those switches for ESX server to work in trunking mode:&lt;br /&gt;&lt;br /&gt;1. If you haven't created a native VLAN for ESX environment now, you would need to create that with following command:&lt;br /&gt;set vlan "vlan-id" name "name"&lt;br /&gt;"vlan-id" here is the vlan number you want to assign this new vlan and could be anything between normal range 1–1000 and extended range 1025–4096. &lt;br /&gt;name doesn't have to specified but makes it easy to see what vlan is what.&lt;br /&gt;&lt;br /&gt;2. Change the port to trunking mode:&lt;br /&gt;set trunk "mod/port"  on dot1q &lt;br /&gt;or &lt;br /&gt;set trunk "mod/port"  on dot1q "vlan numbers"&lt;br /&gt;depending on whether you want to allow all VLANs or certain VLANs on the port.&lt;br /&gt;&lt;br /&gt;3. Set the native vlan on the port:&lt;br /&gt;By default vlan 1 is the native vlan, to change it:&lt;br /&gt;set vlan "vlan-id" "mod/port"&lt;br /&gt;where "vlan-id" is the vlan number created in step 1 or the vlan number if it already exists in your network.&lt;br /&gt;&lt;br /&gt;Now, on the ESX server side:&lt;br /&gt;From the virtual center, go to configuration for the host and click on networking.&lt;br /&gt;Then Add Networking, Choose Virtual Machine, choose the vswitch with the NIC(s), choose the name you want to call it and "vlan-id" for that port group.&lt;br /&gt;You can repeat the same steps for whatever vlans you want to configure on the host.&lt;br /&gt;After that you can Edit the settings for the Virtual Machine to point to their respective port-groups and should be good to go.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/538864242757911994-5162145685423951026?l=rjalan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rjalan.blogspot.com/feeds/5162145685423951026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=538864242757911994&amp;postID=5162145685423951026' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/5162145685423951026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/538864242757911994/posts/default/5162145685423951026'/><link rel='alternate' type='text/html' href='http://rjalan.blogspot.com/2008/02/vmware-esx-vlan-trunking.html' title='VMware ESX  VLAN trunking'/><author><name>Raj J</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
