« Previous : 1 : 2 : 3 : 4 : 5 : ... 66 : Next »

(IT-News) 트위터 개념과 활용

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 삐꾸강아쥐

2010/09/07 19:10 2010/09/07 19:10
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/744

(Linux) GMT Time Zone Setting

RHEL5 기준.
Package : tzdata

기존 /etc/localtime 은 OS Install 시 설정한 timezone 으로 되있을 것이다.
만약 GMT0 혹은 특정 timezone 으로 설정을 원한다면 /usr/share/zoneinfo 의 해당 파일로 값을 바꾸면 된다.

GMT0 같은경우 /usr/share/zoneinfo/GMT0 -> /etc/localtime 로 변경
ex) cp /usr/share/zoneinfo/GMT0 /etc/localtime

변경 후 GMT0 시간 과 우리나라 시간 기준으로 확인 해 본다.

그 외에도 각 지역의 GMT 시간으로 마춰 줄 수 있다.


덧1, ntp 는 하나의 기준값(GMT0) 일 뿐이다. 그 값에 timezone 를 할당 해 줌으로서 해당 지역의 시간을 표시 해 준다.
고로 꼭 그 나라의 ntp 를 고집할 필요는 없다.
 
덧2, 그리니치 시간 확인 : http://wwp.greenwichmeantime.com/
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 삐꾸강아쥐

2010/08/27 16:29 2010/08/27 16:29
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/743

(Debian) ethtool duplex settings Debian or Ubuntu

Debian or Ubuntu ethtool setting...

Guide 1.

# vi /etc/init.d/100Mbps or 1000Mbps

#!/bin/sh
ETHTOOL="/usr/sbin/ethtool"
DEV="eth0"
SPEED="100 duplex full"
case "$1" in
start)
echo -n "Setting eth0 speed 100 duplex full...";
$ETHTOOL -s $DEV speed $SPEED;
echo " done.";;
stop)
;;
esac

# Change permission...

# chmod +x /etc/init.d/100Mbps or 1000Mbps

# Runlevel Setting ( Symbol Link "S" : On , "K" : Off )

/etc/rc0.d/K20100Mbs -> ../init.d/100Mbs
/etc/rc1.d/K20100Mbs -> ../init.d/100Mbs
/etc/rc6.d/K20100Mbs -> ../init.d/100Mbs
/etc/rc2.d/S20100Mbs -> ../init.d/100Mbs
/etc/rc3.d/S20100Mbs -> ../init.d/100Mbs
/etc/rc4.d/S20100Mbs -> ../init.d/100Mbs
/etc/rc5.d/S20100Mbs -> ../init.d/100Mbs

or

# Use chkconfig to make

# /etc/init.d/100Mbs start

OR ( 또는 )

Guide 2.

# vi /etc/network/interfaces

# Add Line...
iface eth0 inet dhcp
pre-up /usr/sbin/ethtool -s eth0 speed 100 duplex full autoneg off


site link : http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html
site link : http://basicslinux.blogspot.com/2009/08/changing-your-network-interface-speed.html
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 삐꾸강아쥐

2010/08/27 10:08 2010/08/27 10:08
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/742

[Red Hat] ISCSI 사용하기

--- iscsi 설정 ( 마운트 ) ---

iscsi ( Server )

### tgtd daemon start
service tgtd start

### 타겟을 만드렁 준다.
tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2008-11-18.xen.test.co.kr:storage.disk1

### 타겟의 내역을 확인 한다.
tgtadm --lld iscsi --op show --mode target

### iscsi lun 할당
tgtadm --lld iscsi --op new --mode logicalunit --tid=1 --lun=1 -b /dev/xen_vg/gfs_data
tgtadm --lld iscsi --op new --mode logicalunit --tid=1 --lun=2 -b /dev/gfs/qdisk
tgtadm --lld iscsi --op new --mode logicalunit --tid=1 --lun=1 -b /dev/gfs/gfsdata3


### iscsi target binding
tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL

### iscsi target 에 binding 된 리스트 확인
tgtadm --lld iscsi --op show --mode target

### tid1 에 타겟된 리스트 보기
tgtadm --lld iscsi --op show --mode target --tid 1

iscsi ( Client )

### iscsi daemon start
service iscsi start

### target scan
iscsiadm -m discovery -t st -p 192.168.40.200

### target mapping
iscsiadm -m node --loginall all 또는 iscsiadm -m node -l
or
iscsiadm -m node --targetname iqn_name -l

