I am attempting to integrate SSO (Single Sign On) with Facebook for one of my Drupal sites. (www.rockchipfirmware.com). After a bit of research and digging through modules I decided to give the “Drupal for Facebook” module a go. Talk about a PAIN IN THE AR$E…

I should have suspected when the description of the module was a page long and there are two different version of the module that require further description for each. A feature list showing what differed between the two module would have been nice… Nope…
(more…)

I thought I would put this together quickly because in typical Linux fashion something that should be straightforward isn’t… Node.js – I am still not sure what it is :), however I am in the process of setting up drupalchat on one of my sites and when I tried using it with the AJAX option, which worked well for a couple of users, it made the site run extremely slowly. The server has plenty of grunt… dedicated Ubuntu 13 VM running 3 cores and 2 GB of RAM and this particular site was the only thing running on it. Furthermore, the MySQL database server was/is on a separate dedicated VM… so there is no way it was a lack of firepower. DrupalChat running with AJAX was causing problems. I am going to launch a fuller tutorial on getting drupal chat setup but I figured I would do the node.js thing here and now….
(more…)

So you have just built your brand new Server 2012 box and need to download and install some software to get it up and running for the intended user. You open up IE because that is the only browser installed on a new box and hop on over to the download site, click the link to download and STOP…

“Security Alert: Your current security settings do not allow this file to be downloaded.”

Oh yes, you know the fix for this, go to server manager, fumble around and hit “local server” and then find the “IE Enhanced Security Configuration” and turn it off. Restart Internet Explorer…

It still won’t let you download and gives you the same message…

So what gives? You are a local admin on the box (at least, maybe even a Domain admin…), turned off Enhanced Security, and yet, Microsoft still says no. Do the following as turning off Enhanced Security Mode is part 1 but you need part 2.

  1. Open up Internet Explorer (IE)
  2. Click the “Gear” in the upper-right-hand corner
  3. Click Properties
  4. Click the Security Tab
  5. Click “custom level” button while “internet” up top is highlighted..
  6. Scroll Down and find the Downloads Section –> File Download
  7. Tick “enable” then “ok” and “Apply” and get out and back to work

Thank you Microsoft for babysitting us all until we absolutely lose our minds…

Ran into an issue to day installing Server 2012 R2 from an ISO file onto a fresh/brand new VM.

"0xE0000100: "Windows installation encountered an unexpected error. Verify that the installation sources are accessible, and restart the installation."

A little Google-Fu fixed me right up. New VM’s only have 512 MB of “startup memory” and you need to set it to at least 1024 MB to allow the installation to proceed without error.

I had Dynamic Memory setup with a range of 512 MB to 8192 MB and thought I would be okay. Not so. Anyhow, I just statically gave it 4 Gb for the install and changed it around once the install was finished. That being said, I am keeping the startup memory at 1024 MB now for all Server 2008R2+ VM’s.

Cheers!

I love Hyper-V 3.0… particularly compared to earlier versions. It comes packed with some very nice new features, several of which are geared around the idea of thin deployment. One such feature is Dynamic Memory. Dynamic Memory allows you to set a base “Starting” amount of RAM for a server (say something low like 512 MB) and then also set a max amount it can take up (say 8 Gb). The idea is that you can over-provision RAM on a Host server and still be okay if the majority of your VM’s are usually just sitting their idle. Which in most cases they usually are. The problem is that on the client machine, if you are running Windows Task manager at least, you will almost always see 90 – 95% memory utilization and it will show whatever the max is that your server can scale to (say 8 GB).

This really threw me off recently. I had one VM that was misbehaving due to having the VHDX file on a slow share on a storage array. Initially, not knowing what was broken, I took a look at task manager on the VM (which was running Server 2012) and noted that it was showing nearly Maxed out RAM usage. Further investigation though showed that it couldn’t possibly be using more than 1 Gb (of the 8 Gb shown in task manager) at any one time.

After some further investigation I learned that this is common behavior on VM’s that are allocated memory dynamically and nothing to be concerned with. The VM today still has dynamic memory and still shows 95% usage pretty much all the time but runs just fine now that the VHDX file has been moved to faster storage. Anyhow, hope this helps someone else out!