{"id":15444867,"url":"https://github.com/goern/idm-lab","last_synced_at":"2025-03-28T08:14:45.703Z","repository":{"id":142163067,"uuid":"51711492","full_name":"goern/idm-lab","owner":"goern","description":"This is a demo lab for using Identity Management services with Atomic Hosts and OpenShift","archived":false,"fork":false,"pushed_at":"2016-03-10T20:37:30.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T08:44:23.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goern.png","metadata":{"files":{"readme":"README.asciidoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-14T20:15:33.000Z","updated_at":"2018-08-19T07:40:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe912a39-fb29-4b0c-b05e-6d1025e1ddb4","html_url":"https://github.com/goern/idm-lab","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"40379e05eef8268e2e407aed839ad58062e76703"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goern%2Fidm-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goern%2Fidm-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goern%2Fidm-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goern%2Fidm-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goern","download_url":"https://codeload.github.com/goern/idm-lab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245991585,"owners_count":20706129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T19:42:52.357Z","updated_at":"2025-03-28T08:14:45.680Z","avatar_url":"https://github.com/goern.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Lab Session: Identity Managment with Atomic Hosts\nChristoph Görn \u003cgoern@redhat.com\u003e\n0.1.0, 2016-02-12\n\n== Prerequisites\n\nThis demo requires https://vagrantup.com/[Vagrant] and libvirt to be installed. The Vagrant plugins\nhttps://github.com/smdahlen/vagrant-hostmanager[hostmanager] and https://github.com/aidanns/vagrant-reload\n[reload] must be installed too.\n\nWARNING: initial provisioning of the IdM server will install a significant\namount of RPM, a little bit of time is required.\n\n10GiB of free RAM and a little bit of disk space should be available.\n\n== Objectives\n\nThis demo will show how to use Vagrant to set up a complete demo environment\ninclude an Identity Management (IdM) Service and a few clients using the service.\n\nYou will see how to provision Atomic Hosts and enroll it with the IdM service,\nthis will utilize http://kubernetes.io/v1.1/docs/admin/daemons.html[Kubernetes DaemonSets]. Additionally you will learn\nhow to provision OpenShift Origin and use LDAP as a backend for groups.\n\nWeb User Interfaces for all three virtual machines, IdM service and OpenShift\nOrigin will be available and give an impression of the usability of the whole\nenvironment.\n\n== Installation\n\nTo use this demo, simple recursively clone the github repositoy at https://github.com/goern/idm-lab .\n\n== Usage\n\nThe main tool within this demo is vagrant, it will be used to spin up a set\nof hosts, all are based on Fedora 23:\n\n1. idm-1 - an Identity Management service\n2. atomic-host-* - clients, which will be enrolled during the course of the demo\n3. oso-1 - an all in one installation of OpenShift Origin, it is configured to use the IdM service\n\nAfter preparing the demo, you will be able to have a look at\n\na. Cockpit\nb. freeIPA web UI\nc. OpenShift Origin web console\n\n=== Preparation - provision IdM\n\nThe first step is to provision the IdM service. Using\n\n[source,bash]\nsudo vagrant up idm-1\n\nyou can create and provision a freeIPA server, based on Fedora 23. It will provide a\nweb user interface.\n\nAs the hostmanager Vagrant plugin is installed, `/etc/hosts` of the host machine\nwill be reconfigured after creation of the idm-1 virtual machine.\n\nPlease use your browser to navigate to `idm-1.goern.example.com` and use _admin_\nas the username and _foobarfoo_ as the password to sign in.\n\nWhen browsing the list of hosts known by IdM you will notice that only\n`idm-1.goern.example.com` is currently available. This will change after the\nnext step has finished.\n\nTIP: To gain some extra bonus, you could use ansible to deploy some standard\nroles to the IdM server: `cd idm-server ; less README.asciidoc`.\n\n=== provision and enroll an Atomic Host\n\nThe next step is to provision three Atomic Hosts and form one cluster out of\nthese hosts.\n\nAfter using\n\n[source,bash]\nsudo vagrant up --no-parallel atomic-host-{1,2,3}\n\nthree Atomic Hosts are ready to use.\n\nOne of the provision scripts inside the Vagrantfile will do a `atomic host upgrade`,\nthis will need some minutes to fetch data from the internet. After the upgrade\nKubernetes 1.1 will be available. This is required to implement a DaemonSet.\n\nAnd as another step an ansible provisioner will configure all three Atomic\nHosts to form one Kubernetes cluster: atomic-host-1 being the master (incl. etcd)\nand atomic-host-{2,3} are the nodes.\n\nTo verify provisioning of the Kubernetes cluster, log on to atomic-host-1\nand get a list of nodes:\n\n[source, bash]\nsudo kubectl get nodes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoern%2Fidm-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoern%2Fidm-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoern%2Fidm-lab/lists"}