AKAI TSUKI

System development or Technical something

try dnsmasq

Install Dnsmasq [root@cent7devops ~]# yum -y install dnsmasq initial state after yum install [root@cent7devops ~]# grep -v -e "^#.*" -e "^$" /etc/dnsmasq.conf conf-dir=/etc/dnsmasq.d,.rpmnew,.rpmsave,.rpmorig [root@cent7devops ~]# [root@ce…

I try to use opetion of "nmcli" command.

option "-t" and "-f" ex. 1 [root@localhost ~]# nmcli -f ipv4.addresses c s enp0s3 ipv4.addresses: 172.16.10.111/24 [root@localhost ~]# ex. 2 [root@localhost ~]# nmcli -t -f ipv4.addresses c s enp0s3 ipv4.addresses:172.16.10.111/24 [root@lo…

systemd configuration for coredns

I refer to the page below. https://github.com/coredns/deployment/blob/master/systemd/coredns.service add coredns user [root@cent7devops ~]# useradd coredns -s /sbin/nologin -c 'coredns user' create service file for systemd [root@cent7devop…

use hosts plugin of CoreDNS

Before this post, please see try to use CoreDNS - AKAI TSUKI use proxy plugin of CoreDNS - AKAI TSUKI I'd like to perform name resolution(search ipaddress) by referring hosts file. ref. https://coredns.io/plugins/hosts/ I prepare hosts fil…

use proxy plugin of CoreDNS

Before post, please see try to use CoreDNS - AKAI TSUKI I configure Corefile to use proxy. ref. https://coredns.io/plugins/proxy/ [root@cent7devops ~]# cat Corefile . { proxy . 8.8.8.8:53 errors log } [root@cent7devops ~]# I need to send "…

try to use CoreDNS

I get CoreDNS binary file. [root@cent7devops ~]# wget https://github.com/coredns/coredns/releases/download/v1.2.0/coredns_1.2.0_linux_amd64.tgz *snip* [root@cent7devops ~]# ls coredns_1.2.0_linux_amd64.tgz coredns_1.2.0_linux_amd64.tgz [ro…

Install docker using ansible.

I create playbook file "docker_install.yml" to install docker-ce. --- - name: Install Docker hosts: grp_node tasks: - name: Install package needed for docker-ce yum: name: '{{ item }}' state: installed with_items: - "yum-utils" - "device-m…

install AWX on CentOS 7.

Please see this url. https://github.com/ansible/awx/blob/devel/INSTALL.md I have already installed docker-ce. [root@cent7devops installer]# docker version Client: Version: 18.06.0-ce API version: 1.38 Go version: go1.10.3 Git commit: 0ffa8…

use Ansible vault.

about ansible version check version. # ansible --version ansible 2.6.1 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module …

I'd like to use ceph dashboard.

Before this page, please check this post. I'd like to use CephFS on CentOS 7. - AKAI TSUKI ceph dashboard I'd like to use ceph dashboard. http://docs.ceph.com/docs/mimic/mgr/dashboard/ [cuser@ceph01 ~]$ sudo ceph mgr module enable dashboar…

I'd like to use CephFS on CentOS 7.

Before this page, please check these post. Try to install Ceph in CentOS 7 referencing "STORAGE CLUSTER QUICK START" - AKAI TSUKI Install Ceph in CentOS 7. - AKAI TSUKI I'd like to use CephFS. http://docs.ceph.com/docs/master/cephfs/create…

Try to install Ceph in CentOS 7 referencing "STORAGE CLUSTER QUICK START"

Before you read this page, please check below page. Install Ceph in CentOS 7. - AKAI TSUKI STORAGE CLUSTER QUICK START Please check this url. http://docs.ceph.com/docs/master/start/quick-ceph-deploy/ Install ceph-deploy tool. [root@ceph04 …

Install Ceph in CentOS 7.

