January 2008 Archives

I just hear about this news from Yahoo news, MySQL acts as an important role in LAMP, it's widely used in web2.0 site, let's see what's the next step of Sun-MySQL.

BTW, Oracle also buy BEA (products: weblogic and Tuxedo)
Dell 2950 server combines PERC5 Raid controller which needs the last Linux kernel to identify the raid controller driver. At the first time, I try to install RedHat Advanced Server 4 Update2 x86_64 on this server, but this version cannot identify the raid driver of PERC5.

Finally, from Dell tech support, I get to know that only RHEL 4 Update 5 or RHEL 5 can be installed on Dell 2950. So, if you also need install RedHat RHEL on Dell 2950, please try RHEL 4 Update 5 or RHEL 5 version.

Migrated to Movable Type

| | Comments (0) | TrackBacks (0)
I used Word Press as my personal blog application before, for my server was not powerful enough, I decided to migrate it to Movable Type. Movable Type will generate the static html pages when you finish a entry, except the search and comment functions, so over all, I think the page viewing speed should be faster than Word Press.

* Assuming you have Veritas software installed on your platform correctly.*

I performed the following operations on Sun Fire V480 (Solaris10 Sparc) with Sun T3 storage.

Checking the current vxfs information
#df -k
#format </dev/null -- show detailed all disks info
#vxprint -ht
#vxdg list
#vxdisk list

Using 'vxdiskadm' to create a new dg
#vxdiskadm
Enter the disk name:cxxdxxtxx
Enter the disk group name: namedg
Next...

Verifying if the dg has been created
#vxdg list
#vxprint -ht
#vxdisk list

Creating a new volume
#vxassist -g YOUR_DG make VOLUME_NAME SIZE
Example: #vxassist -g SITE2dg make archive 10g

Verifying the new volume
#vxprint -ht

Creating the vxfs file system
#mkfs -F vxfs -o bsize=2048 /dev/vx/rdsk/YOUR_DG/VOLUME_NAME
Example: #mkfs -F vxfs -o bsize=2048 /dev/vx/rdsk/SITE2/archive

Creating the destination folders
#mkdir /oracle/archive
#mkdir /oracle/data01
#mkdir /oracle/data02
#mkdir /oracle/data03
#mkdir /oracle/home
#mkdir /oracle/redo

Editing the /etc/vfstab if you want to mount vxfs file system automatically when OS startup
An example of /etc/vfstab on Solaris 10 Sparc

#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s3 /var ufs 1 no -
/dev/dsk/c1t0d0s2 /dev/rdsk/c1t0d0s2 /export/home ufs 2 yes -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -

##################SITE_2#####################
#/dev/vx/dsk/SITE2dg/archive /dev/vx/rdsk/SITE2dg/archive /oracle/archive vxfs - yes rw,suid,largefiles,log
#/dev/vx/dsk/SITE2dg/home /dev/vx/rdsk/SITE2dg/home /oracle/home vxfs - yes rw,suid,largefiles,log
#/dev/vx/dsk/SITE2dg/redo /dev/vx/rdsk/SITE2dg/redo /oracle/redo vxfs - yes rw,suid,largefiles,log
#/dev/vx/dsk/SITE2dg/data01 /dev/vx/rdsk/SITE2dg/data01 /oracle/data01 vxfs - yes rw,suid,largefiles,log
#/dev/vx/dsk/SITE2dg/data02 /dev/vx/rdsk/SITE2dg/data02 /oracle/data02 vxfs - yes rw,suid,largefiles,log
#/dev/vx/dsk/SITE2dg/data03 /dev/vx/rdsk/SITE2dg/data03 /oracle/data03 vxfs - yes rw,suid,largefiles,log

A Shell script to mount the vxfs file system manually
#!/usr/bin/bash
mount -F vxfs /dev/vx/dsk/SITE2dg/archive /oracle/archive
mount -F vxfs /dev/vx/dsk/SITE2dg/data01 /oracle/data01
mount -F vxfs /dev/vx/dsk/SITE2dg/data02 /oracle/data02
mount -F vxfs /dev/vx/dsk/SITE2dg/data03 /oracle/data03
mount -F vxfs /dev/vx/dsk/SITE2dg/home /oracle/home
mount -F vxfs /dev/vx/dsk/SITE2dg/redo /oracle/redo

Today, I upgraded my server from current FreeBSD 6.2 to 8.0, I'm looking forward to the new features and high performance of this new version!

[root@www ~]# uname -a

FreeBSD www.isoracle.com 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Mon Jan? 7 01:05:43 CST 2008???? root@www.isoracle.com:/usr/obj/usr/src/sys/GENERIC? i386