### mapping 된 내역 확인
iscsiadm -m node

### logout
iscsiadm -m node --targetname iqn.2008-06.com.oracle.kr.sd-iscsi:storage.disk1 --portal 10.0.0.62:3260 --logout
or
iscsiadm -m node --logout

### iqn 삭제
iscsiadm -m node -o delete iqn.2008-06.xen.test.co.kr.sd-iscsi:storage.disk1
or
iscsiadm -m node -o delete

후 target mapping 다시 실행


iscsi udev 설정 하기

/dev/sda => /dev/iscsiN

/etc/udev/rules.d/75-iscsi.rules    

KERNEL=="sda[1-9]", PROGRAM=="scsi_id -g -u -s /block/sda/sda%n", RESULT=="19492039203920390230232", SYMLINK+="iscsi%n"

RESULT == scsi_id -g -u -s /block/sda 에서 나온 값


udevtest

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 삐꾸강아쥐

2010/08/20 10:08 2010/08/20 10:08
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/741

(Debian) Linux Ethernet Bonding Configuration

site link : http://www.debianadmin.com/linux-ethernet-bonding-configuration.html

Ethernet bonding refers to aggregating multiple ethernet channels together to form a single channel. This is primarily used for redundancy in ethernet paths or for load balancing. This page refers in particular to performing ethernet bonding under linux, and so does not limit itself to discussion of 802.3ad Trunk Aggregation.

Ethernet Bonding Types

The linux kernel bonding module supports a number of bonding types.

Round Robin

Packets are transmitted in a round robin fashion over the available slave interfaces. Provides both load balancing and fault tolerance

Active Backup

One slave interface is active at any time. If one interface fails, another interface takes over the MAC address and becomes the active interface. Provides fault tolerance only. Doesn’t require special switch support

Balance XOR

Tranmissions are balanced across the slave interfaces based on ((source MAC) XOR (dest MAC)) modula slave count. The same slave is selected for each destination MAC. Provides load balancing and fault tolerance.

Broadcast

Transmits everything on all slave interfaces. Provides fault tolerance.

802.3ad

This is classic IEEE 802.3ad Dynamic link aggregation. This requires 802.3ad support in the switch and driver support for retrieving the speed and duplex of each slave.

Balance TLB

Adaptive Transmit Load Balancing. Incoming traffic is received on the active slave only, outgoing traffic is distributed according to the current load on each slave. Doesn’t require special switch support

Balance ALB

Adaptive Load Balancing – provides both transmit load balancing (TLB) and receive load balancing for IPv4 via ARP negotiation. Doesn’t require special switch support, but does require the ability to change the MAC address of a device while it is open

Setup Bonding Ethernet on Debian and ubuntu with a 2.4 kernel

To use Bonding Ethernet for High-Availability (fail-over) on Debian (Woody, Sarge,etch or Sid with a 2.4.x kernel) and ubuntu you need to:

install package ifenslave-2.4.To install this package follow this command

#apt-get install ifenslave-2.4

make sure the real NICs kernel modules are loaded automatically

edit /etc/network/interfaces to look like this:

iface bond0 inet static
address 10.31.1.5
netmask 255.255.255.0
network 10.31.1.0
gateway 10.31.1.254
up /sbin/ifenslave bond0 eth0
up /sbin/ifenslave bond0 eth1

comment or borrow the lines referring to your real NICs in the same file

add the following lines to your /etc/modutils/arch/i386:

alias bond0 bonding

options bonding mode=1 miimon=100 downdelay=200 updelay=200

Now run the following command for update

#update-modules

Setup Bonding Ethernet on Debian and ubuntu with a 2.6 kernel

To use Bonding Ethernet for High-Availability (fail-over) on Debian (Woody, Sarge,etch or Sid with a 2.4.x kernel) and ubuntu you need to:

install package ifenslave-2.6.To install this package follow this command

#apt-get install ifenslave-2.6

make sure the real NICs kernel modules are loaded automatically

edit /etc/network/interfaces to look like this:

iface bond0 inet static
address 10.31.1.5
netmask 255.255.255.0
network 10.31.1.0
gateway 10.31.1.254
up /sbin/ifenslave bond0 eth0
up /sbin/ifenslave bond0 eth1

comment or borrow the lines referring to your real NICs in the same file

add the following lines to your /etc/modprobe.d/arch/i386:

alias bond0 bonding

options bonding mode=1 miimon=100 downdelay=200 updelay=200


크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 삐꾸강아쥐

