Sunday, August 31, 2014

The new Apple campus construction site, as seen from a drone [feedly]



----
The new Apple campus construction site, as seen from a drone
// Apple Mac News - MacHash

A new video surfaced last week, offering a great look at Apple's new 'spaceship' campus construction site. If you'll recall, Apple was given the green light by the Cupertino City Council last fall to start the project, and it appears that builders are already making serious headway. Drone enthusiast 'jmcminn' uploaded the video to his YouTube channel, which was shot using a DJI Phantom 2 drone and a GoPro Hero. The clip is worth watching both from a technological standpoint (hello, it was shot with a consumer drone), and for the peek at Campus 2.... Read the rest of this post . . .
----

Shared via my feedly reader


Sent from my iPhone

Apple adds American Express, Visa, MasterCard as mobile payment partners [feedly]



----
Apple adds American Express, Visa, MasterCard as mobile payment partners
// Cult of Mac | Breaking news for Apple fans

After years of reports saying that NFC is coming to the iPhone for mobile payments, it looks like it will finally be a reality on September 9th. Part leaks have indicated that Apple's next-gen iPhone hardware will indeed be equipped







----

Shared via my feedly reader


Sent from my iPhone

Updated Windows_Pagefile Cookbook #gethchef

I modified the default.rb to separate w2012/w2012r2 and w2k8r2 for both XenServer and vCloud/vSphere with the Ohai value for [kernel][cs_info][total_physical_memory]. I have broken it down for XenServer (4gb, 6gb, 8gb, 16gb) then vCloud/vSphere (4gb, 6gb, 8gb, 16gb). 

The cookbook is on GitHub.

Here is the new default.rb:

def memory
  "#{node['kernel']['cs_info']['total_physical_memory']}"
end

# splitting out based on OS vsersion and then the case statement is XenServer(4,6,8,16) then vSphere/vCloud(4,6,8,16)
if node['platform_version'] >= "6.2.9200"
  case memory
  when "4286169088" 
    include_recipe "pagefile-cookbook::4gb"
  when "6433652736" 
    include_recipe "pagefile-cookbook::6gb"
  when "8581136384" 
    include_recipe "pagefile-cookbook::8gb"
  when "17171070976" 
    include_recipe "pagefile-cookbook::16gb"
  when "4294496256"
    include_recipe "pagefile-cookbook::4gb"
  when "6441979904" 
    include_recipe "pagefile-cookbook::6gb"
  when "8589463552" 
    include_recipe "pagefile-cookbook::8gb"
  when "17179398144" 
    include_recipe "pagefile-cookbook::16gb"
  end
else
  case memory
  when "4290367488"
    include_recipe "pagefile-cookbook::4gb"
  when "6437851136"
    include_recipe "pagefile-cookbook::6gb"
  when "8585334784"
    include_recipe "pagefile-cookbook::8gb"
  when "17175269376"
    include_recipe "pagefile-cookbook::16gb"
  when "4294500352" 
    include_recipe "pagefile-cookbook::4gb"
  when "6441984000"
    include_recipe "pagefile-cookbook::6gb"
  when "8589467648"
    include_recipe "pagefile-cookbook::8gb"
  when "17179402240"
    include_recipe "pagefile-cookbook::16gb"
  end
end

Saturday, August 30, 2014

Understanding the value of a Massive Open Online Course (MOOC) [feedly]



----
Understanding the value of a Massive Open Online Course (MOOC)
// VentureBeat

GUEST POST

Understanding the value of a Massive Open Online Course (MOOC)
Image Credit: Cali4beach/Flickr

After 30 years in a corporate learning setting, I wanted to try something different. So, I decided to experiment in the world of online teaching, knowing I could share my passion of big data and learning with an even larger audience (after all, the "M" in MOOC stands for "massive").

Armed with a topic I was passionate about (big data for learning), I worked with online learning platform Udemy to build my first course. Not only did this experience allow me the opportunity to expand my audience, but it also yielded a few best practices for others looking to do the same.

Lesson 1: The content itself is only half the battle

When it comes to the content, think about it in context. While the content of any course is key, I was surprised to find that it's just as important to emphasize the timing and format of the content's "unveiling."

Massive Open Online Course instructors have two routes they can take:

1: Release each course separately
2: Release all their content at once

When trying to identify which route is best for you, consider whether your intended audience is likely to have the time to binge-watch. For example, an audience of busy working professionals likely only has the time (and patience) for courses that are cut into small installments. This type of audience consumes online content in a way best described as "primal" – i.e., they devour the skills and topics for which they are hungriest and those that are the most "nutritious," then quickly get on with their busy lives.

Instructors who clearly lay out the course's content in an introductory syllabus-style outline streamline the process for their students, allowing them to more directly access the course lessons that are most relevant to them. Releasing the content in phases has the added benefit of giving you the chance to incorporate audience feedback and make improvements along the way.

For instance, A trio of three-minute videos might be more digestible than a single video that is nine minutes long.

Lesson #2: Don't overvalue the "course completion rate" statistic

One of the most frequent – and quite frankly bogus – criticisms we hear about MOOCs is that course completion rates are extremely low, suggesting that students lose interest and ultimately learn nothing.

The beauty of the on-demand MOOC format (i.e., students start and stop their classes as they desire) is that the student is in the driver's seat. Asking "what are completion rates?" is the wrong question. Rather, you should be asking, "Did students learn what they needed to know?"

Online learning is different from a traditional academic setting; everyone comes in with a different level of understanding and expertise. Therefore, not everyone needs every segment of every course. A low rate of course completion is a meaningless statistic without any additional context.

Consider your course's student completion rates in tandem with student feedback. For example: If low completion rates are paired with negative student commentary, then the content may be to blame;  however, if completion rates are low and yet the feedback is positive on the whole, this tells a different story (and is a good sign!). It means the student got what he/she wanted and moved along.

Remember, skill seekers have enrolled in your course to gain a specific skill, so they are likely to focus on the segments of the course that are most relevant and of most value.

Lesson #3: Do pay attention to the numbers in general

The numbers that really matter are the reviews and ratings. Since this is an online learning marketplace, it is important to understand what students perceive the value of your course to be.

But don't stop there. Each of the various MOOC platforms offer insight into what adjustments can be made to make the course better; or even highlight opportunities for the creation of other courses that may be in demand.

While some data points look exactly as you would expect them to look (e.g., a course on Microsoft Word may have more baby boomers than millennials enrolled), some of the insights will be unexpected and beneficial. For example, I was surprised that none of my students took my lectures over the weekend, and most chose to learn during the day rather than in the evening. Most of my content was consumed between the hours of 4 and 5 p.m. — interestingly during the last hour of their work day.

Rather than make assumptions about when your audience might find it convenient to take your course, offer it on-demand and let them decide.

Data also showed that my students still returned to my lectures to review the content more than three months after it originally launched, which, to me, reinforces the evergreen nature of the content itself. Instructors that create content with a practical, on-the-job application are likely to see students refer back to it in a similar way.

Metrics at your disposal will not only provide insight into possible adjustments, but will shed light on the content itself and the ways it is bringing value to your audience.

Despite my vast experience as an instructor around the world, my first foray into the MOOC world was an enlightening one. When I started out, I expected to expand the size and reach of my audience; what I didn't expect was the degree to which I would learn something new and expand my own experiences.

Elliott Masie heads The MASIE Center, a New York think tank focused on how organizations can support learning and knowledge within the workforce. In May 2014, Masie created a corporate MOOC on Udemy to deliver content to his Learning CONSORTIUM, a coalition of 230 global organizations cooperating on the evolution of learning strategies. Click here to learn more.









----

Shared via my feedly reader


Sent from my iPhone

Build a $35 Raspberry Pi-based Time Capsule backup server [feedly]



----
Build a $35 Raspberry Pi-based Time Capsule backup server
// Apple Mac News - MacHash

