Til

Error in using homebrew module in ansible

When I call the homebrew modules for three hosts including the localhost, one host reports error. mbpr15:~ cychong$ ansible-playbook install_brew_ack.yaml --verbose No config file found; using defaults PLAY [all] ************************************************************************************************** TASK [Gathering Facts] ************************************************************************************** ok: [localhost] ok: [mini2] ok: [mini1] TASK [install ack in homebrew] ****************************************************************************** ok: [localhost] => {"changed": false, "failed": false, "msg": "Package already installed: ack"} ok: [mini1] => {"changed": false, "failed": false, "msg": "Package already installed: ack"} fatal: [mini2]: FAILED!

FTP server is gone from High Siera OSX Server

It is gone finally… [macOS Server 5.4 changes in High Sierra you need to know about!])https://www.imore.com/changes-macos-server-54-high-sierra) File Transfer Protocol (FTP): A longtime a security risk, for example for sending password information in clear text, FTP support will be removed from macOS server if you upgrade. As my xeros printer/scanner suppors only ftp or samba(which is much much slower than the ftp) I have to run my own ftp server in my mac mini.

WP video plugin

Install Easy Video Player Others 7 Free WordPress Video Player Plugins of 2017

Play with Ansible

Configuration ansible client A ansible target B, C In client Ansible targets(B,C) should be listed in the following file. If required additional parameters can be specified such as login account, ssh port and etc # /etc/ansible/hosts 192.168.1.100 ansible_ssh_user=cychong ansible_ssh_port=22 192.168.1.200 ansible_ssh_user=cychong ansible_ssh_port=22 In ansible targets A should be found on the following file # grep A .ssh/authorized_keys Test run from A # ansible all -m ping 192.168.1.200 | SUCCESS => { "changed": false, "failed": false, "ping": "pong" } 192.

(Series

https://www.youtube.com/watch?v=tIN8BjHwpNs Other similar videos Architecture for fine-grain, high-resolution Telemetry for network elements. Jun 4 2015, Juniper Networks, Presented in NANOG Visualizing Cisco Telemetry Data using Elasticsearch, Logstash and Kibana

(Series

출처 : sdxcentral, Feb 5, 2016 tools presented in the video reference video ppt

(Series

출처 : https://blogs.cisco.com/sp/streaming-telemetry-with-google-protocol-buffers Summary JSON, “compact” GPB and “Key-Value” GPB “Compact” GPB data on wire can be decoded without the decoder ring while “Key-Value” GPB data is Self-Describing. Compact GPB can be used with UDP(default) and TCP(optionally) “Key-value” GPB is only for TCP 833 bytes of compact GPB while more than 4000 bytes for Key-value GPB Compressed JSON(?)

CISCO Yang data model

Seems that configuration and operation data are defined in a different yang file though it is not clear they are module or submodule The models are in the .yang format. A model with: -oper in the model name indicates an operational model. For example, Cisco-IOS-XR-cdp-oper.yang is an operational model for Cisco Discovery Protocol (CDP). -cfg indicates a configuration model. For example, Cisco-IOS-XR-cdp-cfg.yang is a configuration model for CDP. -act indicates a NETCONF actions model.

(Series

Why You Should Care About Model-Driven Telemetry from CISCO blog Summary Periodic polling -> Pushing(Streaming) Model based data with YANG Use standard encoding such as JSON, Google Protocol Buffers Easy to manipulate, connect to analytic solutions 1-min poll is too slow For the last 25 years, network operators have heavily relied on SNMP polling and CLI screen-scraping to extract operational data from the network. But the new and automated demands of today’s networks have pushed these mechanisms to the breaking point.

brew install python

Just for the record as some environments are mentioned mbpr15:working cychong$ brew install python ==> Installing dependencies for python: readline, sqlite, gdbm, openssl ==> Installing python dependency: readline ==> Downloading https://homebrew.bintray.com/bottles/readline-7.0.3_1.high_sierra.bottle.tar.gz ######################################################################## 100.0% ==> Pouring readline-7.0.3_1.high_sierra.bottle.tar.gz ==> Caveats This formula is keg-only, which means it was not symlinked into /usr/local, because macOS provides the BSD libedit library, which shadows libreadline. In order to prevent conflicts when programs look for libreadline we are defaulting this GNU Readline installation to keg-only.