Skip to content

Instantly share code, notes, and snippets.

View jclaret's full-sized avatar

Jordi jclaret

  • FeelFree
  • Sabadell
View GitHub Profile
RH Docs:
========
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/high_availability_add-on_reference/
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/high_availability_add-on_overview/
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/high_availability_add-on_administration/
VMWARE FENCING
==============
https://access.redhat.com/solutions/82333
https://access.redhat.com/solutions/917813
oc new-project image-uploader --display-name='Image Uploader Project'
oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
oc new-app --image-stream=php --code=https://github.com/OpenShiftInAction/image-uploader.git --name=app-cli
oc describe svc/app-cli
oc expose svc/app-cli
oc describe route/app-cli
oc scale dc/app-cli --replicas=2
oc scale dc/app-cli --replicas=1
oc get pods --show-all=false
oc exec app-cli-1-9hsz1 hostname
ansible_ssh_port: 2222
ansible_host: localhost
---
# The following variables will be set by the runner of this playbook:
# src: /tmp/some/path/private_data_dir
# dest: /tmp/some/path/
# proot_temp_dir: /tmp/some/path
- name: Prepare data, dispatch job in isolated environment.
hosts: all
gather_facts: false