Here's a fun weekend project for those of your who like building your own Mac add-ons. Raymi.Org has posted a tutorial on how to build your own US$35 Time Capsule using a Raspberry Pi single-board computer, rather than paying $299 for the official...
----

Shared via my feedly reader


Sent from my iPhone

@Zenoss Attains Select Status in the ServiceNow Certified Integration Program [feedly]



----
@Zenoss Attains Select Status in the ServiceNow Certified Integration Program
// VMblog.com - Virtualization Technology News and Information for ...

Zenoss Inc. today announced it has achieved Select status in the ServiceNow Certified Integration Program. Zenoss' Select status recognizes the... Read more at VMblog.com.
----

Shared via my feedly reader


Sent from my iPhone

Friday, August 29, 2014

Swap State: how fast can you isolate the problem and fix it? [feedly]



----
Swap State: how fast can you isolate the problem and fix it?
// Virtualization Management Software & Data Center Control | VMTurbo » VMTurbo Blog

It is a very well-known fact that if your virtual machines are swapping memory pages to disk, then their associated applications are going to experience heavy  delay.  Even worse, swap state is one of the most challenging issues to solve … READ MORE

The post Swap State: how fast can you isolate the problem and fix it? appeared first on Virtualization Management Software & Data Center Control | VMTurbo.


----

Shared via my feedly reader




Sent from my iPad

Docker's VMware tryst is about giving sysadmins the whip hand [feedly]



----
Docker's VMware tryst is about giving sysadmins the whip hand
// The Register - Cloud

The time has come to beat cloud upstarts into shape

VMworld 2014  Docker's often been cast as an enfant terrible so talented that it makes mature predecessors suddenly look a bit old, slow and irrelevant.…


----

Shared via my feedly reader


Sent from my iPhone

Dive into OS X Yosemite in Macworld's October Digital Edition [feedly]



----
Dive into OS X Yosemite in Macworld's October Digital Edition
// Apple Mac News - MacHash

Every day, Macworld brings you the essential daily news and other info about all things Apple. But staying on top of that torrent of information can be a constant challenge. One solution: the Macworld Digital Edition. Available as single copies or with a yearlong subscription, the Digital Edition comes in two forms: Enhanced and Replica. The Enhanced Edition has all the news, analysis, product reviews, and how-to's from the print magazine, along with interactive features, videos, slideshows, and podcasts-all customized for consumption on your iPad. The Replica Edition is just like a . . .
----

Shared via my feedly reader


Sent from my iPhone

Integrating ACI & Nexus 2000-7000 [feedly]



----
Integrating ACI & Nexus 2000-7000
// Cisco Blog » Blog Archive » Enable Your Cloud with Cisco and EMC

As the breadth and depth of the ACI solution continues to grow, so does customer interest.  Many customers who have [...]
----

Shared via my feedly reader


Sent from my iPhone

Application Enablement and Innovation Leveraging Linux Containers [feedly]



----
Application Enablement and Innovation Leveraging Linux Containers
// Cisco Blog » Blog Archive » Enable Your Cloud with Cisco and EMC

Linux containers and Docker are poised to radically change the way applications are built, shipped, deployed, and instantiated. They accelerate [...]
----

Shared via my feedly reader


Sent from my iPhone

Understanding Docker Containers on Microsoft Azure with Kubernetes Visualizer [feedly]



----
Understanding Docker Containers on Microsoft Azure with Kubernetes Visualizer
// MS OpenTech

Kubernetes Master manages Minions which contain Pods describing the application/components.The Microsoft Open Technologies, Inc. engineering team has been hard at work bringing Docker and Kubernetes support to Microsoft Azure, as we promised in July. Today we are announcing that Kubernetes can be used to manage your Docker containers on Microsoft Azure. In addition the Azure team has released the Azure Kubernetes Visualizer project which builds upon this work and makes it much easier to experiment with and learn Kubernetes on Azure.