Preparation PREFLIGHT CHECKLIST http://docs.ceph.com/docs/master/start/quick-start-preflight/ I confirmed this url. I use these nodes. node role ip ceph01 mon.node1/osd.0 172.16.10.111/24 ceph02 osd.1 172.16.10.112/24 ceph03 osd.2 172.16.1…

create user by ansible playbook.

To create user repeatedly, ansible is useful. I create playbook for password authorization. [root@cent7devops ansible-test]# cat ./hosts [grp_node] node01 ansible_host=172.16.10.111 ansible_user=root node02 ansible_host=172.16.10.112 ansib…

SVG test

AWX/AnsibleAWX/Ansiblenode01node01execute commandexecute command

use ansible configuration file "ansible.cfg"

I execute following command to specify inventory file "hosts" and vault password file "vault.txt". By preparing ansible.cfg, I don't have to specify inventory file path and vault password file path every time. [root@cent7devops ansible-tes…

I have to study Container.

How Container Runtimes matter in Kubernetes? https://schd.ws/hosted_files/ossalsjp18/95/OSSJP_KubernetesRuntimes.pdf

When I study systemd.

This is useful information page for systemd. systemd - ArchWiki

try to use ansible-vault

When we use ansible, we would like to encrypt secret information like password. Ansbile have ansible-vault command to encrypt. I try ansible-vault command. I create inventory file. [root@cent7devops ansible-test]# cat hosts [test] node01 a…

install ansible 2.5 on centos 7.

[root@localhost ~]# yum install epel-release *snip* Installed: epel-release.noarch 0:7-9 Complete! [root@localhost ~]# [root@localhost ~]# yum --enablerepo=epel install ansible *snip* Installed: ansible.noarch 0:2.5.2-1.el7 Dependency Inst…

Can I create streaming video page?

This is useful !? github.com

When we study java and spring boot and docker.

When we study java and spring boot and docker, please check. https://blog.docker.com/2018/03/video-series-modernizing-java-apps-developers-part-1/ https://blog.docker.com/2018/03/video-series-modernizing-java-apps-developers-part-2/ https:…

I found python-fire library.

github.com This looks good. I will try to use this.

check index infomation by REST API

infomation # curl http://localhost:9200/customer?pretty { "customer" : { "aliases" : { }, "mappings" : { }, "settings" : { "index" : { "creation_date" : "1514796397799", "number_of_shards" : "5", "number_of_replicas" : "1", "uuid" : "2bDYA…

Install Prometheus on CentOS 7

ref. prometheus-rpm/release - Packages - packagecloud.io | packagecloud Setting yum repository [root@cent7devops ~]# vi /etc/yum.repos.d/prometheus.repo [root@cent7devops ~]# cat /etc/yum.repos.d/prometheus.repo [prometheus] name=prometheus…

I would like to know Harbor.

Information Link about Harbor github.com Harbor™ by VMware®

announced Grafeas

GrafeasをGoogleやIBMなど8社が共同開発 jp.techcrunch.com github.com

install Docker version 17.09.0-ce

# yum install -y yum-utils \ > device-mapper-persistent-data \ > lvm2 *snip* Installed: yum-utils.noarch 0:1.1.31-42.el7 Dependency Installed: libxml2-python.x86_64 0:2.9.1-6.el7_2.3 python-chardet.noarch 0:2.2.1-1.el7_1 python-kitchen.noa…

start gitlab-ce by docker

ref docs.gitlab.com Command docker run --detach \ --hostname gitlab.example.com \ --publish 443:443 --publish 80:80 --publish 1022:22 \ --name gitlab \ --restart always \ --volume /srv/gitlab/config:/etc/gitlab \ --volume /srv/gitlab/logs:…

use NFS on CentOS 7

environment hostname ip node cent7no12 172.16.10.212 nfs client cent7no41 172.16.10.241 nfs server setting for nfs-server on cent7no41 # yum -y install nfs-utils # vi /etc/idmapd.conf Domain = cent7no41 # mkdir -p /home/nfs # chmod a+w /ho…