Fix curl client certificate error: curl: (58) unable to set private key file
I used curl to post xml payload to a web service by client certificate authentication. It worked fine Linux(curl 7.15.5 (x86_64-redhat-linux-gnu)) But the same command with the same certificate failed...
View ArticleForce legacy mode PXE in IBM system X(xSeries) server
The Unified Extensible Firmware Interface (UEFI) tends to replace the basic input/output system (BIOS) of x86 personal computer. Intel Corporation developed EFI in the mid 1990s to enable the Itanium...
View ArticlePXE kickstart VMware ESXi 5 on a trunked interface (Tagged VLAN)
PXE Kickstart VMware ESX host was usually performed on the native VLAN, It was not possible in a trunked interface (Tagged VLAN) due to two obstacles:The above have been overcome by the following...
View ArticleESXi 4 kickstart and ESXi 5 kickstart examples
What is changed in ESXi 5 kickstart: 1. ESXi 5 supports EFI PXE boot(the file is under install media\EFI\boot) 2. ESXi 5 loads all needed packages into memory, there is no need to specify installation...
View ArticleVMware vDS alternative, Cisco Nexus 1000V quickstart
Cisco Nexus 1000V is a virtual switch running Cisco NX-OS Software, it is similar to vSphere Distributed Switch. The Cisco Nexus 1000V has two main components: - Virtual supervisor module (VSM) A VM...
View ArticleUpgrade QLogic FC HBA firmware on IBM System x server
I have been researching the method to upgrade device firmware, my aim was to upgrade the firmware before installing operating system and perform the upgrade remotely by IBM RSA console. For IBM system...
View ArticleSetup VMware vCenter 5 to use Oracle 11g R2 database
VMware vCenter supports DB2,Oracle or MS SQL server as backend database, the built-in database for vCenter in Windows is SQL Server 2008 express,which has limits on disk space and memory, it is not...
View ArticleClone Windows 2008 R2 on UEFI based Servers
Unified Extensible Firmware Interface (UEFI) technology has been widely adopted by x86 servers hardware manufactures such as IBM and DELL to supersede BIOS, but it presents a challenge for operating...
View ArticleCreate GPT partition for LVM using parted tool
Traditional MBR(MSDOS) disk label has limitation of 2^32 (2TiB) in capacity and 15 in partition numbers(including logical partitions), while GUID Partition Table (GPT) supports 2^64 KiB (2 ZiB) and 128...
View ArticleDetect increased new size of existing LUN in RHEL by rescanning FC port...
If the usual command : echo “- - -“ > /sys/class/scsi_host/hostX/scandoesn’t work for FC target, you can try this: echo 1 > /sys/devices/{PCI-DEVICE-ID} /rescan The path is the device path to the...
View ArticleEnable Windows Active Directory Authentication in vSphere 5.1.
vSphere Single Sign On is a new feature in vSphere 5.1, vSphere SSO controls authentication service, so you can no longer add new authentication provider in vCenter by standard vSphere client. It has...
View ArticleAuthenticate RHEL 5 Linux users by Windows 2008 R2 AD
My previous post was tested on Windows 2003 AD, which use non-RFC compliant scheme, Windows 2003 R2 or later is RFC2307bis compliant, the following is tested on Windows 2008 R2, but it should be...
View ArticleAuthenticate RHEL 6 Linux users by Windows 2008 R2 AD
The nss_ldap in RHEL 5 for LDAP authentication has been obsolete in RHEL 6, the replacement is nss-pam-ldapd. But the preferred method for LDAP authentication in RHEL 6 is System Security Services...
View ArticleZabbix: Monitor customized applications by SNMP and JSON Low-level discovery
Low-level discovery (LLD) is an amazing feature in Zabbix, once you have defined the template you can start to monitor hundreds of hosts in few minutes by importing hosts definition in XML file....
View ArticleZabbix: configure SNMP traps – a simpler approach
Zabbix has well documented guide to configure SNMP traps, I followed the guide and gave it up after facing the challenge to install additional software SNMPTT or recompile SNMPD to include...
View ArticleShell script to check Oracle Tablespace usage
I searched a shell script to check Oracle Tablespace usage, most scripts returned use complex SQL statements and they don’t report usage accurately, because auto-extend or multiple data files was not...
View ArticleMonitor customized application in Windows by SNMP
The native SNMP service in Windows can provide basic metrics like CPU, memory and disk etc, but it doesn’t have “extend” feature in net-snmp, which allows you run a script for application monitoring....
View ArticleConfigure multipath on Solaris 11 for IBM V7000 SAN storage
IBM V7000 is not listed from command “mpathadm show mpath-support libmpscsi_vhci.so”, but it is still supported, Solaris 11 mpxio supports any third party storage device that is T10/T11...
View ArticleUnderstanding SysV-style Initscripts in Red Hat Linux
It is often needed to write your own init start/stop script, the following is the minimum requirement for your script to behave as expected. The discussion is based on Red Hat Linux family, other...
View ArticleScript to automatically partition a new disk and create LVM PV
It is a very common task to create a single partition on whole disk and create LVM PV, How to automate it?fdisk doesn't support making partition in script mode, sfdisk can, but it is not as good as...
View Article