Docker is an open-source engine that automates the deployment of any application as a portable, self-sufficient container that will run almost anywhere. Kubernetes is an open source cluster management tool, a declarative technology supporting orchestration and scheduling of Docker containers. With these latest contributions to the Kubernetes toolset, developers can transparently deploy and manage container clusters on Azure.

The key features we have implemented are documented in the Kubernetes project and can be summarized as:

  • Build a container and publish it to Azure Storage
  • Deploy an Azure cluster using container images from Azure Storage or the Docker Hub
  • Configure an Azure cluster
  • Update the Kubernetes application on an existing cluster
  • Tear down an Azure cluster

Whilst these features enable the deployment and management of complex application clusters, doing so requires an understanding of some key concepts introduced by Kubernetes.

Understanding the Language of Kubernetes

Kubernetes uses a variety of terms to describe an application consisting of a cluster of containers on Azure. Some of the most frequent include:

  • Container: A portable, lightweight runtime that enables apps to be quickly assembled.
  • Master: This term is used to identify the machine which manages the application as a whole. A master manages one or more minions.
  • Minion: A virtual machine that runs Docker containers and thus the end-user workloads. A minion will run one or more Pods.
  • Pod: An individual application, or part of an application, that runs on a single minion (VM). Pods are balanced across the minions by the master to support scalability.
  • Label: An arbitrary set of key-value pairs attached to pods that are used to help organize your clusters.
  • Replication controller: Manage failures and scalability by ensuring that an appropriate number of Pod deployments are available in the data center at any given time.

Unfortunately, merely defining the words used in managing a container cluster is not enough to build an understanding of how Kubernetes works. To this end, we are pleased to report that the Microsoft Azure team has created some software that helps to visualize Kubernetes deployments on Azure.

Learning With the Azure Kubernetes Visualizer

The Azure team have built the Azure Kubernetes Visualizer, which is also being released today. This open source project provides a web application, written in node.js, that automatically creates a pod definition and replication controller file that is then used by Kubernetes developers to deploy to an existing cluster of Virtual Machines running Docker.

The applications user interface provides helpful visual representations of what is happening on your cluster. Furthermore, users can edit the automatically generated files and watch as Kubernetes updates the cluster configuration.

The project is described in more detail on the Microsoft Azure blog and is a great example of how the Kubernetes project is enabling further experimentation and innovation. This visualizer work was primarily driven by Michael Blouin, an intern who brought a bright idea to a recent Microsoft hackathon, The subsequent collaboration between MS Open Tech and Microsoft Azure staff and interns has delivered software that validates our work on Kubernetes and is useful to those wanting to explore Kubernetes on Microsoft Azure.

Within MS Open Tech we are excited to see our ongoing work on Docker and Kubernetes helping to build  a community that is driving interoperability and innovation in container cluster management. We hope it will benefit those of you who wish to leverage this improved interoperability across cloud platforms.

The post Understanding Docker Containers on Microsoft Azure with Kubernetes Visualizer appeared first on MS OpenTech.


----

Shared via my feedly reader


Sent from my iPhone

Redis on Windows 2.8.12 released [feedly]



----
Redis on Windows 2.8.12 released
// MS OpenTech

MS Open Tech has released Redis for Windows version 2.8.12, available as redis-64 packages for Chocolatey and Nuget. You can also download full source code from the Redis on Windows repo on GitHub.

This Redis version adds a variety of new features, bug fixes and other changes, as outlined in Salvatore Sanfilippo's release notes for the 2.8.12 version. We've also made some changes to the Windows codebase, such as reworking the COW (Copy On Write) join for Windows 8+, moving the heap memory mapped file into a Redis subfolder under the local app data folder, and adding a heapdir directive to allow for configuration of where the QFork memory mapped file is stored.

Interest in the Windows version of Redis continues to grow, with over 1500 followers now for the MS Open Tech Redis repo. We're excited to have this release out, and the team is already working on the next update. If you're interested in getting involved or contributing to the project, we'd love to hear from you.

Check out the new 2.8.12 release and let us know what you think!

