Wuhai’s Weblog

August 2, 2009

DNS zone serial number corrected

Filed under: Server — wuhai @ 5:27 pm

The serial number for this DNS zone is mistakenly set to 20090729001, it should be 2009072901. Today is 20090802, I would like to set it back to 20090802.

Go to slave, open the zone file, and its serial number is shown as 2910859817 (20090729001 – 4*4294967296).

Do the math: 2910859817+2147483647-4294967296 = 763376168. Change primary DNS zone serial number to be 763376168.

rndc reload, check the slave, shown up as the same.

Change primary DNS zone serial number to 20090802, rndc reload, all fine now ..

June 16, 2009

Rackable Server Raid1 configuration – Megacli

Filed under: Server — wuhai @ 8:22 pm

By default, it comes with 2 logical drives. To create RAID1, use the following:

Control+Y
-CfgLdDel -L0 -a0
-CfgLdDel -L1 -a0
-CfgLdAdd -r1 ‘[252:0,252:1]‘ -a0
-LdGetProp -Cache -L0 -a0
(Adapter 0-VD 0 (target id: 0): Cache Policy: WriteThrough, ReadAheadNone, Direct, No WriteCache if bad BBU
-LDInit -Start -L0 -a0
-LDBI -ShowProg -L0 -a0

Blog at WordPress.com.