New Poem – Isolation

I had one of those Holy Spirit moments like Steve you need to write this. During my parents struggle, they go days and weeks feeling isolated. God prompted me to write this poem May God grant you peace in the storm.

Poem : Isolation

Scripture : Ezekiel 3:26

Poem

Our entire being is made to worship

We thrive when being around other believers

Our soul jumps for joy when worshipping

Our spirits are filled with hope, love and joy

There are moments in life where we need separation

There are moments in life between you and God

The isolation brings peace in the middle of the storm

The isolation brings clarity to the moment

Clarification God uses to remind you of his love

There is an eternal view we are reminded of

it’s not easy to face

it’s not easy to comprehend

There are some challenges in life that bring isolation

The enemy tries to have us doubt

There could be physical and/or emotional pain involved

It’s hard to be like this, but it happens

God is there through all of it

Isolation is a tough feeling to overcome

I’m not sure there is a right answer to deal with it

Past moments in life crop up providing perspective

All I can muster to suggest, hang onto these moments

God will help you through the storm

Each situation is different

Each challenge will test your will

May you lean on God more than ever in these moments

Remember his word, draw strength from it

Amen!

Story Behind the Poem

I chose Ezekiel 3:26 for the theme verse. Per the story, Ezekiel was “made silent” for 7 years. He couldn’t speak and was trapped at home. Its an interesting perspective. In my own life, in unsettled times, I draw on stories from the bible I can relate to my own situation. Regarding isolation, imagine what Ezekiel felt when God did this.

A friend and spouse were going through a challenging time dealing with cancer. They were separated due to the situation and dealing with treatment and other things. This story also reminds me of my parents and when my dad was dealing with cancer. There were times they would go weeks being at home not being around others, due to the lowered immune system.

This can being create an isolated feeling. A boring routine with quiet time that gives a person time to reflect, which I can only guess is not a peaceful time, rather feelings of “why”, “how come” and “I don’t want to deal with this”. God has gifted me to write my feelings in such a way I can hopefully share with others, they can use poems like this when they are feeling down or isolated to bring some hope and perspective in their lives.

Change Docker default network to persist reboots and vRealize Automation 7.2

image

Containers are coming to a company near you! Containers are all the rage.  They are one of the hottest technologies in IT.  In all seriousness, all technologies have to mature, fit a business need.  Docker is a leading company in this space.

Within vRealize Automation 7.2, there is a container option.  Here are docs about containers and vRealize Automation 7.2.   As a vRA admin, I want to understand all features.  To help achieve my goal, I wanted to setup a catalog item similar to these articles.

Mark’s article was very helpful.   His article uses a DHCP scope (which is ok) and default networking in Photon assumes DHCP.  My article uses a vRO workflow, script on the template to set networking based on ip settings handled by vRA.

My article is related to vRealize Orchestrator, but the concept is the same.  Maybe I’ll blog my Photon example later although it’s similar to Mark’s article.   Here are my Photon workflows and addnetwork.sh I used on Photon vRA example

Regardless of how you setup your template, one of the features of Docker has it’s own internal networking.  The default is 172.17.0.0  (more info here). For some enterprises, this can conflict with existing non-routed internet address ranges ( 10.x, 172.x, and 192.168.x).

I ran into this and needed to adjust my default docker network.   My docker network wouldn’t persist reboots.  I initially found out how to change default docker network, but it wouldn’t persist a reboot.  (Links are listed below)

I wanted to setup my Photon template, used by vRA, with a persistent docker network that wouldn’t revert back to 172.17.x.x after reboots.  Follow Marks or my article to setup a Photon template, catalog items in vRA, then adjust your Photon template using instructions below.

After working with VMware and some experimentation.  This worked for me.

Photon OS use systemd-networkd to manage the network. Here is the external documentation on how to setup a bridge with systemd-networkd: https://wiki.archlinux.org/index.php/Systemd-networkd#Bridge_interface

Following steps:

# cd /etc/systemd/network
# vi 10-static-docker0.netdev

