AWS Certified Solutions Architect – Associate Objective’s

AWS-BEGGINER 1) AWS S3 is a database service. False Explanation S3 is a storage service. 2) What are some of the common features or services offered by cloud services providers, such as AWS, iCloud, and Dropbox? (Choose three) Storage, Computing Power, Virtualization Explanation Cloud services providers offer many features and services that include, but are … Continue reading AWS Certified Solutions Architect – Associate Objective’s

gcloud & kubernetes

##################################################### mshaikdevops@rising-artifact-164906:~$ kubectl config view apiVersion: v1 clusters: - cluster: server: http://172.17.0.1:4321 name: cloudshell contexts: - context: cluster: cloudshell user: cloudshell name: cloudshell current-context: cloudshell kind: Config preferences: {} users: [] ##################################################### mshaikdevops@rising-artifact-164906:~$ gcloud version Google Cloud SDK 151.0.0 alpha 2017.03.24 app-engine-go app-engine-go-linux-x86_64 1.9.50 app-engine-java 1.9.51 app-engine-php " " app-engine-python 1.9.51 beta 2017.03.24 bq 2.0.24 … Continue reading gcloud & kubernetes

ruby basics

[root@node1 ~]# yum info ruby Loaded plugins: fastestmirror Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * epel: epel.scopesky.iq * extras: centos.excellmedia.net * updates: centos.excellmedia.net Available Packages Name : ruby Arch : x86_64 Version : 2.0.0.648 Release : 29.el7 Size : … Continue reading ruby basics

Mongo db

[root@mongoserver ~]# hostname -f mongoserver.example.com [root@mongoserver ~]# hostname -I 192.168.183.128 [root@mongoserver ~]# cat >> /etc/yum.repos.d/mongodb.repo [mongodb] name=MongoDB Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/ gpgcheck=0 enabled=1 [root@mongoserver ~]# yum repolist |grep mongo mongodb MongoDB Repository 279 [root@mongoserver ~]# yum -y install mongodb-org mongodb-org-server [root@mongoserver ~]# mongostat 2017-04-12T19:24:07.205+0530 warning: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused couldn't connect to … Continue reading Mongo db

MySQL master slave replication in CentOS 6

[root@localhost ~]# yum install mysql mysql-server mysql-devel -y [root@localhost ~]# hostname -I 192.168.183.135 [root@localhost ~]# /etc/init.d/mysqld status mysqld is stopped [root@localhost ~]# service mysqld status mysqld is stopped [root@localhost ~]# service mysqld start Initializing MySQL database: Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy … Continue reading MySQL master slave replication in CentOS 6

Introduction to CoreOS, Fleet, Etcd, and Flannel

CoreOS Usually, when you have a Linux distro, it would come with the standard ISO, package manager (yum, yast, apt) to distribute all of the individual pieces of compiled software, and other programs like netcat, httpd, etc. that just ends up being extra overhead. CoreOS differs in that they distribute an entire disk image that's … Continue reading Introduction to CoreOS, Fleet, Etcd, and Flannel

INTRODUCTION TO SYSTEMD

Systemd is a system and service manager for Linux operating systems. It is designed to be backwards compatible with SysV init scripts, and provides a number of features such as parallel startup of system services at boot time, on-demand activation of daemons, support for system state snapshots, or dependency-based service control logic. Systemd introduces the … Continue reading INTRODUCTION TO SYSTEMD

Toolbox in coreos

core@core-01 ~ $ toolbox  Downloading sha256:2bf01635e2a [=============================] 72.9 MB / 72.9 MB successfully removed aci for image: "sha512-d039dd0704e978e5c66e1915a64bca35ff6bf3f86036649659cf5df33ba5127f" rm: 1 image(s) successfully removed Spawning container core-fedora-24 on /var/lib/toolbox/core-fedora-24. Press ^] three times within 1s to kill container. [root@core-01 ~]# yum install elinks -y Yum command has been deprecated, redirecting to '/usr/bin/dnf install elinks -y'. See … Continue reading Toolbox in coreos

Interacting with etcd

core@core-01 ~ $ etcdctl ls /coreos.com core@core-01 ~ $ etcdctl ls / --recursive /coreos.com /coreos.com/network /coreos.com/network/config /coreos.com/network/subnets /coreos.com/network/subnets/10.1.18.0-24 /coreos.com/network/subnets/10.1.19.0-24 /coreos.com/network/subnets/10.1.34.0-24 /coreos.com/updateengine /coreos.com/updateengine/rebootlock /coreos.com/updateengine/rebootlock/semaphore core@core-01 ~ $ etcdctl get /coreos.com/updateengine/rebootlock/semaphore {"semaphore":1,"max":1,"holders":[]} core@core-01 ~ $ etcdctl get /coreos.com/network/config { "Network": "10.1.0.0/16" } core@core-01 ~ $ etcdctl get /coreos.com/network/subnets/10.1.18.0-24 {"PublicIP":"172.17.8.103"} core@core-01 ~ $ etcdctl -o extended get /coreos.com/network/subnets/10.1.18.0-24 … Continue reading Interacting with etcd

starting with fleet

mohammedrafi@NOC-RAFI:~/gitdata/coreos-vagrant$ vagrant ssh core-01 Last login: Sun Apr 2 11:45:16 UTC 2017 from 10.0.2.2 on ssh Container Linux by CoreOS stable (1298.6.0) To list machines in cluster core@core-01 ~ $ fleetctl list-machines MACHINE IP METADATA 0589cb6e... 172.17.8.102 - 5e1982e0... 172.17.8.103 - cb31de94... 172.17.8.101 - To list unit files submitted to cluster core@core-01 ~ $ fleetctl … Continue reading starting with fleet