Powered By Blogger

Thursday, January 6, 2011

Remove iscsi targets in centOS

#service iscsi stop
#iscsiadm -m node -T iqn.NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN --op=delete
#service iscsi start

Friday, November 12, 2010

Crash Dump

The hardware watchdog mechanism can automatically reboot the system in case the system hangs. This can be done with or without first generating an automated crash dump file. As superuser, do one of the following:


•To reboot without generating an automated crash dump file, type:


# eeprom error-reset-recovery=boot



•To reboot and generate an automated crash dump file, type:


# eeprom error-reset-recovery=sync

Wednesday, November 10, 2010

Adding SWAP space in ZFS Root filesystem

If you want additional space
# zfs create -V 2G rpool/swap1
# swap -a /dev/zvol/dsk/rpool/swap1
# swap -l


If you want to delete old swap space and add new one

# swap -d /dev/zvol/dsk/rpool/swap
# swap -l (To verify old swap is deleted)
# zfs set volsize=4G rpool/swap
# swap -a /dev/zvol/dsk/rpool/swap
# swap -l

Tuesday, October 26, 2010

Upgrade firmware on one of the IOM in storage Array

-> We replaced IOM.A on the Storage Arrays and there is mismatch in IOM's

Name Model Current Baseline
Tray.86.IOM.A LCSM100_E 0196 0196
Tray.86.IOM.B LCSM100_E 0196 0196
Tray.87.IOM.A LCSM100_E 0166 0196
Tray.87.IOM.B LCSM100_E 0196 0196

Login to the server which Common Array Manager installed

execute csmservice command (usually located under fms/bin directory)

./csmservice -s
Enter array name

it will give options (Enter 5 which is download IOM firmware)

Enter path to IOM formware: /esm0196.esm

Available components for install (Select the IOM from the list )

Wednesday, September 29, 2010

Error while luactivate

/usr/sbin/luactivate: /etc/lu/DelayUpdate/: cannot create

Workaround:
execute folloing:

# export BOOT_MENU_FILE="menu.lst"

Wednesday, September 15, 2010

Changing hostname on Solaris

--> Change the name in /etc/nodename.
--> Change the name in /etc/hostname.xl0 (where xl0 is the name of your network interface)
--> Change the name in /etc/hosts.
--> Change the path in /etc/dumpadm.conf
--> Run the command: hostname new_hostname
Welcome to the UNIX world