Kirk Shoop, Software Design Engineer
Doug Mahugh, Technical Evangelist
Microsoft Open Technologies, Inc.

 

The post Redis on Windows 2.8.12 released appeared first on MS OpenTech.


----

Shared via my feedly reader


Sent from my iPhone

ChefDK [feedly]



----
ChefDK
// Food Fight

Join our panelists as we discuss ChefDK!

Watch Now

Panel

Outline

Chef News

Upcoming Events

Upcoming Chef Training

Use discount code FOODFIGHT to save 10% off upcoming Chef training that's being held in

There are also a number of classes being offered online.

Show Notes

Here's a brief outline of some of the things we discussed:

  • Intro to ChefDK
  • Working with Ruby Gemfiles
    • Simplifying the tool chain
  • Why is it called "Chef"?
  • What does typing Chef actually do?
  • Using ChefDK
    • Using the chef command
      • verify
      • Some glue commands - exec, gem, and shell-init
  • Chef for Beginners and New Users
  • The chef generate Command
    • What does it do?
    • How does it work?
    • generate
      • coobkook
      • recipe
      • attribute
      • template
      • file
      • lwrp
      • app
  • The Future of ChefDK
  • Supported operating systems - As of version 0.2.1 the following Operating Systems are supported:
    • Mac OS X 10.8, 10.9
    • Windows 7, 8, 8.1 & Server 2008 R2, 2012, 2012 R2
    • Ubuntu Linux 12.04, 13.10
    • Red Hat Enterprise Linux 6
  • Upcoming: The Policy File

Commands to install ChefDK from command line: * Install latest released version - curl -L https://www.getchef.com/chef/install.sh | sudo bash -s -- -P chefdk * Install nightly build - curl -L https://www.getchef.com/chef/install.sh | sudo bash -s -- -P chefdk -n

Picks

Dan

Jason

Jon

Jonathan

Serdar

Tara

Joshua

Mike

  • dvm - Effortless Docker-in-a-box for unsupported Docker platforms, like the Mac
  • kitchen-docker - A Test Kitchen Driver for Docker
  • Arrested DevOps - Awesome podcast!

Nathen

Download


The Food Fight Show is brought to you by Bryan Berry and Nathen Harvey with help from other hosts and the awesome community of Chefs.

The show is sponsored, in part, by Chef.

Feedback, suggestions, and questions: info@foodfightshow.com or http://github.com/foodfight/showz.


----

Shared via my feedly reader


Sent from my iPhone

VM Backup with Xen Orchestra [feedly]



----
VM Backup with Xen Orchestra
// Xen Orchestra

As you may already know, we planned to integrate backups directly in Xen Orchestra: this feature is in our current road map.

The goal is to provide a simple interface to select, plan and automatize all your VMs backups. But, until its done, one of our clients needs quickly a way to snapshot all its running VMs in one command. Remember this diagram?

xo-arch

Well, why not connect a kind of "client" to send order directly to "xo-server" to automatize all this stuff? After all, we had a unique entry point for all XenServer via the core of XO.

That's how "xo-backup" (as a plug in) is born in less than 2 days  and 200 lines of code! Let's see the architecture diagram with this new client:

image

As you can see, "xo-backup" is a completely standalone client, it could be executed on any machine you like, even not on the same box running "xo-server". For example, it can run on your backup server, dedicated to that kind of tasks.

How it works

Let's take a real and simple example. I will use "xo-backup" on my PC at home, to start a backup on the existing demo instance of Xen Orchestra (running in a data-center), itself connected to our small lab in our offices:

xo-backup (home) -> xo (datacenter) -> xenserver (office)

On one running VM, I've got no snapshot:

nosnap

Here is a simple example of this client:

$ xo-backup --max-snapshots 2 --user admin@vates.fr https://dev1.vates.fr/api/  [?] Password: ********  ✔︎ vm1 snapshotted  ✔︎ vm2 snapshotted  ✔︎ vm3 snapshotted  ✔︎ vm4 snapshotted  

