Home Blog Page 838

Kubernetes 1.2 Offers Rolling Updates, Persistent Volumes

At the Google GCP Next conference last week in San Francisco, the company demonstrated how it was possible with Kubernetes to update a heavily used distributed application while keeping that app running.

For a Kubernetes 1.2 on-stage demo, Greg DeMichillie, director of program management for Google Cloud Platform spun up a service and then used load testing software to dispatch 20,000 requests-per-second to the service. “Now if I did this demo 18 months ago, this would have been considered an amazing thing — who would have had the ability to run services at this scale? Now, it’s my ‘Hello World,’” DeMichillie said. 

The exercise was set to show off the latest capability of Kubernetes — to show how the software could update a service with zero downtime. 

Read more at The New Stack

Canonical Announces the Availability of Ubuntu 16.04 LTS Beta for IBM LinuxONE

Canonical, through Tom Callway, announced just a few moments ago, March 29, 2016, the immediate availability for download of the Ubuntu 16.04 LTS (Xenial Xerus) Beta operating system for IBM LinuxONE.

Many businesses and enterprises around the world are praising IBM’s System z and LinuxONE product line for their unrivaled reliability and security, and Ubuntu Linux is being recognized as one of the most popular free operating systems, the perfect OS for running scale-out workloads in the cloud. And today, Canonical is proud to announce the availability of a Technology Preview (TP) Beta of their upcoming Ubuntu 16.04 LTS operating system for clouds…

Popular Chinese Browser Transmits User Info With Terrible Encryption

All web browsers have vulnerabilities, but one piece of Chinese software might be eligible for the title of most insecure browser ever. Likely unbeknown to its users, QQ Browser has been transmitting identifying information—including web histories, search queries, and nearby WiFi networks—with poorly implemented or no cryptographic protection.

In a report published on Monday, researchers from Citizen Lab detailed a slew of vulnerabilities in the Android and Windows versions of the browser (QQ is also available on iOS and OSX, but they did not analyse these versions). The report notes that in 2013, QQ was the eighth most installed application in China for iOS and Android devices, and as of 2012, the app had some 16 million non-Chinese users.

Read more at Motherboard

How to install mysql server 5.6 on Ubuntu 16.04 LTS ( Xenial Xerus )

MySQL is a popular database management system used for my web applications. How do I install MySQL server version 5.6 on Ubuntu Linux 16.04 LTS ( Xenial Xerus )?

This tutorial will introduce how to install, configure and manage MySQL on a Ubuntu Linux 16.04 LTS (Xenial Xerus). The latest version of MySQL database server is 5.6 and can be installed using the apt-get command or apt command.

Read more…

How to validate JSON from the command line on Linux

Due to its syntactic simplicity and flexibility, JSON (JavaScript Object Notation) has become pretty much the de-facto standard data exchange format in many web applications. As JSON becomes widely used to represent structured data with a great degree of flexibility, the need arises for being able to “validate” a JSON representation. Then there came something […]
Continue reading…

The post How to validate JSON from the command line on Linux appeared first on Xmodulo.

Read more at Xmodulo

How Will Disaggregation, Softwarization, and Open Source Shape the Networking Industry

 

https://www.youtube.com/watch?v=Acc3JkcQyxY

Get the latest on SDN & NFV. Access more than 175 recorded sessions from Open Networking Summit 2016: http://bit.ly/21Dx79V

Scaling the S in SDN

 

https://www.youtube.com/watch?v=scrPWWIM-T4

Keynote: Scaling the S in SDN – Albert Greenberg, Director Azure Networking and Distinguished Engineer, Microsoft
Get the latest on SDN & NFV. Access more than 175 recorded sessions from Open Networking Summit 2016: http://bit.ly/21Dx79V

*****

In the past several years, the cloud network was transformed and rebuilt in software using SDN – Microsoft Azure has been built on these technologies, enabling greater flexibility and programmability than ever before. Our focus today is on scale, density, and utilization of the programmable network, pushing our infrastructure to meet the demands of today’s massive cloud environments with millions of servers, and new cloud-based workloads.

