Skip to content

Instantly share code, notes, and snippets.

@oldarmyc
oldarmyc / join_cluster.md
Last active November 27, 2018 20:35
Join cluster via command line

Joining additional node to AE5 master through command line

Download the corresponding gravity binary from S3

# For AE 5.2.1
curl -O https://s3.amazonaws.com/ae-support/gravity-binary-5.2.1

# For AE 5.2.2
curl -O https://s3.amazonaws.com/ae-support/gravity-binary-5.2.2
@oldarmyc
oldarmyc / nfs_instructions.md
Created November 21, 2018 14:17
NFS and AE5 instructions

On host server for NFS

yum install nfs-utils nfs-utils-lib -y

Create dir for nfs share and set permissions

mkdir /nfs
chmod 655 /nfs
chown nfsnobody:nfsnobody /nfs
@oldarmyc
oldarmyc / instructions.md
Last active November 9, 2018 18:41
SSL certs by hand AE5

To edit/set the SSL certificates by hand.

Before you being ensure that openjdk is installed. At the time of this java-1.8.0-openjdk is the current version on CentOS 7.5

yum install java-1.8.0-openjdk -y

Ensure you have your certificate and private key on the system you are running these commands.

@oldarmyc
oldarmyc / gist:67bb93f1832597fd8ed8fb40ecf93361
Created November 2, 2018 16:04
Getting all users in keycloak
kubectl get pods . # Get the postgres pod
kubectl exec -it anaconda-enterprise-postgres-68b49746ff-fv7qk /bin/bash
su - postgres
psql
\c anaconda_auth
select email, enabled, first_name, last_name, username from user_entity;
All table headings incase you want to change the select.
id, emai, email_constraint, email_verified, enabled, federation_link, first_name, last_name, realm_id, username, created_timestamp, service_account_client_link, not_before
### Keybase proof
I hereby claim:
* I am oldarmyc on github.
* I am oldarmyc (https://keybase.io/oldarmyc) on keybase.
* I have a public key whose fingerprint is 95DF 08CF FFFD 1430 FD0D 735C F024 5A3B 833F 1F8C
To claim this, I am signing this object: