Home Blog Page 769

Platform9’s Managed Kubernetes Available in Beta

Platform9, a software-as-a-service (SaaS) startup founded by former VMware engineers, is making its managed Kubernetes platform available in beta to potential customers. The enterprise-ready platform is intended to make it easier for users to deploy and manage Docker containers and also to orchestrate containerized workloads.

Platform9 uses a fork of the OpenStack cloud platform. The startup’s product allows companies to turn private servers into in-house versions of public cloud services like Amazon‘s. Last year the company debuted a virtual appliance that integrates its OpenStack controller service with VMware vSphere services.

Read more at SDxCentral

Home Assistant: The Python Approach to Home Automation [Video]

Several home automation platforms support Python as an extension, but if you’re a real Python fiend, you’ll probably want Home Assistant, which places the programming language front and center. Paulus Schoutsen created Home Assistant in 2013 “as a simple script to turn on the lights when the sun was setting,” as he told attendees of his recent Embedded Linux Conference and OpenIoT Summit presentation, “Automating your Home with Home Assistant: Python’s Answer to the Internet of Things.”

Schoutsen, who works as a senior software engineer for AppFolio in San Diego, has attracted 20 active contributors to the project. Home Assistant is now fairly mature, with updates every two weeks and support for more than 240 different smart devices and services. The open source (MIT license) software runs on anything that can run Python 3 — from desktop PCs to a Raspberry Pi, and counts thousands of users around the world.

Like most automation systems, Home Assistant offers mobile and desktop browser clients to control smart home devices from afar. It differs from most commercial offerings, however, in that it has no hub appliance, which means there are no built-in radios. You can add precisely which radios you want, however, using USB sticks. There’s also no cloud component, but Schoutsen argues that any functionality you might sacrifice because of this is more than matched by better security, privacy, and resiliency.

“There is no dependency on a cloud provider,” said Schoutsen. “Even when the Internet goes down, the home doesn’t shut down, and your very private data stays in your home.”

Schoutsen did not offer much of a promo in his presentation, but quickly set to work explaining how the platform works. Since Home Assistant is not radically different from other IoT frameworks — one reason why it interfaces easily with platforms ranging from Nest to Arduino to Kodi — the presentation is a useful introduction to IoT concepts.

To get a better sense of Home Assistant’s strengths, I recently asked Schoutsen for his elevator pitch. He highlighted the free, open source nature of the software, as well as the privacy and security of a local solution. He also noted the ease of setup and discovery, and the strength of the underlying Python language.

“Python makes it very easy to extend the system,” Schoutsen told me. “As a dynamic language, it allows a flexibility that Java developers can only dream off. It is very easy to test out and prototype new pieces on an existing installation without breaking things permanently. With the recent introduction of MicroPython, which runs on embedded systems as Arduino and ESP8266, we can offer a single language for all levels of IoT: from sensors to automation to integration with third-party services.”

In Schoutsen’s ELC 2016 presentation, he described how Home Assistant is an event-driven program that incorporates a state machine that keeps track of “entities” — all the selected devices and people you want to track. Each entity has an identifier, a state condition, and attributes. The latter describes more about the state, such as the color and intensity of the light on a Philips Hue smart bulb.

To integrate a Philips Hue into the system, for example, you would need to use a light “component,” which is aware of the bulb and how to read its state (off or on). Home Assistant offers components for every supported device or service, as well as easy access to component groups such as lights, thermostats, switches, and garage doors. Setup is eased with a network discovery component that scans the network, and if you have a supported device, sets it up automatically. 

The software is further equipped with a service registry, which provides services over the event bus. “We can register the turn-on command for a light, and have it send an email or SMS,” said Schoutsen. “A timer can send a time change event every second, and a component can ask to be notified at a particular time, or in intervals. Based on time change events, it will trigger the callback of the components.”

Each component writes its state to the state machine, emitting a state change event to the event bus. The light component would register its turn on service inside the service registry so that anyone could fire an event to the event bus to turn on the light,” said Schoutsen.

You can easily integrate a light component with a motion detector component using an automation component. This would listen to the motion detector events, and fire a “turn light on” event to the event bus, which in turn would be forwarded to the service registry. The registry would then check to see that the light component can handle the event. “Automation components can listen for events, observe certain attribute states or triggers, and act on them,” explained Schoutsen.

Another component type handles presence detection. The platform can check the router to see which phones are connected in order to see who is home,” said Schoutsen. “Other components are responsible for recording event and state history, or for entity organization — grouping multiple entities and summarizing their state.” Components are available for integrating third party services, such as MQTT or IFTTT, and other components export data to external databases and analysis tools.

Schoutsen also explained concepts such as a “platform” layer that sits above the entity components. Each platform integrates an “abstract base class,” which “acts as the glue between the real device and the one represented in Home Assistant,” said Schoutsen. Later, he ran through a code example for a basic switch and explored the use of trigger zones for geofencing.

As Schoutsen says, Home Assistant is “gaining a lot of traction.” Check out the complete video below to see what happens when Python meets IoT.

https://www.youtube.com/watch?v=4-6rTwKl6ww?list=PLGeM09tlguZRbcUfg4rmRZ1TjpcQQFfyr

linux-com_ctas_may2016_v2_elc.png?itok=QQNwiljU

Interested in sharing your expertise, knowledge and ideas on embedded Linux and IoT with the open source community? Embedded Linux Conference + OpenIoT Summit Europe 2016 will be held on October 11-13 in Berlin, Germany. The call for speaking proposals is open until June 26, 2016. Submit your proposal now!