As you can see, we created a snapshot on each of this VM. If I go on a VM screen in XO, now I can see:

onesnap

Great! Now  I can revert to this snapshot in two clicks, also remove or rename it if I want:

onesnapedit

Or, but let's try to restart "xo-backup", using exactly the same command. The result is now:

twosnap

Remember the "--max-snapshots 2" parameter in the command line? What if I choose to start a new "xo-backup" now?

$ xo-backup --max-snapshots 2 --user admin@vates.fr https://dev1.vates.fr/api/   [?] Password: ********   ✔︎ vm1 snapshotted   ✔︎ vm1 old snapshot deleted auto-2014-07-27T09:34:49.434Z  

The oldest one is automatically removed! That's why you can use this script directly in a Cron job (like the example given here). In this way, you made a snapshot rotation, allowing a rollback D-1 etc.

Wait! If I made my own snapshot manually between automated "xo-backup" execution?

No problem! Our client filters automatically on the "auto-" prefix present in your snapshot name. If you manually create one, with for example "snapbeforeupdate" name, it will NOT be removed by "xo-backup"! That's why you can continue to use snapshots manually in parallel of "xo-backup".

... wait! (again). Snapshots are NOT backups!

You're totally right! That's because "xo-backup" is just at its first version. Our next objective is to allow full exports of VM, *.xva files on your local disk, or any accessible mount on your system.

This feature will come with parameters to target only VM you like (or all, or with a filter you give). We choose to start with snapshots, because that's the first step allowing full export of a running VM: we'll export its fresh snapshot during its execution (because you can't export directly a running VM).

Thanks to our sponsor

This client was sponsored by OOWorx. Thanks to them for helping XO to be better!

Remember: you can do the same and sponsor a feature you need! Contact us for me details.


----

Shared via my feedly reader


Sent from my iPhone

Full XO stack on npm [feedly]



----
Full XO stack on npm
// Xen Orchestra

This a quick post about how XO is built. 1 year ago, we choose to switch from PHP to NodeJS: what a great idea!

It's easier to work with JavaScript on the whole stack (from "xo-server", the back-end, to "xo-web", the front-end), we got really better performances, better scalability, less dependencies, and so on.

Plus now, when we choose to add "clients" to our current architecture, it stays simple and efficient. Progressively, we are migrating the complete XO stack to npm.

It's not completely done, but we made recent progress and we'll finish soon. In this way, updating and deploying XO packages and their respective dependencies will be painless. Picture is related ;)

npm


----

Shared via my feedly reader


Sent from my iPhone

Xen Orchesta 3.5.1 [feedly]



----
Xen Orchesta 3.5.1
// Xen Orchestra

A minor release for a minor fix ;)

Want to upgrade in XOA? As explained in the documentation, just type that:

npm update --global xo-web xo-server    systemctl restart xo-server.service    

And you're done! You should see "(xo-web 3.5.1)" in the About page.

This is also the occasion to told you we officially exceed 200 unique downloads since the 3.5 release!

Thank you!


----

Shared via my feedly reader


Sent from my iPhone

New look [feedly]



----
New look
// Xen Orchestra

We're back with a new blog and a new website :) Farewell Wordpress! Say hello to Ghost.

We decided to wipe our current stack and to use better tools.

New blog

We switched from WP to Ghost. It uses Markdown for writing. And that's waaaaaaay better than WYSYWYG editor or plain HTML. It runs on NodeJS, reverse proxified by Apache.

Old articles will be migrated soon, preserving their old URLs.

New website

Written from scratch, using Jade, Bootstrap, Gulp. Running on top of NodeJS.

Other stuff

We'll publish an article about our new pricing table and why we choose to do that. We'll give you informations about the project too. Stay tuned!


----

Shared via my feedly reader


Sent from my iPhone

Statistics in XO [feedly]



----
Statistics in XO
// Xen Orchestra

This coming feature in Xen Orchestra is really important. But not trivial to implement. Let's what it is all about.

Concepts

