Monday, August 25, 2008

Solaris QFS installation

QFS Installation and configuration:

#lofiadm -a /opt/sw/softrageTek.iso
loopback file interface command will load the iso image

sam: storage and archive manager

#mount -o ro -f hsfs /dev/lofi/1 /mnt/cdrom
mount the image to the cdrom

Base installation files are
SUMWqfsr
SUNWqfsu

#pkgadd -d . SUNWqfsr SUNWqfsu

Install File system manager
#fsmgr_setup

Apply patches
#patchadd 126512-04

web console:
http://X.X.X.X:6789

If you want to administrator other QFS server from the console.
For example: if you want to administor app2 from app1
#fsadm add app2
run this on app1

Setup user profiles:
export PATH=/opt/SUNWsamfs/bin
export PATH=/opt/SUNWsamfs/sbin
export MANPATH=/opt/SUNWsamfs/man

Logs configuration:
Edit syslog.conf
local7.debug /var/adm/qfslog
make sure use tab only between the above line

Restart syslogd
#pkill -HUP syslogd


Some info on mutlipath
/etc/fc
luxadm -e dump_map /dev/fc/fp0
mpathadm list lu
stms boot -e or -d
to enable or disable



Troubleshooting commands:

#samexplorer
it creates a tar.gz file to /tmp which has information about the qfs, filemgr, etc

logs file to look
# /var/adm/messages
# /var/adm/qfslog

#samcmd

#samfsconfig

#samfsinfo qfsf1

backup commands:
#qfsdump -f /tmp/dumptoday.dfs
#qfsrestore -f /tmp/dumtoday.qfs

umount
before unmouting a QFS, umount all clients and umount the master
Also unshare all nfs share

File check
#samfsck qfsf1
Always use samfsck instead of fsck on the QFS

FC Controller probing:
# cfgadm -al
to check the current controller status

# cfgadm -c configure c2
# cfgadm -c configure c3
this will update any new LUNs on the c2 and c3 controller

#devfsadm -C
creating a device path


newfs /dev/rdsk/c6t600A0B80004715FC000007B647FE3875d0s6
its a long name c3.....d0S6
edit the vsftab
/dev/dsk/c6t600A0B80004715FC000007B647FE3875d0s6 - /u01 ufs 2 yes -
mount


DAM hardware setup:

APP1 APP2 DB1 DB2


SW1 SW2

SAN
--------------------------------------------------
WWPN 2014 2024 2034 2044 2015 2025 2035 2045
--------------------------------------------------
CTRA CTRB
WWNN 2004 2005
--------------------------------------------------
disks 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

No comments: