Skip to content

Instantly share code, notes, and snippets.

@rayhassan
rayhassan / docker-notes.txt
Last active March 13, 2019 15:36
Docker Notes
http://cloud-mechanic.blogspot.co.uk/2014/10/storage-concepts-in-docker.html
http://developerblog.redhat.com/2014/09/30/overview-storage-scalability-docker/
https://docs.docker.com/
https://www.digitalocean.com/community/tutorials/docker-explained-how-to-containerize-python-web-applications
http://blog.flux7.com/blogs/docker/docker-tutorial-series-part-1-an-introduction
http://blog.flux7.com/blogs/docker/docker-tutorial-series-part-2-the-15-commands
http://blog.flux7.com/blogs/docker/docker-tutorial-series-part-3-automation-is-the-word-using-dockerfile
@rayhassan
rayhassan / docker-swarm-notes.txt
Created May 11, 2017 13:26
Useful notes on Docker swarm config
Docker Hub hosted backend (for test/qa)
=======================================
o create dicovery token
# sid=$(docker run swarm create)
# echo $sid
d3e9cb54c894a7e3ae4c21145b9194bb
@rayhassan
rayhassan / cassandra-sizing-notes.txt
Last active June 26, 2019 09:42
Cassandra sizing notes
refrences:
https://dzone.com/articles/cassandra-design-best-practices
https://www.datastax.com/wp-content/uploads/2014/04/WP-DataStax-Enterprise-Best-Practices.pdf
https://docs.datastax.com/en/dse/5.1/dse-admin/datastax_enterprise/config/configRecommendedSettings.html
As regards tips/advice then bear in mind most of this will apply to the Guest OS running Cassandra
run noop scheduler
set OS limits
@rayhassan
rayhassan / couchbase-notes.txt
Last active October 23, 2017 13:29
Couchbase prod install notes
]# rpm -ivh couchbase-server-enterprise-3.1.0-centos6.x86_64.rpm
Preparing... ################################# [100%]
Warning: Transparent hugepages looks to be active and should not be.
Please look at http://bit.ly/1hTySfg as for how to PERMANENTLY alter this setting.
Warning: Swappiness is not set to 0.
Please look at http://bit.ly/1hTySfg as for how to PERMANENTLY alter this setting.
Minimum RAM required : 4 GB
System RAM configured : 15.52 GB
@rayhassan
rayhassan / couchbase-sizing.txt
Created May 11, 2017 13:30
Couchbase sizing notes
couchbase sizing/capacity planing
refs:
http://blog.couchbase.com/how-many-nodes-part-1-introduction-sizing-couchbase-server-20-cluster
5 key factors:
RAM
Disk
@rayhassan
rayhassan / DVP-notes.txt
Created May 11, 2017 13:32
Nutanix Docker Volume plugin notes - v2 API
o install Docker
sudo yum install -y yum-utils
sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
sudo yum makecache fast
sudo yum install docker-ce
@rayhassan
rayhassan / REST-API-notes.txt
Created May 11, 2017 13:35
REST API notes for Athens Tech Summit
2048afa6-a785-4aa8-b2b1-6124114ab91d
"uuid": "661cd354-33dc-4cdd-8874-9875fc7834b3",
"name": "Windows Server 2012 R2",
"deleted": false,
"storage_container_id": 1023,
"storage_container_uuid": "c99819f0-bb38-4a5e-b473-48371ef8561c",
"logical_timestamp": 2,
"image_type": "DISK_IMAGE",
"vm_disk_id": "7eb94d44-8d8d-4da0-82cd-6da4103a14af",
@rayhassan
rayhassan / calculating-IOPS.txt
Created May 11, 2017 13:37
Calculating IOPS ....
IO Performance:
--------------
NCQ - Native Cmd Queueing - SATA II - 32 cmds
TCQ - Tagged Cmd Queuing - SCSI 2 - 216 cmds possible (64 cmds supported by most disk queues)
- Reordering of cmds when requests for sectors spaced far from one another.
- attempts to reduce disk seek time and rotation latency by optimising order in which sectors are found.
@rayhassan
rayhassan / 11g-install-notes.txt
Created May 11, 2017 13:38
Oracle 11G install notes + ASM - Virtualised
http://packages.vmware.com/tools/esx/5.5u1/repos/index.html
yum install http://packages.vmware.com/tools/esx/5.5u1/repos/vmware-tools-repo-RHEL6-9.4.5-1.el6.x86_64.rpm
yum install vmware-tools-esx-nox
20GB additional harddisk - for /u01/app/oracle
/dev/sdb1 20G 44M 19G 1% /u01/app/oracle
@rayhassan
rayhassan / Nutanix DVP demo script
Last active February 9, 2018 10:37
Nutanix Docker Volume Plugin (DVP) demo run through
demo notes for Docker volume driver
o cluster VIP / Dataservices VIP
o clone Docker host VM from gold image in AHV (set hostname vis hostnamectl set-hostname)
o login and install Docker Engine (https://docs.docker.com/engine/installation/linux/docker-ce/centos/)
o enable/start docker service