Saturday, March 12, 2011

RAID - Hardware checking

Continuously check the RAID auditing on your server to avoid to loss of data. Your data center will not monitor your RAID device health.

Here iam trying to explain how to monitor your RAID hardware on your freeBSD as well as Linux

We can check hardware RAID conditions using various commands. These commands are with respect to the RAID hardware manufacturer.

So first we need to understand which hard drive your server is using

dmesg | grep -i RAID

~]# pciconf -lv :- in freeBSD

server [~]# lspci :- In Linux

You will get a out put like

RAID bus controller: 3ware Inc 9xxx-series SATA-RAID

Now we can check the RAID status for this server.

For 3ware
[~]# tw_cli /c0 show

If this software is not installed on your server you need to install .. you can get the full details from the vendor

For Megacli

# MegaCli -LDInfo -LAll -aAll

For Adaptec
[~]# lspci
02:00.0 RAID bus controller: Adaptec AAC-RAID (rev 09)
[~]# grep aac /proc/devices
253 aac

Adaptec AAC raid Monitoring command:
/usr/StorMan/arcconf GETCONFIG 1


Thank you,

Tuesday, March 8, 2011

connecting to clam service

You have successfully installed clamAV service on your WHM. But while scanning your server it will show " connecting to clam service ... " just kept hanging on....

To avoid this error you need to to the following steps

1. WHM > tweat Settings and then change Max cPanel process memory from 256 or 512 to 1024

2. uninstall then reinstall clamAV from WHM > manage plug-in

3. WHM > tweat Settings and then change Max cPanel process memory to " previous value " from 1024

This fixed my issue .....

.htaccess view

Sometimes you can not view your .htaccess files through your cpanel file manager. On that time you can do the following settings to view this hidden file.

Step 1: Go to www.yoursite.com/fileman/fileman.cgi?

Step 2: Select the 'web' folder

Step 3: Select Preferences from the tools menu.

Step 4: Tick the 'File Display' -' Do you want to show hidden files?' checkbox (NB: The directory will refresh showing the hidden files.)