2010/08/20 09:53 2010/08/20 09:53
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/740

The 'rhn_register' command fails with dbus_binding.DBusException

Original Source : http://www.cloudlinux.com/knowlege-base/114/#375


The 'rhn_register' command fails with dbus_binding.DBusException
The issue is related to messagebus & halddaemon being down or not installed
Try:
# service messagebus restart
# service haldaemon restart
Make sure you have both services installed:
# yum install hal dbus
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 삐꾸강아쥐

2010/08/18 10:22 2010/08/18 10:22
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/739

[Linux] 20 Linux System Monitoring Tools Every SysAdmin Should Know

Site Link : http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html


각 유틸리티를 활용한 시스템 Resource Monitor 하기...

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 삐꾸강아쥐

2010/07/29 17:30 2010/07/29 17:30
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/738

[BIND ]How Do I Update The Root Hints Data File for BIND Named Server?


BIND 의 ROOT Domain 과 관련하여 Root Domain 정보가 변경될 경우 Update 를 해야 된다.

OS가 Product 제품일경우 해당 패키지도 업데이트가 되지만 만약 Product 제품이 아니거사

업데이트가 불가능 할경우 위 문서의 방법대로 named.ca or named.root 를 업데이트 해주면 된다.

* 간단한 방법 :
#dig +bufsize=1200 +norec NS . @a.root-servers.net > ./named.ca

a.root-servers.net 에 루트 도메인에 대한 정보를 받아오는 것 이다.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 삐꾸강아쥐

2010/07/29 17:14 2010/07/29 17:14
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/737

[Red Hat] GFS proto 및 lock table 변경하기 ...

GFS1,2 ( 2는 아직 확인 안 해봤음 호환 될꺼라 생각함 )

GFS Best Practices and Performance Tuning
Configuration and Setup
- Locking, and single to clustered filesystem changes
- Distributed lock management
- Switching from lock_nolock to a clustered filesystem:
- Display the superblock:
-gfs_tool sb /dev/vg00/mygfs all 
## gfs volume 정보 확인

- Change Locking:
-gfs_tool sb /dev/vg00/mygfs proto lock_dlm 
## protocol 변경

- Change Cluster:
-gfs_tool sb /dev/vg00/mygfs locktable mycluster:mygfs 
## locktable 변경

## 상황에 따라선 LVM Locking Type 를 변경 한 후 적용해야 될때도 있다.

기존 2대의 GFS 시스템에서 1대의 Single GFS 로 갈경우 RHCS 가 Start 되어 있지 않아서 LVM 이 Cluster Volume 라고 활성화가 안 된다.

이 경우 일반 LVM 으로 변경 후 Cluster LVM 을 해제 한다. 방법은 아래와 같다.

/etc/lvm/lvm.conf
locking_type=1
to
locking_type=0  ## 1 을 0 으로 변경 한다.

vgchange -aln  ## VG 비 활성화
vgchange -cn VG_Name   ## VG cluster No

/etc/lvm/lvm.conf
locking_type=0
to
locking_type=1  ## 0 을 1 으로 원복 한다.

vgchange -aly  ## VG 활성화
하면 LVM 이 활성화 된다.

그리고 나서 해당 LVM 의 protocol 이나 locktable 을 변경 하면 된다.




크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 삐꾸강아쥐

2010/07/29 15:13 2010/07/29 15:13
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/736

[Red Hat] Linux Channel Bonding ( RHEL 기준 )

Site Link 1 : http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Deployment_Guide/s2-modules-bonding.html#s3-modules-bonding-directives

RHEL5.5 의 운영 가이드 부분에 포함된 bonding 관련 내용 입니다.

Site Link 2 : https://access.redhat.com/kb/docs/DOC-34633#Configure_bonded_device_on_Red_Hat_Enterprise_Linux_5

Red Hat 의 Knowledgebase 에 있는 내용 입니다. ( 로그인 필요 )

양이 많아서 링크로 대체 합니다.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 삐꾸강아쥐

2010/07/22 15:33 2010/07/22 15:33
이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색, 이올린 태그검색올블로그 태그검색테크노라티 태그검색태그스토리 태그검색티스토리 태그검색
Response
No Trackback , No Comment
RSS :
http://blog.seabow.pe.kr/rss/response/735

« Previous : 1 : 2 : 3 : 4 : 5 : ... 66 : Next »

Calendar

«   2010/09   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Site Stats

Total hits:
81125
Today:
33
Yesterday:
87
qrcode
QrooQroo code generator