How to create volume in NetApp and how to NFS export

How to create volume in NetApp and how to NFS export

Introduction– NetApp Storage supports multiple protocols to access data like NFS, CIFS(SMB), FTP and WebDav etc. This article explains how to create NetApp Volume and export using NFS. Step 1) Check Aggr Space and Ping Storage connectivity from server (where u will be mounting volume) – # ping -c5 -M do -s 8972 192.168.0.10 netapp-filer1> …

Read More Read More

How to Import/Export GNU GPG Keys

How to Import/Export GNU GPG Keys

How to Import/Export GPG Keys- Step 1) List GPG Keys – [root@test-host ~]# gpg -kv /root/.gnupg/pubring.gpg ———————— pub  1024D/F9F17DC2 2012-09-27 Test GPG key (Created by Arun) <arun@my.com> sub  2048g/F173E2CC 2012-09-27 pub  1024D/5A6C12B1 2013-02-25 Test2 <abagul@my.com> sub  1024g/CA7BF220 2013-02-25 Step 2) How to Export GPG Key – [root@test-host ~]# gpg –armor –export  –output /tmp/mykey.pub -r ‘5A6C12B1’ …

Read More Read More

Choosing a NIC (Network Adapter) for VM in Vmware ESXi environment

Choosing a NIC (Network Adapter) for VM in Vmware ESXi environment

Introduction- NIC types available for VM  are depends on VM Hardware version and Guest OS (Operating System). When you configure a virtual machine, you can add network adapters (NICs) and specify the adapter type… The following NIC types widely used: E1000 – Emulated version of the Intel 82545EM Gigabit Ethernet NIC, with drivers available in …

Read More Read More

VMware Virtual Machine(VM) Configuration File types

VMware Virtual Machine(VM) Configuration File types

Introduction– When you create VM (Virtual Machine) in VMWare based Virtualization platform. VMware creates  few VM configuration files in  folder with VM name in Datastore (Local Storage or NFS/SAN). Please find the table which describes files types in vmware…   File Usage File Description File Format .vmx .vmname.vmx Virtual machine configuration file. ASCII .vmxf vmname.vmxf …

Read More Read More

VMware ESXi Commands

VMware ESXi Commands

Introduction– Sometime we need to login to Esxi server to check hardware/networking and performance/stats. Sharing few important ESXi commands.. a)  ESXi NIC List ~ # esxcfg-nics  –list Name    PCI           Driver      Link Speed    Duplex MAC Address       MTU    Description vmnic0  0000:01:00.00 tg3   Up   1000Mbps  Full  XX:10:55:DD:CC:XX 1500   Broadcom BCM5720 Gigabit Ethernet vmnic1  0000:01:00.01 tg3   Up   1000Mbps  Full  …

Read More Read More

Log rotation in VMWare ESXi

Log rotation in VMWare ESXi

Introduction– Last month, while working on ESXi5.1 disconnect issue. we analyzed esxi logs for past 3/4 months. Just sharing information related to ESXi log rotation policy.. /var/log # esxcli system syslog config get Default Rotation Size: 1024 Default Rotations: 8 Log Output: /scratch/log Log To Unique Subdirectory: false Remote Host: <none> /var/log # cd /scratch/log …

Read More Read More

Difference between (Extended) ext2/3 and ext4 File System

Difference between (Extended) ext2/3 and ext4 File System

Difference between (Extended) ext2/3 and ext4 File System * Ext2 -It was introduced in 1993. Developed by Remy Card. -ext2 stands for second extended file system. -This was developed to overcome the limitation of the original ext file system. -ext2 does not have journaling feature. -ext2 is recommended for flash drives, usb drives etc -Maximum …

Read More Read More

Simple LDAP Caching Unix Daemon

Simple LDAP Caching Unix Daemon

Introduction- I wrote this simple LDAP Caching unix daemon 2 yrs back when we faced lot of issue with Integrating Apache with LDAP authentication using Apache ldap auth module. We were able to configure it properly however we faced slowness issue. Basically We wanted to use Nagios (Check_mk Multisite) with LDAP authentication. So we wrote …

Read More Read More

Check_mk Multisite and PNP4nagios

Check_mk Multisite and PNP4nagios

Introduction- Nagios Check_mk Multisite (plugin) allow user to view/manage distributed nagios using single Web based Interface. However by default it doesn’t support pnp4nagios graphs (hosts/services from remote nagios) access using (single) Multisite URL. * To access PNP4nagios graphs of hosts/services from remote nagios using (single) Multisite URL, we need to Add Apache Proxy redirect setting. …

Read More Read More