Archive

‘网络技术’ 分类存档

OpenR on NCS5500

For detail info, please refer to following  Akshat’s article, for my article only simply summary step to build openr on ncs5500. Thanks Akshat’s help for the openr set up 🙂

https://xrdocs.io/cisco-service-layer/blogs/2018-02-16-xr-s-journey-to-the-we-b-st-open-r-integration-with-ios-xr/

1. Set up the private insecure registry on your server

Refer as follow:

https://docs.docker.com/registry/deploying/ 

https://xrdocs.io/application-hosting/tutorials/2017-02-26-running-docker-containers-on-ios-xr-6-1-2/#private-insecure-registry

[root@nso ~]# nano /etc/yum.repos.d/docker.repo
[root@nso ~]# yum install docker-engine 
[root@nso ~]# systemctl start docker
[root@nso ~]# docker run -d -p 5000:5000 --restart=always --name registry registry:2
[root@nso ~]# docker pull akshshar/openr-xr
[root@nso ~]# docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                    NAMES
c4636568f48a        registry:2          "/entrypoint.sh /e..."   6 minutes ago       Up 6 minutes        0.0.0.0:5000->5000/tcp   registry

[root@nso ~]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
registry            2                   f32a97de94e1        13 days ago         25.8MB
akshshar/openr-xr   latest              b51c260b060e        2 months ago        1.76GB

[root@nso ~]# docker tag akshshar/openr-xr 10.75.58.72:5000/openr-xr
[root@nso ~]# docker images
REPOSITORY                  TAG                 IMAGE ID            CREATED             SIZE
registry                    2                   f32a97de94e1        13 days ago         25.8MB
akshshar/openr-xr           latest              b51c260b060e        2 months ago        1.76GB
10.75.58.72:5000/openr-xr   latest              b51c260b060e        2 months ago        1.76GB
[root@nso ~]# docker push 10.75.58.72:5000/openr-xr
The push refers to a repository [10.75.58.72:5000/openr-xr]
Get https://10.75.58.72:5000/v1/_ping: http: server gave HTTP response to HTTPS client
[root@nso ~]# 

2. Add follow at “/etc/sysconfig/docker”

After changing the docker opts, please wait some seconds, docker will auto restart.

DOCKER_OPTS=" --insecure-registry 10.75.58.72:5000"

完整阅读

0

Enable Raid10 and Install ESXI6.7 on Cisco FlexFlash | C240 M5S

1. Config CIMC (Cisco Integrated Management Controller)

– Connect Display/Mouse to UCS, and FJ45 to CIMC Port

– Power on UCS, then press F8, config IPv4/GW, as follow

完整阅读

0

Inter-domain traffic steering solution with EPE and XTC ODN

Introduction

 

Now more customer complains their Peering network not flexible and hard to control, that will cause peering link’s utilization not balance and waste of resources. As follow the example on Router-2, customer peering device connect to multi ISP, each ISP sends full internet route, select only based on the BGP. BGP select rule only based on the route but not real traffics, that may be cause port-A’s traffics have 8G, but port-B and port-C only have 4G, if want to adjust BGP select, only change RPL that more complex, and due to route from internet and multi ISP, so route maybe change at some time, in order to balance peering link, customer must continue to adjust their RPL.

Could we have more flexible and simplest way to resolve the issue? The answer is Yes 🙂 we can achieve the task by Segment Routing – Egress Peer Engineering. Now some customer had deployed the solution, that combine NetFlow, Openbmp to check AS/traffics of prefix, then send BGP LU(EPE label) to ingress node, and easy to control traffics.

完整阅读

0

How to resize LVM on Centos7/Ubuntu14.04 ?

After install Centos7, found disk size less, so I need resize the disk, you can use some tools to achieve the function, e.g: GParted or disk-genius. But if your Server disk format is LVM, you can easy to manual adjust that. I don’t know how to resize LVM by Gparted or disk-genius. For this article, will discuss how to adjust Centos7/Ubuntu14.04 by LVM. That should same action/command in Centos and Ubuntu.

If you want to check steps in Ubuntu, can check this attachment: lvm-resize-ubuntu14.04

1. Follow disk info

Check system contents by “sudo df -H”, check all disk status by “sudo fdisk -l”.

[root@frank ~]# df -H
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/myvg-root  7.4G  7.4G  4.0M 100% /
devtmpfs               2.1G     0  2.1G   0% /dev
tmpfs                  2.1G  250k  2.1G   1% /dev/shm
tmpfs                  2.1G  9.5M  2.1G   1% /run
tmpfs                  2.1G     0  2.1G   0% /sys/fs/cgroup
/dev/mapper/myvg-home  731M  140M  591M  20% /home
/dev/sda1              521M  126M  396M  25% /boot
/dev/sr0               4.2G  4.2G     0 100% /run/media/root/CentOS 7 x86_64

2. Relationship for VG, PV and LV

完整阅读

0

Backup and Restore MacOS Outlook 2011 & 2016

最近换了新的MAC-2015款RMBP,第一代RMBP光荣退伍,虽然是三年前的老电脑,但仍然非常好用,Reimage后跟新的没什么两样。来张配置对比图留念:

2012-rmbp

 

2015-rmbp

MAC用了将近三年,感慨颇多,就不在此文介绍了,有机会在其他独立的文章中聊聊感想。换电脑后第一件事就是恢复老电脑的邮箱,这事比较折腾人,虽然最后弄好了,但还是丢了几个文件夹的邮件,大概3k的邮件损失了,下面详细讲下如何备份MAC的outlook以及如何恢复。

2018-5-29日更新1:

又过了将近三年。。。时间荏苒,这回Mac pro是17款带touch bar的,遗憾的是没赶上18款的,实在等不及了哈哈,另外我感觉最好用的莫属指纹识别解锁了,省去了很多事,只可惜不是所有应用都支持

完整阅读

0