※ Disk에 대한 초기화 필요시 아래와 같이 수행 [root@TEST04 ~]# dd if=/dev/zero of=/dev/sdb bs=512 count=1 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.000636 seconds, 805 kB/s [root@TEST04 ~]# [root@TEST04 /]# [root@TEST04 /]# fdisk -l | grep "Disk" WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdc doesn't contain a valid p..
[root@TEST01 ~]# [root@TEST01 ~]# df -h | grep sda /dev/sda1 99M 18M 77M 19% /boot [root@TEST01 ~]# [root@TEST01 ~]# [root@TEST01 ~]# cat /etc/fstab | grep boot LABEL=/boot /boot ext3 defaults 1 2 [root@TEST01 ~]# [root@TEST01 ~]# [root@TEST01 ~]# e2label /dev/sda1 /boot [root@TEST01 ~]# [root@TEST01 ~]# e2label /dev/sda1 /BOOT [root@TEST01 ~]# [root@TEST01 ~]# e2label /dev/sda1 /BOOT [root@TEST..
※ 제니퍼나 파로스 같은 JAVA 모니터 툴을 사용하지 않고 간단히 OS 상에서 JAVA Thread를 Count 할때 [ 실시간 모니터시 ] [root@TEST01_was ~]# while [ 0 ]; do ps -ef | grep -v "grep" | grep "java" | awk '{print $2}' | while read PID; do ps -eL | grep $PID | wc -l | while read imsi; do echo "$(date) / PID ${PID} count - $imsi"; done; done && echo "" && sleep 2; done [ 단순 확인시 1 ] [root@TEST01_was ~]# pstree | grep java |-cloud-daemonize--..
※ 사용중인 iSCSI 로그인 정보를 삭제 [root@TEST02 ~]# [root@TEST02 ~]# [root@TEST02 ~]# iscsiadm -m node --targetname iqn.2013-09.192.168.137.10:storage.iscsi1 --logout Logging out of session [sid: 2, target: iqn.2013-09.192.168.137.10:storage.iscsi1, portal: 192.168.137.10,3260] Logout of [sid: 2, target: iqn.2013-09.192.168.137.10:storage.iscsi1, portal: 192.168.137.10,3260] successful. [root@TEST02 ~]# [r..
1. 별도의 Storage 장비가 없을 경우 Linux 에서 간단히 iSCSI 형태의 Shared Volume을 제공 가능 [root@TEST01 ~]# [root@TEST01 ~]# yum list | grep scsi iscsi-initiator-utils.x86_64 6.2.0.872-13.el5 installed iscsi-initiator-utils.x86_64 6.2.0.872-16.el5 base lsscsi.x86_64 0.17-3.el5 base scsi-target-utils.x86_64 1.0.14-2.el5 base [root@TEST01 ~]# [root@TEST01 ~]# yum info scsi-target-utils.x86_64 Loaded plugins: fastestmir..