We introduce the Virtual Filtering Platform, Azure’s programmable dataplane, in which we’ve scaled up the match action table model to support modern high density servers with more than 40Gbps of bandwidth, while providing the programmability for our many controllers and SDN applications to create new virtual networking functions. We are announcing that VFP, which has been key to scaling our infrastructure, will be made available to the public with Windows Server 2016 to support high density private cloud environments using Azure Stack on premises.

As an example of how new workloads push us to scale further, much of the industry is moving to containerized workloads and microservice architectures. To support this, we have built native integration to extend Azure virtual networking features directly to containers, across Linux and Windows, using our flexible SDN stack. We announce and demo several of these new networking features, as part of the Azure Container Service, allowing customers to deploy and manage containers using several popular open source container orchestrators.

PayPal Cloud at Scale

 

https://www.youtube.com/watch?v=22VsR8tsNLk

PayPal Cloud at Scale – Jigar Desai, VP, Cloud and Platforms, PayPal
Get the latest on SDN & NFV. Access more than 175 recorded sessions from Open Networking Summit 2016: http://bit.ly/21Dx79V

Data Center Evolution

 

https://www.youtube.com/watch?v=wsyHLihXGMw” frameborder=”0

Data Center Evolution | Ihab Tarazi, CTO, Equinix
Get the latest on SDN & NFV. Access more than 175 recorded sessions from Open Networking Summit 2016: http://bit.ly/21Dx79V

Ansible: Reboot server in play-book and wait for it come back.

Ansible is a great and simple configuration management and orchestration tool. Some times we require to reboot server and do some tasks once reboot is done. Today I came across such requirement where I have to upgrade our production Ubuntu server from 10.04 to 14.04. I figured some how on unattended upgrades by using following command.

do-release-upgrade -f DistUpgradeViewNonInteractive

The above command will not ask any question when upgrade is happening. The issue is we can not upgrade directly from 10.04 to 14.04. We have to do it in two folds

Ubuntu 10.04 to 12.04

and then

Ubuntu 12.04 to 14.04

But the issue is we have to reboot the machine once upgraded to 12.04. For this Ansible have a solution withwait_for and local_action modules. Below is the snippet from my role which include three task

Task 1: Upgrading Ubuntu 10.04 to 12.04

Task 2: Restart remote machine

Task 3: Wait for the restart of remote machine to complete and continue with other tasks.

- name: Task1 Upgrading 10.04 to 12.04
  shell: do-release-upgrade -f DistUpgradeViewNonInteractive- name: Task2 restart machine after 10.04 to 12.04 upgrade
  shell: reboot
  async: 0
  poll: 0
- name: Task3 waiting for server to come back after 10.04 to 12.04
  local_action: wait_for host={{ ansible_ssh_host }} state=started

Task1 is slef explanatory which use shell module to upgrade the OS. Task two uses shell module to reboot the machine and task three use local_action which will be done one the host where Ansible is running this play book and wait_for will wait for something to happen. Here we are waiting for remote host to come on-line.

Other options you may include are

 port –On which port Ansible can check on remote machine once the “timeout” is completed

delay –Dont check it for number of seconds

timeout –Wait for something to happen on remote machine

connect_timeout — maximum number of seconds to wait for a connection to happen before closing and retrying

The third task can be written as below.

 local_action: wait_for host={{ ansible_ssh_host }}                         state=started                         port=22                         delay=30                         timeout=300                         connect_timeout=15

Wait on Ansible host for 300 seconds to check if host started or not. Once host is started wait for 30 seconds to check for 22 port is open or not and timeout that ssh connection after 15 seconds.

Some may use inventory_hostname instead of ansible_ssh_host variable to poll host identity. If you want to check on both variables you can use or operator and make one variable a default one as shown below.

Read Full Post: http://www.linuxnix.com/ansible-reboot-server-in-play-book-and-wait-for-it-come-back/