‘Linux’ 分类存档

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


2. Config FlexFlash

– Login CIMC address by web

– Config “Auto Sync” in “Configure Cards”, and waiting sync complete

– After sync, enable “Hypervisor” in “Virtual Drives”

– Then login in virtual console by “Launch KVM” -> “HTML based KVM”

– “Activate Virtual Decvices” and mapping ESXI image

– After complete installing, set FlexFlash boot priority in “Configure BIOS Order”



At first there was follow alarm when install ESXI, that due to SD Card of FlexFlash not empty, so you need boot with GParted first, then remove original “fat32 disk”, then “Create Partition Table…”. After completed this task, then install ESXI.



Install and deploy Cisco WAE 7.1.1


I installed the WAE 6.4.5 at formal and summaried to Blog, e.g: INSTALL CISCO WAE 6.4.5. After 7.0, install/config have big change and similar with NSO that easy/module to deploy. For this article, only talk about how to install and enable.

Auto source profile

Similar with NSO, add “source” command to “.bash_profile” that in MacOS. That will let you direct to login to WAE but not do “source wae711/waerc”, as follow:

[root@frank ~]# echo "source /opt/wae711/waerc" >> .bash_profile
[root@frank ~]# more .bash_profile | grep wae
source /opt/wae711/waerc








CISCO WAE: wae-db dead but pid file exists


If you found similar alarms, you can follow the guide and try to workaround the issue.


My customer found WAE REST API not workable, after checked, found wae-db have issue and report alarm, as follow.
And try to restart the WAE service and reload VM, not any useful.

[root@wae-auto wae-db]# service --status-all | grep wae
JAVA_EXECUTABLE or HSQLDB_JAR_PATH in '/etc/sysconfig/hsqldb' is set to a non-file.
wae-appenginecore is running OK, with PID=18606
wae-core is running OK, with PID=18163
wae-db dead but pid file exists  <<<<<<
wae-designapiserver is running OK, with PID=18847
wae-messaging is running OK, with PID=17874
wae-ni is running OK, with PID=17525
wae-osc is running OK, with PID=18369
wae-svcs-dashui is running OK, with PID=16652
wae-svcs-db is running OK, with PID=16277
wae-svcs-localrepo is not running
wae-svcs-log is running OK, with PID=16497
wae-svcs-logagent is running OK, with PID=16570
wae-svcs-metricsbkr is running OK, with PID=16716
wae-svcs-metricsd is running OK, with PID=16806
wae-svcs-mon is running OK, with PID=16138
wae-svcs-ui is running OK, with PID=16917
wae-system-server is running OK, with PID=16186
wae-web-server is running OK, with PID=17761



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