Packstack - For Openstack testing environment


It can be installed on physical node or virtual machine.


This time, it will be on the Vmware VM named 'packstack'.


First, visit here: http://rdoproject.org and follow quickstart.


When you encountered this message:


 ERROR : No module named pkg_resources


You can fix this error with installing setuptools in python environment.

curl https://bootstrap.pypa.io/ez_setup.py | python

※ What is setuptools?

 It is a module of python and is used by 'pip', and 'easy_install'.


ref: https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources



1. PoC (Proof of Concept)


 For proving technology(new or not) before applying current system



2. BMT (Bench Marking Test)


 Performance test with BMT tools to H/W or S/W in business requirements

'Terms' 카테고리의 다른 글

Terms: JVM, JRE, JDK  (0) 2018.08.21
금융 IT 용어: 채널이란?  (0) 2018.05.24
EMC VMAX Terms  (0) 2018.05.24

Port zoning (Multipath zoning)


Granting storage access authority to the servers with WWN(World Wide Name) and SAN switch port in SAN network




Image result for port zoning

ref: IBM Knowledge Center

'System Engineering > Storage' 카테고리의 다른 글

How to build storage ?  (0) 2018.04.15

Storage building methods


1. DAS (Direct-Attached Storage)


 - Directly connect the server and data storage with interfaces:

SCSI, IDE, FC, etc.

 - Goods

= Traditional and popular building method of storage

= Directly connected for performance and safety

 - Bads

= Sharing and accessing differences between each interfaces

= Low scalability



2. NAS (Network Attached Storage)


 - Use network to access server to storage (NFS, CIFS)

 - The file server has DAS and communicate via TCP/IP

 - Goods

= File system sharing

= Independent data with accessing server

 - Bads

= The bottle neck could be occurred with data request

= If the file server dead, can not access to the storage



3. SAN (Storage Area Network)


 - Using SAN switch to connect with storage (iSCSI)

 - N : M accesses between servers and storages

 - Goods

= High speed disk I/O with fiber channel

= Sharing storage with multiple servers

= Scalability

 - Bads

= FC limited distance

= Need network devices

'System Engineering > Storage' 카테고리의 다른 글

What is port zoning ?  (0) 2018.04.15

1.     단답식 1-10

pvcreate: Physical Volume 생성
vgcreate: Volume Groupe
생성
lvcreate: Logical Volume
생성
 -n: lv name
설정
 -L | --size: lv size
설정

top 명령 실행 후 1 : 모든 CPU 상황 출력
kill [-9 | -SIGKILL | -KILL] [PID]:
프로세스 강제 종료

rpm –V: 설치된 패키지 검사. 설치 후 어떤 파일이 어떻게 변경 되었는지 확인. 파일 크기, MD5 체크섬, 갱신일 확인 가능
 -ql:
특정 패키지 포함한 파일 목록 출력

modeprobe, insmod: 모듈 로드 명령
depmod:
모듈 의존성 체크

fdisk System Id

 82 Linux swap / So
 83: Linux
 8e: Linux LVM

 85 Linux Extended

Syslog level

none

모든 로그 메시지 무시

Info

정보 메시지

warn

경고 메시지

error

에러 메시지

emerg

시스템 패닉

 

/var/log
boot.log:
시스템 부팅 시 보이는 서비스 데몬들의 부트에 관련된 로그
dmesg:
시스템 부팅 시 보이는 시스템 정보 메시지
secure:
원격 접속 및 원격 로그인 등 인증 관련 정보 기록

부트로더 접근 제한 내용
 timeout
초 단위 지정
 password
부트로더 접근 시 패스워드 인증

dd if=/dev/sda of=/dev/sdc bs=1024: /dev/sda에서 /dev/sdc1024 블록 사이즈 단위 백업 명령

groupadd –g: 해당 GID를 가진 그룹 생성

usermod –g: 유저의 해당 GID 변경

cfdisk: 커서 기반 파티션 설정 유틸리티

vmstat: Virtual memory statistic. 리눅스 자원 사용률 모니터링 툴. 현재 메모리, CPU 사용률 조회

crontab –e: 현재 사용자에 대한 cron 작업 확인 / 수정

make mrproper : 이전 생성된 오브젝트 파일(*.o) 삭제 후 모든 설정과 커널 소스를 초기상태로 돌림

make config : 커널 컴파일 옵션 설정