Field notes – ElasticSearch at Petabyte Scale on AWS

I manage a somewhat sizable fleet of ElasticSearch clusters. How large? Well, “large” is relative these days. Strictly in ElasticSearch data nodes, it’s currently operating at the order of:

  • several petabytes of provisioned data-node storage
  • thousands of Xeon E5 v3 cores
  • 10s of terabytes of memory
  • indexing many billions of events a day (24/7/365)

And growing. Individual clusters tend to range anywhere from 48TB to over a petabyte. When I said “petabyte scale”, that includes individual clusters:

Read more at Grey-Boundary

HPE Launches Preintegrated Software Stack for High Performance Computing

HPE’s rollout for HPC deployments is designed to popularize the hardware within more enterprises.

According to HPE, its approach to HPC is designed to simplify deployments with a software defined approach. The lead announcement for HPE is its Core HPC Software Stack that includes cluster management tools. The preintegrated stack is a software suite that combines open source applications, dev tool, libraries and cluster management. The software is designed to enable administrators, engineers and researchers deploy various HPC environments.

HPE is also rolling out new systems–Apollo 2000 and Apollo 6000–to go along with its Core HPC Software Stack. 

Read more at ZDNet.

93 Petaflop Chinese Supercomputer is World’s Fastest on Latest TOP500 List

A new machine called Sunway TaihuLight in China is the fastest supercomputer on the planet. Announced today with the release of the latest TOP500 list, the 93 Petaflop machine sports over 10.6 Million compute cores.

China maintained its Number 1 ranking on the 47th edition of the TOP500 list of the world’s top supercomputers, but with a new system built entirely using processors designed and made in China. Sunway TaihuLight is the new No. 1 system with 93 petaflop/s ( quadrillions of calculations per second) o n the LINPACK benchmark.

Read more at insideHPC

5 Reasons to Install Linux on Your Laptop

You can choose something other than MacOS or Windows 10 when it comes to an operating system for your computer. If you’re prepared to be a little more adventurous, Linux has plenty of great features that will save you time and make working a little less dull. The best part is that Live Installations allow you to try out the software before you wipe your entire hard drive.

Linux comes in various flavors called distros (distributions) and it’s up to you to determine which one you opt for. Ubuntu is by far the most popular desktop distro and is a good place to start for beginners, so we’ve focused on that one here, but once you’ve grasped the basics feel free to explore the pros and cons of some others out there.

Read more at Gizmodo

Serverless Microservices (and Minimal Ops): Current Limitations of AWS Lambda

At the heart of a microservice is the running code itself. Microservices also contain their own runtime, so they don’t need to run on an ESB.  Using a serverless approach, you can distribute the workloads to optimize runtime. Microservices can be used to create this architecture, and scale independently to meet outward-facing API interface agreements. Microservices architectureencourages to build small, focused subsystems which can be integrated into the whole system preferably using REST protocol.

With any change in product development, whether that be the move to Agile / Scrum planning practices or new methods for DevOps, a business can expect to incur a significant upfront investment in changing its patterns and system architecture. 

Read more at DZone

5 Best Linux Package Managers for Linux Newbies

One thing a new Linux user will get to know as he/she progresses in using it is the existence of several Linux distributions and the different ways they manage packages. Package management is very…

[[ This is a content summary only. Visit my website for full links, other content, and more! ]]

5 Sparkling CLI Linux Time Trackers

Time tracking software is a type of computer software that records time spent on tasks. This category of software can enable users to run billing reports, and prepare invoices for clients.

The deployment of this software offers a new level of productivity to organisations, as it provides management with information on what time is spent by employees on different activities such as projects and tasks. This can help to measure productivity over time. This software is commonly used by professionals that charge clients by the hour such as accountants, solicitors, and freelancers. The generation of automatic invoices with minimal or no data entry removes the inconvenience of billing and invoicing clients, and improves efficiency.

Read Full article

RDO Triple0 QuickStart HA Setup on Intel Core i7-4790 Desktop (work in progress)

  This post follows up https://www.linux.com/blog/rdo-triple0-quickstart-ha-setup-intel-core-i7-4790-desktop
 In meantime undercloud-install,undercloud-post-install (openstack undercloud install, openstack overcloud image upload ) are supposed to be performed during original run  `bash quickstart.sh –config /path-to/ha.yml $VIRTHOST` run. Neutron networks deployment on undercloud and HA Server’s configuration has been significantly rebuilt since 06/03/2016. I believe design bellow is close to
propsed in https://remote-lab.net/rdo-manager-ha-openstack-deployment
However , attempt to reproduce http://docs.openstack.org/developer/tripleo-docs/installation/installation.html

using RDO MItaka trunks results  hanging  on  `openstack undercloud install`, wheh it attempts to start openstack-nova-compute on undercloud. Nova-compute.log report failure to connect 127.0.0.1:5672. Verification via `netstat -antp | grep 5672` reports
port 5672 bind only to 192.0.2.1 ( ctlplane IP address ).

See also https://www.redhat.com/archives/rdo-list/2016-March/msg00171.html
Quoting ( complaints are not mine)  :-
By the way, I’d love to see and help to have an complete installation guide for TripleO powered by RDO on the RDO site (the instack virt setup without quickstart . . . . 

Complete test may seen here http://bderzhavets.blogspot.com/2016/06/rdo-triple0-quickstart-ha-setup-on_18.html