Our current architecture connects directly to the XAPI, listen to events and send orders. But statistics are not directly in the XAPI. It was the case in previous versions of XenServer (4 and before), but for performance reasons, it was placed in Round Robin Databases (RRD). Thus, you can call directly those metrics through the XAPI.

RRD and backend

Let's hear one of the main XAPI dev, Jon Ludlam:

RRDs are maintained for individual VMs (including dom0) and the host. Internally, the RRD is updated and maintained by a module similar to (but not actually) rrdtool. RRDs are resident on the host on which the VM is running, or the pool master when the VM is not running. For this reason, to obtain the data requires knowledge of where the VM is running.

You can read more about it here.

  • After that, we need to make a HTTP request on the targeted object (on the right host) for extracting its metrics.
  • Furthermore, we got an XML file we need to parse.
  • Finally, passing those data from xo-server to any client requesting it.

And we're done for the backend.

GUI display

Wait a minute! Ok, we got data, but now we need to display what we want in the user interface. We already know we'll use that kind of graphs:

A first draft of where we'll put them:

In this mock up, you'll have CPU, RAM, Network and Disk activity in the VM view. This not the final design, but it gaves a general idea. Thanks to our experience using a nice graph lib (d3js), we'll find the best way to show you what is really happening in your VM, host or any other object having metrics.

Conclusion

Implementing graphs and metrics in XO is not that complicated, but it requires some time to do it properly. We hope to manage this as soon as we got time to work on it. If you have any question or suggestion, do not hesitate to comment this post.


----

Shared via my feedly reader


Sent from my iPhone

How to use Wake-on-LAN on XenServer 6.2 [feedly]



----
How to use Wake-on-LAN on XenServer 6.2
// Xen Orchestra

In this post, we'll see how to activate the Wake-on-LAN (WOL) on XenServer 6.2

Hardware configuration

Naturally, it depends of your hardware configuration. If you don't have any Server Manager Tool, like iLO (HP) or iDRAC (Dell), you can count on the WOL feature of your network card.

In our lab, we got basic hardware: ITX cards and Core i5 CPU, not the kind of hardware you'll find in a data-center, but it's compatible with WOL.

Configure the operating system

XenServer 6 is based on CentOS. By default, when you shutdown the host, it doesn't activate the network card. In this case, you can't wake the box, because your interface is completely off. So, we need to configure it:

  • connect in SSH to your host
  • do a ethtool -s eth0 wol g
  • that's all!

But if you want to do this permanently, this command will do the trick:
echo '/usr/sbin/ethtool -s eth0 wol g' >> /etc/rc.d/rc.local

Now, when the system shutdown, it's ready to listen for a WOL packet.

Configure XenServer

But that's not enough to start a server using Xen Orchestra or XenCenter. You need to tell the XAPI how to wake it: because we saw there is different options to do that (WOL, iDRAC/iLO, even custom scripts).

Again, go in SSH on your host (or any host in the pool) and use this:
xe host-power-on host=MyHost power-on-mode=wake-on-lan

For people using iDRAC or iLO, just replace wake-on-lan by DRAC or iLO respectively, but that's not all. You need to give to XAPI the IP and the credentials of your Server Manager Tool. The command will look like this:
xe host-power-on host=MyHost power-on-mode=DRAC power-on-config=xx.xx.xx.xx, user, password with xx.xx.xx.xx the IP of your DRAC controller. For iLO, just replace DRAC by iLO. That's it!

In Xen Orchestra

In the (incoming) 3.5.2 release, you'll see a Start button in the host menu if your host is Halted. Just click and you can boot it.

Now, you can imagine what it's possible to do in XO with this kind of feature:

  • scheduled shutdown for some hosts in the evening (e.g: hosts only used for developer VMs during the day) and start them in early in the morning. A lot of energy saved!
  • shutdown some hosts automatically when your architecture is not stressed, then, if necessary, boot them and migrate some VM on it.
  • a lot of other useful cases. Everything is possible now with Xen Orchestra!

----

Shared via my feedly reader


Sent from my iPhone