make bzImage : bzip2 형식 커널 이미지 생성

secure : 시스템 접속 보안 로그

messages :시스템 관련 중요 이벤트 기록 파일

TMOUT : 루트 계정 타임 아웃 시간 지정하는 환경 변수

/etc/profile : 환경 변수 값을 로그인 시 마다 자동으로 적용하기 위해 설정하는 파일

chmod 1777 : 스티키 비트 설정

gcc –I : include 옵션
           -L : Library
옵션

/proc/cpuinfo : CPU 정보

/proc/meminfo : 메모리 정보

lspci : pci 슬롯의 모든 장치에 대한 정보 출력

/etc/syslog.conf : 시스템 로그 설정 파일

ssh-agent : ssh 공개키/개인키 인증 방식 사용을 위한 툴


id : 현재 시점에서 사용하고 있는 사용자의 uid, gid 등 자세한 정보 출력


/etc/crontab : */5 5분 마다


플래터(원판) / 헤드(읽기쓰기 암) / 섹터(기본단위)

fstab usrquota : 사용자 디스크 용량 제한 옵션


 

2.     작업식 11-16

/etc/httpd/conf/httpd.conf
 Listen 8080 : 8080
포트 사용
 ServerName www.ihd.or.kr :
웹서버 도메인
 DocumentRoot “/var/www/html” :
웹 문서 위치
 ServerAdmin admin@ihd.or.kr :
관리자 이메일 주소
 DirectoryIndex index.jsp, index.html, index.htm :
클라이언트 요청에따라 순서대로 응답

서버 /etc/exports
/nfsdata 192.168.100.0(rw, no_root_squash) :
해당 디렉토리에 지정 네트워크 대역의 클라이언트 접근 시 root 사용자를 root 권한으로 허가되도록 하며 파일 생성 및 삭제 가능
 /nfsbackup 192.168.100.10(rw,, no_root_squash) :
해당 디렉토리에 접근 가능한 클라이언트 지정
클라이언트 /etc/fstab
 ihd_nfs:/nfsdata          /data    nfs       rw       0         0
클라이언트_1 /etc/fstab
 ihd_nfs:/nfsbackup       /backup nfs       rw,timeo=25      0         0 :
타임아웃 설정 2.5 (0.1초 단위)

/etc/mail/sendmail.mc
DAEMON_OPTIONS (‘Port=smtp, Name=MTA’) dnl :
모든 호스트에 대해 smtp(tcp/25) 리스닝

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

/etc/mail/access
localhost         RELAY
127.0.0.1          RELAY
192.168.100      RELAY :
해당 네트워크의 모든 ip relay 허용

sendmail.cf : 설정 파일

sendmail.mc : 설정 보조 파일

m4 sendmail.mc > sendmail.cf : 매크로 유틸로 cf 파일 생성

Email Mail Exchanger Record: MX Record. 이메일 서버 이름 지정

www: 도메인 지정

mail: 메일 서버 지정

libvirtd: kvm 데몬

virt-manager: VM 생성 및 게스트 os 설치 위한 매니저

iptables 옵션
 -A : appends iptable rule
 -P : sets the default policy for the specified chain.

DocumentRoot /usr/local/www
port 8080
ServerAdmin [e-mail address]

Logformat “%h %t \”%r\” %b” ihd
CustomLog /usr/local/log/httpd.log ihd

nmap : 네트워크 툴. 포트 스캐너. 보안 감사 툴
 -sT : TCP Connect() scan
 -O : enable OS detection
 -p : scan specified ports

vsftpd.conf

 listen_port 지정

named.conf : 존 구문 설정 파일

zone 파일

 MX 0 메일 서버 지정 ( 낮은 숫자 우선순위

 NS 네임 서버 지정(도메인)

 도메인 지정시 마침표

iptables-save > x.sh : 명령어 이용 정책 저장

iptables-restore < x.sh : 명령어 이용 정책 로드

service iptables save : 스크립트 이용 정책 저장

cat /etc/sysconfig/iptables : 스크립트로 저장한 정책 출력

'System Engineering > Linux' 카테고리의 다른 글

FTP server set up  (0) 2018.06.16
Linux: swap  (0) 2018.06.11
리눅스 Core dump  (0) 2018.05.24
리눅스 시스템 프로그래밍 노트  (0) 2017.02.02
리마 1급 1차 노트  (0) 2017.01.31

+ Recent posts