Posts

Install openstack is EASY!

1> Install CentOS mini OS 2> Disable the firewalld/NetworkManager & enable network systemctl stop firewalld systemctl disable firewalld systemctl stop NetworkManage systemctl disable NetworkManage systemctl enable network systemctl start network 2>  yum -y update 3>  yum -y install centos-release-openstack-queens epel-release 4>  yum -y install openstack-packstack python-pip 5>  packstack --allinone took about 20 mins, you will see this message: OPTION: if you want to edit the configuration before building: packstack --gen-answer-file=openstack.conf then you can edit the configuration; then type: packstack --answer-file=openstack.conf yum -y install openstack-neutron-lbaas haproxy openstack-utils  **** Installation completed successfully ****** [root@vm01 ~(keystone_admin)]# openstack catalog list +------------+--------------+-------------------------------------------------------------------...

Generate OVA/OVF

Since Vsphere 6.5, it recommends to use ovftool to convert the OVF/OVA. Before doing it, please remember disconnect your CDROM/DVDROM. Otherwise, the data on CD/DVD will be included in the OVF/OVA OVF --> WAX --> OVA C:\Program Files\VMware\VMware OVF Tool>ovftool.exe vi://192.168.1.99/Boxborough /vm/win7 C:\Users\pwang\Desktop\ovfs Enter login information for source vi://192.168.1.99/ Username: administrator@vsphere.local Password: ************ Opening VI source: vi://administrator%40vsphere.local@192.168.1.99:443/Boxboroug h/vm/win7 Opening VI source: vi://administrator%40vsphere.local@192.168.1.99:443/Boxboroug h/vm/win7 Opening OVF target: C:\Users\pwang\Desktop\ovfs Writing OVF package: C:\Users\pwang\Desktop\ovfs\win7\win7.ovf Transfer Completed Completed successfully C:\Users\pwang\Desktop\ovfs\vm02>"C:\Program Files\VMware\VMware OVF Tool\ovftoo l.exe" vm02.ovf C:\Users\pwang\Desktop\vmx\vm02.vmx Opening OVF source: vm02.ovf The manife...

PowerVC

1> Reference: http://chmod666.org/index.php/tag/powervc/

CentOS repo

It is my script to sync my internal CentOS with mirrors. Please change it based on your environment such as TARGET #!/bin/bash # This script rsyncs rpms down to the local Yumrepo server. # It then creates a separate shell script (yum-createrepo-post-rsync-$Version2.sh) # which runs createrepo in necessary folders. ##### # variables that should be updated ##### Version1="7.4.1708"  #Actual version of CentOS: 7.4. Version2="${Version1}"  #Version of CentOS plus type. ex 6.6 basic. RsyncSource="rsync://mirror.rackspace.com/centos" ##### # variables ##### YearMonth=`date "+%Y%m"` Source1="$RsyncSource/$Version1" Target1="/data/www" Target2="yum-rpms/centos$Version2" Target3="$Version1/os/x86_64" Target="$Target1/$Target2/$Target3" Target="/data/www/yum-rpms/centos$Version2" # where rpms are kept on local server Create="yum-createrepo-post-rsync-$Version2.sh...

IBM PowerVC

Regarding of NovaLink: https://www.ibm.com/developerworks/community/blogs/mkmblog/entry/PowerVM_Novalink_Installation?lang=en

Vcenter 6.5 installation/configuration

1> Install: Prepare: DNS/NTP Insert the VCSA ISO into any platform -- Windows/Linux Then click the right platform of installer (Will up to you to use either GUI or CLI) It will build a VCSA application as standalone server on the ESXi host After you done:  Login https://<YOUR_VCSA_IP_OR_FQDN>:5480  < It is the management portal) as root/<YOUR_OWN_PASSWORD> to check everything as well as run the update. To manage the VM, please use https://<YOUR_VCSA_IP_OR_FQDN>

Change the PLEX location on QNAP

If you feel that your video stream is always buffering, You might need to check the network first. If  the network performances OK, then you might think to move the PLEX from STAT drive to SSD drive. Here are steps to move the PLEX application to a different location on QNAP: Step 1> Stop the PLEX service Step 2> Ssh into the QNAP Step 3> Locate the current location. For example: Mine is under /share/CACHEDEV2_DATA/.qpkg/PlexMediaServer Step 4> Copy the entire directory from the current volume to the SSD volume cp -rp /share/CACHEDEV2_DATA/.qpkg/PlexMediaServer  /share/CACHEDEV3_DATA/.qpkg/ Step 5> edit /etc/config/qpkg.conf and search PlexMediaServer and change the volume name from old one to the new one. For example: