Sep 28

Virtual SAN Docker Volume for Harbor Private Registry HA

Posted: under Cloud, container, Harbor.
Tags: , , September 28th, 2016

VMware has offered a beta version of docker volume driver for vSphere, it supports NFS, VSAN, VMFS and other storage. Before this volume driver, virtual machine (VM) is the only way to consume the storage of vSphere.  The way the Docker volume driver works is that it is mounted as a volume into the Docker host (either virtual or physical machine). If the docker host crashes, the volume can be remounted to other host. In this way, it can achieve high availability in some scenario, especially when the storage is sharable.

vSphere Volume driver for VSAN and Harbor

In the article Private Docker Registry Harbor Achieves HA based on Virtual SAN, step-by-step instructions have been given to set up a Docker private registry using open source Harbor. The private registry Harbor is in fact a containerized application, it can hook up an external volume and use it as storage. This is a good example of how to make use of a shared storage provided by vSphere (such as VSAN).

More articles on Harbor:

Using Harbor Registry REST API via Swagger

The Architecture of Open Source Harbor Registry Server

Comments (0)

Sep 16

Swagger in Harbor Registry

Posted: under Cloud, container, Harbor.
Tags: , , September 16th, 2016

In my previous post, I introduced the overall architecture of Harbor registry. Many users start to integrate the open source private registry Harbor into their own container solution. For example, a startup called Dataman has embedded Harbor into their offering of a CaaS(Container as a Service) solution. Harbor provides a very useful API for the interoperability of other systems. The API specification is defined and documented in the most popular form: Swagger.

The recent blog post Working with Harbor Registry REST API via Swagger described how to leverage Swagger to test the REST API of Harbor registry server. By using Swagger, you can write your own code to fulfill functionalities such as setting permission of images and getting meta data of images and image synchronization between registry instances.

If you are an advanced user or developer of using an enterprise private Docker registry, you should definitely look into Harbor Registry for extending your use cases.

Comments (0)

Sep 12

Overall Architecture of Harbor Registry

Posted: under Cloud, container.
Tags: , , , September 12th, 2016

Not long ago, I introduced the open source private Harbor Registry. In VMworld 2016,  Harbor has become part of the enterprise product VIC (vSphere Integrated Containers) of VMware. VIC now has 3 components, the vic-engine, which is the runtime of containers; the Harbor registry, the registry to store docker container images; the Admiral, the admin portal for managing the container environment.

All of the three components of VIC are open source and available on Github. Anyone can download and use it. For enterprise users of vSphere, they get VIC for free indeed. One of the feature I like most is Harbor registry, it helps replicate docker images from one data center to another, or from private cloud to public cloud. If you have not tried, I strongly recommend you have a trial on Harbor: https://github.com/vmware/harbor .

To find out more information of private registry Harbor, please refer to this article for the Overall Architecture of Harbor . For information about docker container runtime platform VIC, you can visit http://github.com/vmware/vic-product .

Comments (0)

Jul 18

Synchronize Docker Images between Private Docker Registry Instances

Posted: under Cloud, container.
Tags: , , , , July 18th, 2016

From the Devops prospective, it seems managing Docker images in a production environment is much harder than doing so in a development environment. In a production system, you need a reliable, secure and efficient way to manage images. The open source enterprise class Private Docker Registry Harbor is the tool I like most.

In Harbor, you can set privilege of a user to access a docker repository. As an administrator of a production system, I don’t want anyone to have the privilege to push an image to the registry which distributes images to production machines. Harbor helps secure the production environment.

My favorite feature of Harbor is the ability to replicate images between registry instances.  There is more than one registry server in our environment, the images on these registry servers must be in sync to deliver the same images. Harbor automatically synchronizes images between registry instances, which save a lot of effort in maintaining the same images on different registry. Harbor can even retry when it encounters error during replication. Without Harbor, one probably needs to write quite a few scripts to synchronize images between instances. For any ops manager, this is almost a must-have function.

Harbor comes with a friendly GUI, it is very simple to use. I highly recommend Harbor for managing an organization’s private docker images. Here is its github URL: https://github.com/vmware/harbor

 

Comments (0)

Apr 08

Harbor: Open Source Enterprise Class Docker Registry

Posted: under Cloud, container.
Tags: , , , April 8th, 2016

Recently, VMware opens source a project called Harbor. It is an enterprise class registry server for Docker container. It is a front-end of the Docker Registry distribution. Harbor adds quite a lot functionalities usually needed by an enterprise. It is for the deployment in a private environment of an organization. Most organizations use a private registry to improve the security of their IP as well as increase productivity of application development.

 

Harbor comes with these significant features:

  • Role Based Access Control: Users and docker image repositories are organized around “projects”, access is granted  by role.
  • User portal: An easy to use GUI.
  • AD/LDAP support: integration with existing AD/LDAP of the enterprise for user authentication and management.
  • Logging and Auditing: All the operations to the repositories are tracked and can be used for auditing purpose.
  • RESTful API: RESTful APIs are provided for most administrative operations. The integration with other management software becomes easier.

After the release, Project Harbor quickly acquires 300 stars on GitHub, an indicator of how popular it is among developers. Project Harbor is a good open source project that is a replacement for Docker’s commercial registry offering DTR (Docker Trusted Registry).

I have installed Harbor and found it is extremely smooth to use it. Highly recommended for developers who are working on containerized applications to have a try.

Github address: https://github.com/vmware/harbor

 

Comments (0)

Aug 13

Kids Program for Ontario Parents

Posted: under Citizenship, kid program.
Tags: , , , , August 13th, 2015

If you live in the Greater Toronto Area (GTA) and wonder where to look for some good summer programs for your kids, you should definitely check out a site called “kidsprograms.ca“. It collects information of more than 90 thousands classes, summer camps and kid’s clubs. There are sure something your kids are interested in. Your children can learn all categories of stuffs like Academic, Applied Skills, Workplace, Volunteering, Clubs & Adventures, Languages & Culture, Leadership & Self-Development,  Music, Performing Arts, Sports and Visual Arts.

One thing I like most is that you can search and filter from this site by your address or postal code. I can quickly look up a list of recommendation of programs. Sometimes, they offer discounts for classes like Piano, Badminton and Gymnastics.

They also provides data about  after school programs and year round programs. Give it a try and you won’t be disappointed!

 

If you are a immigrant to Canada and want to become a Canadian citizen, be sure to go through this web site for Citizenship Test Practice Questions.

 

 

Comments (0)

May 07

Canadian Citizenship Practice Test 2014

Posted: under Citizenship, Others.
Tags: , , , May 7th, 2014

We recently reviewed a few citizenship test websites. We have to admit that there have been a lot changes since we last reviewed. The best one still is Canada Citizenship Practice Test 2014. We noticed that this site continuously updated their questions database on a biweekly cadence and keeps the questions quality in a high standard.

There is another website which offers similar Online Canadian Citizenship Exam. The feature I like most is that it even provides hints based on the study guide “Discover Canada”. You can click on the small flag near each question and display the page which containing the answers to the question. This is a unique feature of all testing web sites.

Here are a list of Canadian citizenship test web pages that I think you should not miss:

Canadian Citizenship Test of Toronto 2014 Questions

Canada Citizenship Test for Alberta

Canadian Citizenship Test Questions of Vancouver

Canada Citizen Test Practice of British Columbia 2014

Canadian Citizenship Practice Test Question and Answers

Hope everyone get through the Canadian citizenship test with ease!

Comments (0)

Feb 06

Canadian Citizenship Test Questions for Practices

Posted: under Citizenship.
Tags: , , , , , , , February 6th, 2013

I found a good training website of preparing the Canada Citizenship Test. It provides online training and all the questions of the citizenship exam. Some of the questions are so cool that they come from the actual tests. A friend of mine said he got the almost the same questions in his citizenship test. He highly recommends this site for anyone who is preparing for the Canadian citizenship test. He is from the city of Toronto, but I think this citizenship practice website is also good for other cities like Vancouver, Montreal, Calgary, Edmonton, Ottawa, Winnipeg,  Hamilton, Kitchener, London,  Halifax, Victoria and Quebec.

One of the advantages for this practice web site is that it can give you new questions on each test. This gives a very good practice. I like this very much. Here are the links:

Canadian Citizenship Test of Toronto

Vancouver’s Canada Citizenship Test

Canadian Citizenship Test Questions of Montreal

Canada Citizen Test Practice of Calgary

Canada Citizenship Exam of Mississauga

Canadian Citizen Practice Test for City Edmonton

Comments (0)