Fault Tolerant VPN Solution on AWS


I worked with a project team to help them to improve their current VPN infrastructure on AWS. They have 3 VPN EC2 instances, let's call them VPN01, VPN02 and VPN03. They are all OpenVPN Access Server, VPN01 and VPN02 both have 10 concurrent sessions license, and in availability a and b respectively. VPN03 only has … Continue reading Fault Tolerant VPN Solution on AWS

Advertisements

ImportError: libffi.so.6: cannot open shared object file: No such file or directory


When installing a python module, if you see similar error like ImportError: libffi.so.6: cannot open shared object file: No such file or directory┬á ---------------------------------------- Command "/usr/local/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-RZWd8I/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nle_4p-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-RZWd8I/cryptography It is normally caused by that the file … Continue reading ImportError: libffi.so.6: cannot open shared object file: No such file or directory

Generate python script for SCORCH runbook


I wrote a simple script called py4runbook.py to generate python scripts for Microsoft system center orchestrator runbooks. Thanks to the module pyHyperV, it makes my work much easier ­čÖé The script can be downloaded from my github repo. It looks like following when it runs. The script needs Python version 3. The generated python scripts … Continue reading Generate python script for SCORCH runbook

Check osad service status in Satellite


RedHat Satellite server allows user to push the updates or run the command remotely in a 'real time' manner. The backend services for this feature are osa-dispatcher, jabberd and osad. osa-dispatcher periodically check the database to see if any clients have actions they need to perform. If there are, it sends the messages through jabberd … Continue reading Check osad service status in Satellite