‘Uncategorized’ 分类存档

How to upgrade eXR by one cmd “install replaced” | NCS5500

Awesome upgrade cmd for eXR, that will help customer simplify upgrade procedure and do upgrade automation! Feature release from 652. Just tested and summarized.

I summarized normal upgrade eXR version by install add/prepare/active at former: Upgrade/Install Packages in eXR. For the article, will summary how to upgrade by install replaced.

“Install replaced” is a new cmd that help customer upgrade only by one cmd, don’t need to add/prepare/active steps, that only support by GISO. What is GISO? That is an image bundle, customer can flexibly customize the image, e.g only bundle: ISIS rpm + mini iso + k9 rpm + configuration to one GISO, more GISO information, please check CCO Doc: Flexible Packaging Configuration Guide for Cisco NCS 5500 Series Routers

PS: “Install replaced” that will not affect running configuration, and auto removes inactive rpm, and commit.

Build GISO



Two issues for IxNetwork when set eBGP by Scenario

Ixia updates NexGen framework in IxNetwork, that is great function and help tester simplified workload, but looks like the function couldn’t completely automate,  e.g when you config local address, GW address couldn’t auto-generate, you must manually change that, that should ok, everybody should fix that~ 🙂  But some issue will waste your time to troubleshooting. Summary two issues for the article that will help you fast to fix similar issues.

My IxNetwork version is 7.40.929.28.GA, GA version, wish to fix those issues at MR version 🙂

MALFORM update error on NCS5500



Deploy OpenVPN on OpenWRT

My VPS(Bandwagon) include OpenVPN script, but only support Centos6.x that version not good for docker (my blog deploy by docker Blog顺利完成搬家之Bandwagonhost VPS), so need to do by other scripts. OpenWRT config OpenVPN client has some different, so summary the info to the article for review.

But due to GFW, OpenVPN couldn’t establish at last, reset happened between server and client, but the setup should workable.

Deploy OpenVPN at Server

Don’t know why couldn’t find OpenVPN pacakage by yum, even if have epel source

[root@frank ~]# rpm -qa |grep epel
[root@frank ~]# yum install openvpn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * extras:
 * updates:
No package openvpn available.
Error: Nothing to do



MacOS Tips


System Preferences -> Accessibility -> Mouse & Trackpad -> Trackpad Options -> Enable dragging -> three finger drag



默认分辨率是1680×1050, 看着不舒服,改成1440×900就可以了 System Preferences -> Displays -> Scaled ->


System Preferences -> Desktop & Screen Saver -> Hot corners -> choose one corner and choose “Start Screen Saver”


  • 在fusion的setting中启动Retina 显示,并开启自动调整
  • 在win10中安装Vmware tools
  • 在win10的Display中,选择高级scaling setting,打开“let windows try to fix apps ……”



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


blonde teen swallows videos