I ran into a problem this evening while setting up a XEN server with 5 virtual machines running on the host system. The host system has 2.5 GB of RAM and I know that XEN can not do “memory overloading” like VMware does so I “divided up” the memory while creating the VMs. Once I had 4 of the VMs up and running, the network inside the VMs stopped working. I checked the host system log and saw this error. It appears that dom-0 is taking all of the memory “not being used” so that when the memory runs out well before I have all of my VMs running. It can be fixed by assigning a static amount of ram on the dom0:
- Edit /boot/grub/grub.conf:
On the “kernel /xen.gz-2.6.18-128.1.10.el5″ line, add the following to the end of the line: dom0_mem=256M.
- Edit /etc/xen/xend-config.sxp and change the following:
(dom0-min-mem 256) to (dom0-min-mem 0)
Once the dom0 server is rebooted, this issue will be fixed.
Prince Rupert, named after Prince Rupert of the Rhine, was founded by Charles Melville Hays, the general manager of the Grand Trunk Pacific Railway, in 1906 as the western terminus of the Grand Trunk Pacific Railway. It was intended to compete with the Vancouver operations of the Canadian Pacific and Canadian Northern railways. The town’s design was inspired by a proposal for Tacoma, Washington. It was planned to have imposing railway buildings and hotel facilities, curving streets, and park reserves. Prince Rupert was incorporated on March 10, 1910. The railway company transferred its control of the settlement to the city with the intention of developing railway terminal facilities and selling property, but these plans were disrupted in 1912 by the death of Charles Hays and by World War I. Just after the end of the war, the railway company declared bankruptcy. Prince Rupert is a central point on the Inside Passage, a route of relatively sheltered waters running along the Pacific Coast from Vancouver, British Columbia to Skagway, Alaska. It is home to one of the largest natural ice-free harbors. Prince Rupert is located on Kaien Island near the mouth of the Skeena River about 470 miles northwest of Vancouver.
Skagway began life as a gold rush town around 1890. It was here that fortune seekers looked for rest and relaxation on the grueling route to the Yukon. In the late 1890s, the town consisted of make-shift tents and shacks and was full of “adventurers” and became home to numerous gambling houses and bordellos, as well as 80 saloons. Skagway is also where the legendary “Soapy Smith” ran his infamous “business” deals – cheating and conning virtually all who entered the town. Today, the town continues the “Gold Rush Theme.” Many locals continue to dress in the costumes of the 1890s and many vintage automobiles are in used here. Skagway is also home to the famous narrow gauge “White Pass Railway”. A 40-mile round-trip up to White Pass on the Alaska/Canada border is a must in order to truly experience the town.
After leaving Juneau, our ship traveled slightly south to the Tracy Arm
of the Inside Passage in Alaska. After sailing for a few hours down a very narrow passage with mountains shooting skyward on both side, we arrived at Sawyer Glacier. The ship sailed right up to the edge of the glacier. While it was 64 degrees in Juneau, the temperature got noticeable colder as we approached the glacier. I can only assume that this was because the air cooled as it traversed over the glacier before getting to us. Unlike the Mendenhall Glacier which we saw earlier today, the only way to get to the Sawyer Glacier is by boat. We departed the Sawyer Glacier the same way we came in. It is amazing how this 971 foot long ship can turn 180-degrees without the assistance of tugboats and in such a narrow space. After a long day with the sun rising around 4:30 AM this morning and setting around 9:30 PM, it is time to sleep and wake up at the next port…
Juneau is set on Gastineau Channel at the base of Mt. Roberts. It is the capital and
third largest city in Alaska covering 3108 square miles. The city is located near Juneau Ice Field. The ice field is 1500 square-miles where no animals live, ice rarely melts and each snowfall adds to the mass that feeds the region’s glaciers. The history of Juneau dates back to 1880 when Richard Harris and Joe Juneau, led by a Indian named Kowee, discovered gold at the mouth of Gold Creek. This discovery led to the founding of a new town in 1906. Juneau is also located in the Tongass National Forest, the largest temperate rainforest in North America. Maybe I’ll run into Sarah Palin here and she can point out Russia to me…
We have arrived in Ketchikan, Alaska…
The ship docked this morning just as the sun rose over the mountains. Ketchikan’s history started in 1883 when a man named Snow built a salmon saltery. Two years later, a businessman from Oregon hired Mike Martin to investigate possibilities for building a salmon cannery on the banks of Ketchikan Creek. By 1900, with a population of 800, the town was officially incorporated. Ketchikan is well known as the salmon capital of the world. Today, Ketchikan has a population of 14,500 and is built along steep hillsides with sections of the town built right over the water on pilings. Ketchikan’s name supposedly comes from the native term “Katch Kanna”, which roughly translates: “spread wings of a thundering eagle.” You only need to look along the coast to see the many bald eagles to understand where the name comes from.
I’ve been using a Windows Operating System for a while now and I use the Command Prompt Here PowerToy on just about every computer I setup. I like being able to browse to a folder then right-click and open a command prompt at that point in the file system. With my recent move to 64-bit operating system, that power tool seems to be broken. At least on Vista, if you hold the shift key down when you right click, you’ll get the “Command Prompt” line in the context menu. It appears as if they built-in it in to the system… But… There is no way to “stick” it to the context menu and it only works on the folders on the right pane, not the left pane. Not good enough. So I modified the original Command Prompt Here PowerToy to be aware of 64-Bit operating systems and now I have an INF file that can work on both 32-bit and 64-bit operating system. If you want it, I have put the file here. Just download the file, unzip it, right-click on the INF file and select Install from the context menu.
I recently tried using Shared Folders inside of a Windows Guest VM. I must say that the experience was horrible! The performance was terrible and the Guest VM would freeze sporadically when accessing the Shared Folder. I finally gave up using this feature… Instead, I tried mapping a drive via the “Network” directly to the “Hidden” Administrative share. The freezes disappear and the performance was much better. Plus, I was able to add the IP address of the host and put it right into the Intranet Zone. In my opinion Shared Folders is a “not-ready-for-primetime” bug.
Due to a restrictive “Standard Desktop” and repeated “unexplainable” OS failures, I’m moving my entire development environment to a Vista 64-bit VM hosted under VMware workstation. As I am installing my development tools, I would have to keep copying the installer over to the VM because the Shared Folder, which I mapped to a network drive, was being identified as Internet Zone. Anytime a network drive is in the Internet Zone, additional security precautions prevent executable content from running. Copying the files were fine at first when the files were small that I was copying, but as I started doing larger files, this became a pain in the a**… After I installed Firefox, I opened a file on the UNC path \\.host\Share Folders\… in the browser and I saw the URI. I opened IE’s Local Intranet Security Zone configuration and input “file://///.host/Shared%20Folders/*” for the website name behind the Advanced button. VMware’s decision to use a period in the host name cause other workarounds to not work and cause Windows to automatically associate the drive with the Internet Zone. I wish they would have taken the same path as they did for the Linux HGFS driver in that it appears to the guest as another drive/partition. On another note, I had this same problem when using domain-based DFS but never put the two together until now..
I’ve recently gotten into the MVC goodness coming out of Scott Guthrie’s team. The man is a genius and has a lot to say… but sometimes, I just want the meat. I was recently looking to get the JavaScript Intellisense working and I ran across Scott Guthrie’s article on jQuery Intellisense at http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx.
To make a long story short, here is the meat:
- Install VS2008 SP1: http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en
- Install the Support Patch that cues Visual Studio to look for JavaScript documentation files: http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736
- Download the latest version of jQuery and the associated documentation file: http://docs.jquery.com/Downloading_jQuery#Download_jQuery
- When downloading the jQuery files, make sure to get both files, they are:
- jquery-x.x.x.min.js
- jquery-x.x.x-vsdoc.js (follow the documentation link to get that)
Add the two files to your web application project or MVC application.
I’ve seen various places that say you should include the script tag in your master page. However, this can cause the intellisense to break on your “content” pages. I find a “hack” at http://blogs.msdn.com/webdevtools/archive/2008/10/28/rich-intellisense-for-jquery.aspx. By adding this work around to your content page, you can get jQuery intellisense on your content page.