this script on both nodes to see what the WWN of each LUN is.

This script to see what the WWN of each LUN is.


for i in `ls -d /sys/block/sd*`; do J=`echo $i | cut -f4 -d "/"`; \
echo "$J = `scsi_id -g -u -s /block/$J`"; done


by 열혈남아 | 2009/02/14 08:32 | Linux | 트랙백 | 덧글(0)

힘에 부치는 하루

오늘하루 바쁘고 짜증나고 힘드네.
어디론가 도망가고 싶다.

by 열혈남아 | 2009/02/08 18:30 | 언저리리 | 트랙백 | 덧글(0)

rpm sorting

Normal session
rpm -qa --qf "%{name}-%{version}-%{release}-%{arch}\n" | sort > rpm-qa

Rescue mode
rpm -qa --qf "%{name}-%{version}-%{release}-%{arch}\n" --root=/mnt/sysimage | sort > rpm-qa

by 열혈남아 | 2009/01/06 08:33 | Linux | 트랙백 | 덧글(0)

rpm -ivh --replacefiles kernel

다른 모듈 인스톨 됬을때 원래꺼로 다시 바꿀때 사용

rpm -ivh --replacefiles kernel-PAE-2.6.18-53.el5.i686.rpm

by 열혈남아 | 2008/10/01 07:50 | Linux | 트랙백 | 덧글(0)

Channel Family in RHN Satellite

***Channel Family***
--------
When you create a clone/custom channel at that moment a new family is created and the name of the family is taken from the owner of the activated satellite certificate,so, when at the moment when initially you created ur own custom channels at that moment the owner of the sat cert was "Red Hat Internal Test Cert". So it took this as the channel family name and under this all clone / custom channel are present
--------

You cannot remove the channel family, you can rename it.

# su - oracle
# sqlplus rhnsat/rhnsat@rhnsat
SQL> select ID,NAME from rhnChannelFamily where NAME='Old Family Name';
The above command is to verify that the channel name exists and isunique
SQL> update rhnChannelFamily set NAME='SHPS' where NAME='New Family Name';
SQL> COMMIT;
SQL> update rhnChannelFamily set NAME='NEw Name' where NAME='Old Family Name';

by 열혈남아 | 2008/09/24 16:13 | Linux | 트랙백 | 덧글(0)

◀ 이전 페이지          다음 페이지 ▶