[NetDev]
Name=docker0
Kind=bridge

# vi 10-static-docker0.network

[Match]
Name=docker0
[Network]
Address=192.168.3.0/24

# chmod 755 10-static-docker0*
# systemctl restart systemd-networkd.service
# systemctl restart docker

Modify whatever you want, I left 192.168.3.0/24 as that will work in my network.

Here are other links that helped along the journey.

There is a few ideas.
http://www.vmtocloud.com/how-to-enable-docker-remote-api-on-photon-os/

Showed how to adjust the docker networking, didn’t persist reboots though
https://support.zenoss.com/hc/en-us/articles/203582809-How-to-Change-the-Default-Docker-Subnet

Known issue, I applied this hotfix to vRA
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2148212

Enjoy,

Steve Schofield
https://vsteve.me

vRO workflows

<< back to main article

Download vRO package

Download vro-org.vsteve.me.package on Github

There are two workflows, one action you’ll import into vRO.  The workflows are used by the Event Broker in vRA to setup networking on .  The workflows are available to download.

Go to the landing page on vRA

2017-01-01_20-27-08

Download vRealize Orchestrator client

Type in user id and password

default is vcoadmin / vcoadmin

You’ll need Java

2017-01-01_20-30-51

Import package

Here is an article by Jonathan Medd to import a packages into vRO

2017-01-01_20-37-26

Adjust the root password on the Template-vRO template.

The setting is on vRO Run in Guest workflow

image

Back to vRA to setup Event Broker

Enjoy,

Steve Schofield
http://vsteve.me

Setup Template-vRO catalog item

<< back to main article

Here are steps to publish in the vRO template as a catalog item.    if you want more information on setting up Catalog items, Entitlements, check out Eric Shanks vRealize Automation guide.

Create a Service called vRO-App

2017-01-01_19-56-22

Go to Catalog items,

Select Template-vRO blueprint

2017-01-01_19-58-09

Add catalog item to the vRO-App Service

2017-01-01_19-59-29

Entitlement the item to vRO-App service.   For this example, I entitled just the configuration administrators (configurationadmin by default).  If you have this attached to a LDAP source, you could provision based on LDAP group membership.

2017-01-01_20-02-02

The Template-vRO72 catalog item will show up after entitled.

2017-01-01_20-04-20

Enjoy,

Steve Schofield
http://vsteve.me

Add Key-State-Changes Property group, add to blueprint

<< back to main article

vRO needs the payload properties bucket, which contains all information about the request, including network information.   There are custom properties added to blueprints to expose this information.

The attacked example are the list of properties I use on blueprints.  I encourage you to investigate each item to understand which data is made available.

Go to Administration > Property Groups

2017-01-01_21-05-15

Add to the property group

2017-01-01_21-00-12

Save

2017-01-01_21-06-43

Edit your blueprint

Add on custom properties page, Property Groups

We will cover in another article how to expose the properties and use meta data,.

2017-01-01_21-07-07

Enjoy,

Steve Schofield
http://vsteve.me

Add Blueprint, network for Template-vRO7

<< back to main article

Sign-into vRA as account with permissions to create / publish blueprints, add items to catalog.

Click Design

New Blueprint

I adjusted “1 to 60 days” option

2017-01-01_19-18-25

Drag vSphere Machine on canvas

2017-01-01_19-22-56

Select Build Information,

Change to Linked Clone in Action field

2017-01-01_19-23-35

Select the “….”

2017-01-01_19-41-39

A popup window will appear

Select Template-vRO7

2017-01-01_19-41-12

Select Network and Security

2017-01-01_19-46-46

Drag existing network to canvas

2017-01-01_19-47-54

Select network profile

In our example, it’s internal network

2017-01-01_19-48-17

Select Network on Blueprint

Follow steps in picture

2017-01-01_19-51-07

Close Blueprint

Make sure Publish

2017-01-01_19-53-14

Enjoy,

Steve Schofield
http://vsteve.me