Crucial Paradigm

Call us now 1300 884 839

Member Login
Australia USA

Location: Australia

Crucial Feature 01 Crucial Feature 02 Crucial Feature 03 Crucial Feature 04

Crucial Paradigm Australia Official Blog

RSS Feed

linux

Creating a jbod in 3Ware 8000/9550

May 14, 2010

3Ware cards do not always make it easy to export drives as JBOD, or for single drives. To get this working it needs to be done through the 3Ware CLI (tw_cli on Linux):

tw_cli maint createunit c0 rsingle p0

Where c0 is the first RAID card in the server, and p0 is the first drive on the controller. You need to run this command for each drive you wish to set to JBOD.


No Comments

How to list all DNS records/entries for a domain name in Linux?

March 24, 2010

If you are trying to find out what exact DNS records your DNS server (or someone else’s DNS servers) are publishing for a specific domain, run the following under any Linux/UNIX system with the ‘host’ command installed:

host -al [domain.com] [nameserver.domain.com]

Where [domain.com] is the domain you wish to query in regards to, and [nameserver.domain.com] is the name server you wish to query.


No Comments

How to install dig on CentOS

March 18, 2010

The quick easy way to install dig on CentOS is:

yum install bind-utils -y


No Comments

Checking the log files on an R1Soft Agent

March 18, 2010

To check the logs of an R1Soft Linux agent you can run the following the agent server:

cat /var/log/messages | grep buagent

This will list all the entries in the messages log in relation to buagent (R1Soft). To get a copy of all relevant files to give R1Soft in case of an issue on the server, you can use the following:

r1soft-report.sh


No Comments

Purging/Deleting all mail from an inbox in Zimbra

March 15, 2010

Deleting mail from an entire inbox (purging) can be done in a few ways on Zimbra:

zmmailbox -z -m user@domain.com emptyFolder /Inbox

or

zmmailbox -a admin -p password -m user@domain.com emptyFolder /Inbox

or

zmmailbox
mbox> adminAuthenticate -u https://server.domain.com:7071 admin@domain.com password
mbox> selectMailbox user@domain.com
mbox user@domain.com> emptyFolder /Inbox


No Comments

cPanel: FATAL! Failed to properly update /scripts

March 12, 2010

If you are getting an error something along this lines of the following:

-bash-3.2# sh ./latest
Creating directory installd
Verifying archive integrity… All good.
Uncompressing cplyr1-cPanel………………………………………………………………………………………………..
____ _
___| _ \ __ _ _ __ ___| |
/ __| |_) / _` | ‘_ \ / _ \ |
| (__| __/ (_| | | | | __/ |
\___|_| \__,_|_| |_|\___|_|

Installer Version 11.25.0 r176

Ensuring system time is set
Updated system time from rdate.cpanel.net: Fri Mar 12 04:54:26 UTC 2010
Verified directory /scripts exists.
Verified directory /scripts/cPScript exists.
Verified directory /usr/local/cpanel exists.
Verified directory /usr/local/cpanel/logs exists.
Verified directory /usr/local/cpanel/Cpanel exists.
Verified directory /var/cpanel exists.
cPanel configuration /var/cpanel/cpanel.config already exists.
Syncing /scripts
Unable to sync: $! at ./updatenow line 38.
Done syncing /scripts
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
FATAL! Failed to properly update /scripts
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-bash-3.2#

Make sure you have install rsync, and perl. You can do this by doing:

yum install rsync perl -y


No Comments

Memtest not loading/booting over IPMI

February 4, 2010

On some of our older servers we have an issue where the official memtest CD does not boot while using IPMI (virtual CD drive). Upon looking for a work around we found 2 options to allow memtest to run even if it did not boot from the official ISO. The first option is RIPLinux 9.3 (we prefer the non-X version), just boot the CD and select the Memory Test option.

The second option is UBCD5 (in beta currently, v4 did not work over IPMI), just start the CD, select the Memory menu and select which version of Memtest you wish to use.

UBCD5 comes with the latest version (4) of memtest, while RIPLinux comes with v2.


No Comments

How do you change/modify the boot menu in RIPLinux ?

December 17, 2009

In an effort to try and cut down the manual labour in burning in new hardware, we have been working with RIP linux on a USB key.  The idea is to fully automate a read and write to all drives in the system, and then automatically run memtest.  This way we can just plug the USB key into the system, start the script and it will perform and record the burn in tests to the USB key which we can review after a few days (burn in tests can take up to a few days  depending on the hardware!).

To do this we needed to modify the boot menu on the RIPLinux USB key, and set memtest to start automatically after 10 seconds of no input.    This can be done by doing the following:

Under:
LABEL Boot Memory Tester!

Enter:
MENU DEFAULT

Under:
DEFAULT menu.c32

Enter:
TIMEOUT 100

A script can then placed to run automatically run when RIPLinux boots into the standard kernel.  The script will complete the hard drive tests, then it will reboot the server automatically and the memtest will run.


No Comments

How to find out which version of Linux you are running.

November 30, 2009

How many times have you logged into a server, and need to find out which exact version of the operating system you are running (Linux).

These commands will give you some details:

lsb_release -a
uname -a
cat * /etc/*release*


No Comments

How to monitor/capture packets on Linux

November 25, 2009

Question: How do I monitor all traffic on a Linux host, or for a particular port?

Answer: You can use the application tcpdump, here are some examples:

Monitor a particular interface:

tcpdump -i eth0

Monitor a particular port:

tcpdump -i eth0 ‘port 9996′


No Comments

Copyright 2003-2012 © Crucial Paradigm Pty Ltd, All Rights Reserved