'Tech Architecture' 카테고리의 다른 글

RESTful Web API  (0) 2018.04.15
SSH Key Generation 후 즉시 로그인  (0) 2017.07.21
vCenter Server Appliance 설치  (0) 2016.05.02
인텔 Tick-Tock 라이프 사이클의 변화  (0) 2016.04.11
SSD disk Optimization Tool  (0) 2015.03.06
by 용보더 2019. 2. 10. 16:19

Collection 은 특별한 종류의 리소스 이다. 

리소스는     데이터의 일부

물리적인 객체

추상적인 개념

하지만, 모두 URL 과 해당 URL 로 GET 요청을 보내면 클라이언트가 받는 문서 표현을 갖게 한다.


컬렉션 리소스는 구체적으로 다른 리소스들을 한그룹으로 묶는 기능을 한다. 표현역시 다른 리소스의 링크에 집중 , 이들 다른 리소스의 표현의 일부조각 또는 전체 표현을 담기도 한다. 


Content-Type : application/vnd.collection+json 이면 Collection+JSON 표준 규칙 적용 

application/atom+xml 이면 AtomPub 규칙이 적용됨 

만약,     application/json 이면 JSON 표준이 Collection 리소스에 대해 말해주지 않는다.

자신만의 표현, 명목 표준을 새로 정의한 API 사용을 하는 상황임. 사용하는 그 특정 API 세부내용을 따로 찾아야 함

Collection+JSON 에서 "items" 필드가 가장 중요하다     

{ "collection" : { "version" : "1.0", "href" : "http://example.org/friends/", "links" : [ {"rel" : "feed", "href" : "http://example.org/friends/rss"} ], "items" : [ { "href" : "http://example.org/friends/jdoe", "data" : [ {"name" : "full-name", "value" : "J. Doe", "prompt" : "Full Name"}, {"name" : "email", "value" : "jdoe@example.org", "prompt" : "Email"} ], "links" : [] },

Atom Publishing Protocol 에서는 Feed 와 entry 가 중요하다. 

Content-Type: application/atom+xml 의 미디어 유형을 제공 


HTTP 프로토콜의 의미체계 (Semantic) 에는 URL ( 일반적인 Resource) 와 GET/PUT 같은 Method  있으며,

고유의 Web API 들 (마이크로블로깅 서비스, 결제 프로세스) 의 의미 체계는 다르다. 


'Tech Architecture' 카테고리의 다른 글

리눅스 LVM 다루기  (0) 2019.02.10
SSH Key Generation 후 즉시 로그인  (0) 2017.07.21
vCenter Server Appliance 설치  (0) 2016.05.02
인텔 Tick-Tock 라이프 사이클의 변화  (0) 2016.04.11
SSD disk Optimization Tool  (0) 2015.03.06
by 용보더 2018. 4. 15. 23:48

A --> B 서버로 SSH 로그인 시도시 password 없이 로그인 하려면,

1. A 서버에서 ssh-key generation 후에

2. 생성된 id_rsa.pub 를 --> B 로 보냄.

3. B 서버는 받은 id_rsa.pub를 예: /home/pscore/.ssh/authorized_keys 에 삽입함.

4. 이후 A 는 B로 해당 user ssh 접속시 password 없이 로그인 

'Tech Architecture' 카테고리의 다른 글

리눅스 LVM 다루기  (0) 2019.02.10
RESTful Web API  (0) 2018.04.15
vCenter Server Appliance 설치  (0) 2016.05.02
인텔 Tick-Tock 라이프 사이클의 변화  (0) 2016.04.11
SSD disk Optimization Tool  (0) 2015.03.06
by 용보더 2017. 7. 21. 11:10


0. Windows Platform 권장 

1. VMware-VCSA-all-6.0.0-2562643.iso 를 마운트 한다. 

2. Client Integration Plugin 설치 



3. Chrome Browser 설치 & 오픈 


3. 마운트된 디스크에서 vcsa-setup.html 을 오픈.

4. 마운트된 디스크에서 자동 설치 시작 



'Tech Architecture' 카테고리의 다른 글

RESTful Web API  (0) 2018.04.15
SSH Key Generation 후 즉시 로그인  (0) 2017.07.21
인텔 Tick-Tock 라이프 사이클의 변화  (0) 2016.04.11
SSD disk Optimization Tool  (0) 2015.03.06
VMware vSphere 관련 내용  (0) 2015.01.19
by 용보더 2016. 5. 2. 14:02

출처 : 미래에셋증권 도현우 analyst

http://www.smartmiraeasset.com/upload/rboard/ANALYSIS/attach/201604/a_20160408_B4510_s04775_591.pdf


인텔이 제품 출시 전략을 변경한 이유는 우선 공정 개선이 힘들기 때문이다. 과거 미세공정 전환은 주로 노광 장비의 해상도 개선과 함께 진행되었다. 반도체 업체 입장에서는 비교적 낮은 비용과 상대적으로 큰 노력 없 이 제품 성능의 개선이 가능했다. 하지만 30nm 공정이 가능한 ArF-Immersion 장비부터는 해상도 개선이 이루어지지 않고 있다. ArF-Immersion 장비보다 해상도가 높은 장비는 EUVL 인데 이는 2018 년 이후에나 상용화 될 예정이다.

반도체 업계는 노광 장비의 한계를 패터닝 공정 개선과 트랜지스터 구조 개선으로 풀어내고 있다. 패터닝을 두 번해서 해상도를 30nm 이하로 축소시키는 더블패터닝을 도입했다. 또 같은 트랜지스터 사이즈에서 더 낮 은 전력 소모와 높은 성능이 가능한 FinFET 구조를 도입해 14nm 수준까지 성능 개선을 이끌어내었다.

하지만 이런 방법들은 근본적인 노광의 개선 없이 이루어낸 결과라 문제점도 존재한다. 공정 비용이 크게 상 승한다. 더블패터닝은 증착과 식각의 단계가 늘어난다. 재료와 장비의 소요량이 늘어나고 생산성도 하락한다. 10nm 부터 본격적으로 도입될 것으로 보이는 쿼드러플패터닝은 생산성을 추가적으로 하락시킬 것이다. FinFET 트랜지스터도 과거보다 복잡한 공정으로 제조 비용이 크게 상승했다.

PC 수요가 증가할 때는 비용 부담이 있어도 적극적인 공정 개선을 시도할 수 있다. 하지만 현재는 PC 수요 가 감소하고 있다. PC 성능이 크게 증가해도 소비자들이 지갑을 열지 않는다. 이런 상황에서는 인텔이 큰 비 용 부담을 지면서까지 공정 개선을 적극적으로 할 필요가 없다. 



'Tech Architecture' 카테고리의 다른 글

SSH Key Generation 후 즉시 로그인  (0) 2017.07.21
vCenter Server Appliance 설치  (0) 2016.05.02
SSD disk Optimization Tool  (0) 2015.03.06
VMware vSphere 관련 내용  (0) 2015.01.19
CentOS DVD RW 사용하기  (0) 2015.01.13
by 용보더 2016. 4. 11. 09:50

'Tech Architecture' 카테고리의 다른 글

vCenter Server Appliance 설치  (0) 2016.05.02
인텔 Tick-Tock 라이프 사이클의 변화  (0) 2016.04.11
VMware vSphere 관련 내용  (0) 2015.01.19
CentOS DVD RW 사용하기  (0) 2015.01.13
오라클 데이터가드  (0) 2013.12.25
by 용보더 2015. 3. 6. 13:36


# 메모리 관리 ( Memory Management )

참조 사이트 : 

http://www.vmware.com/files/pdf/mem_mgmt_perf_vsphere5.pdf

http://www.vmguru.com/2013/04/vsphere-5-memory-management-explained-part-2/


Memory Overcommit 의 대응

1. Transparent Page Sharing

2. Ballooning

3. Memory Compression

4. Hypervisor Swap




by 용보더 2015. 1. 19. 19:14

참조 http://bunnyblog.tistory.com/337

1. cdrecord 설치하기 및 실행 (자세한 것은 아래 부분 참조)

다운로드 http://rpmfind.net/linux/rpm2html/search.php?query=cdrecord

  336  rpm -ivh ./cdrecord-2.01-10.7.el5.x86_64.rpm 

  340  cdrecord -scanbus

  cdrecord -v -eject speed=4 dev=0,0,0 -data cdimage.iso

2. mkisofs 설치하기 

다운로드 http://rpmfind.net/linux/rpm2html/search.php?query=mkisofs&submit=Search+...&system=&arch=

  346  rpm -ivh ./mkisofs-2.01-10.7.el5.x86_64.rpm


3. ISO 생성 및 버닝

  365  mkisofs -help

  366  mkisofs -R -o ./testuser.iso /home/testuser

  372  mkdir /mnt/dvd-drive

  373  mount ./testuser.iso -r -t iso9660 -o loop /mnt/dvd-drive

  374  cd /mnt/dvd-drive/  

  375  ls

  390  rpm -qi cdrecord-2.01-10.7.el5.x86_64

  399  umount dvd-drive/

  405  rmdir dvd-drive/

별첨 1. FTP 설치하기 

  295  service  vsftpd status

  300  service iptables status

  301  service iptables stop

  302  chkconfig iptables off

  303  chkconfig ip6tables off

  304  yum install -y vsftpd

  305  service vsftpd start

  306  chkconfig vsftpd on

  307  cd /etc/vsftpd/

  309  vi vsftpd.conf 

  310  service vsftpd restart

  311  cd /etc

  313  cd vsftpd

  315  vi user_list


다른자료

▶ 커널에 EIDE CD-RW드라이브가 인식되었는지 확인
   #> ls -l /dev/cdrom
     lrwxr-xr-x 1 root root 9 9월 28 14:58 /dev/cdrom -> /dev/scd0

  #>dmesg
     SCSI subsystem driver Revesion : 1.00
     scsi0 : SCSI host adapter emulation for IDE ATAPI devices
     vendor: SAMSUNG    model: CD-R/RW SW-208B  Rev:BS04
     Type : CD-ROM  ANSI SCSI revision: 02

  #>cdrecord -scanbus
      Linux sg driver version: 3.1.22
      Using libscg version 'schily-0.7'
      scsibus0:
       0,0,0     0) 'SAMSUNG ' 'CD-R/RW SW-232B ' 'R300' Removable CD-ROM
       0,1,0     1) *
       0,2,0     2) *
       0,3,0     3) *
       0,4,0     4) *
       0,5,0     5) *

▶ HDD Data를  ISO이미지로 백업하기
#> mkisofs -R -o cdimage.iso /home/junix/ 
#> mkisofs -icode=cp949 -o test.iso -r -V TESTISO /mnt/movie/ani/
설명 : /home/junix/ 디렉토리를 cdimage.iso 라는 이름으로 이미지를 만듭니다. 
-icode=cp949 : 한글 파일이름 인식 : mkisofs -icode help 참조 
-o : 생성될 ISO 이미지 파일 이름 
-J : Joliet, Rockridge 사용, 긴 파일의 이름이 가능해 진다. 
-V : Volume ID 생성 

▶ 굽기전에 CD 이미지(iso) 무결성 테스트
   - 이 기능을 이용해서 CD를 굽기전에 테스트 해볼 수 있다.
#> mount cdimage.iso -r -t iso9660 -o loop /mnt/cdr

▶ ISO 이미지를 공시디에 레코딩하기
#> cdrecord -v -eject speed=4 dev=0,0,0 -data cdimage.iso
      - dev 구조:  dev= scsibus, target, lun    [ dev=1,0 or dev=0,1,0 ]
                     ( 대개  scsibus는 0번이며 , 이경우 그냥 target 과 lun 부분만을 적어도 됨.)
      -  target :  자기 레코더의 ID 번호 
                     ( 조회방법: cdrecord   -scanbus  또는    eject /dev/scd0  )
      -v           : 레코딩 정보를 상세 출력 
      -eject     : 레코딩 후 디스크 배출 
      speed=x : 레코딩 배속 

▶  이미지를 HDD에 만들지 않고 바로 레코딩하기
#> mkisofs -R /home/backup | cdrecord -v speed=4 dev=1,0 - [enter]


추가일반

Linux 에서 rpm 패키지 설치/삭제하기

rpm으로 프로그램을 설치하려면 우선적으로 이미 설치가 되어 있는지 확인을 해보아야 합니다.

mysql이 이미 설치되어 있는지 확인하기
$ rpm -qa | grep mysql

조회가 되면 다음 명령으로 삭제를 합니다.
$ rpm -e  mysql-devel-5.0.77-4.el5_5.4
가끔 dependency로 인해 삭제가 안되는 경우에는 –nodeps 옵션을 사용하시면 됩니다.
$ rpm -e  mysql-devel-5.0.77-4.el5_5.4 –nodeps(하이픈-2개)

* 조회 했을때 두개 이상이 동일하게 나올경우는  아래와 같은 메시지가  나옵니다.
오류: “mysql-devel-5.0.77-4.el5_5.4″ 여러개의 패키지를 지정합니다
이럴경우엔 –allmatches 옵셥을 사용하시면 삭제가 가능합니다.
$ rpm -e  mysql-devel-5.0.77-4.el5_5.4 –nodeps  –allmatches(하이픈-2개)

설치하실때는 아래와 같이 해주시면 됩니다.
$ rpm -ivh  MySQL-server-5.5.9-1.linux2.6.x86_64.rpm (rpm파일명)

실행결과

[root@CSPC-SH home]# ls

chanwole  cna-init-prod-40640.zip  lost+found  mysql  nohup.out  nsalogin  setup.exe  test_conf.iso  testuser  testuser.iso

[root@CSPC-SH home]# cdrecord -v speed=4 dev=3,0,0 -data ./test_conf.iso 

cdrecord: No write mode specified.

cdrecord: Asuming -tao mode.

cdrecord: Future versions of cdrecord may have different drive dependent defaults.

cdrecord: Continuing in 5 seconds...

Cdrecord-Clone 2.01 (cpu-pc-linux-gnu) Copyright (C) 1995-2004 J?rg Schilling

Note: This version is an unofficial (modified) version with DVD support

Note: and therefore may have bugs that are not present in the original.

Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla

Note: The author of cdrecord should not be bothered with problems in this version.

TOC Type: 1 = CD-ROM

scsidev: '3,0,0'

scsibus: 3 target: 0 lun: 0

Linux sg driver version: 3.5.27

Using libscg version 'schily-0.8'.

cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.1.83 04/05/20 Copyright 1997 J. Schilling').

SCSI buffer size: 64512

atapi: 1

Device type    : Removable CD-ROM

Version        : 5

Response Format: 2

Capabilities   : 

Vendor_info    : 'Optiarc '

Identifikation : 'DVD RW AD-7580S '

Revision       : 'FX04'

Device seems to be: Generic mmc2 DVD-R/DVD-RW.

Current: 0x0009

Profile: 0x0012 

Profile: 0x0015 

Profile: 0x0016 

Profile: 0x002B 

Profile: 0x001B 

Profile: 0x001A 

Profile: 0x0014 

Profile: 0x0013 

Profile: 0x0011 

Profile: 0x0010 

Profile: 0x000A 

Profile: 0x0009 (current)

Profile: 0x0008 

Profile: 0x0002 

Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).

Driver flags   : MMC-3 SWABAUDIO BURNFREE 

Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

Drive buf size : 1895168 = 1850 KB

FIFO size      : 4194304 = 4096 KB

Track 01: data     1 MB        

Total size:        1 MB (00:11.56) = 867 sectors

Lout start:        2 MB (00:13/42) = 867 sectors

Current Secsize: 2048

ATIP info from disk:

  Indicated writing power: 4

  Is not unrestricted

  Is not erasable

  ATIP start of lead in:  -15145 (96:40/05)

  ATIP start of lead out: 359849 (79:59/74)

Disk type:    unknown dye (reserved id code)

Manuf. index: -1

Manufacturer: unknown (not in table)

Blocks total: 359849 Blocks current: 359849 Blocks remaining: 358982

Starting to write CD/DVD at speed 10 in real TAO mode for single session.

Last chance to quit, starting real write    0 seconds. Operation starts.

Waiting for reader process to fill input buffer ... input buffer ready.

trackno=0

BURN-Free is OFF.

Performing OPC...

Starting new track at sector: 0

Track 01:    1 of    1 MB written (fifo 100%) [buf  78%]   8.5x.

Track 01: Total bytes read/written: 1771520/1771520 (865 sectors).

Writing  time:   11.517s

Average write speed   3.4x.

Fixating...

Fixating time:   32.641s

cdrecord: fifo had 28 puts and 28 gets.

cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

[root@CSPC-SH home]# 


추가 참고

Starting vncserver at boot

To start vncserver at boot, enter the command:

/sbin/chkconfig vncserver on 

yum install vnc-server




'Tech Architecture' 카테고리의 다른 글

SSD disk Optimization Tool  (0) 2015.03.06
VMware vSphere 관련 내용  (0) 2015.01.19
오라클 데이터가드  (0) 2013.12.25
Magic Quadrant for x86 Server Virtualization Infrastructure  (0) 2013.07.12
Cisco 와 SDN  (0) 2013.06.10
by 용보더 2015. 1. 13. 20:58

Oracle Data guard


Primary db에 physical standby db를 가진다.

Phys stb db 는 

1. 마운트모드로 미디어 복구모드 오픈되지 않음

2. 필요에 따라 read only 로 db 오픈

3. Primary 와 물리적으로 완전동일 db

4. Redo 로그 전송되오면, LOGW , ARCH 백그라운드

 프로세서로 stb db 에 전송하고 그대로 redo 로그에 적용


Logical stb db 는 

1. 물리적으로 다를 수 있고, 논리적 같은 db

2.  Primary 없는 테이블 인덱스 가능 

3. Redo 로그 전송되오면 SQL 문으로 적용됨

4. Read write 모드로 db 오픈가능 (새로운 어브젝트 생성시)

'Tech Architecture' 카테고리의 다른 글

VMware vSphere 관련 내용  (0) 2015.01.19
CentOS DVD RW 사용하기  (0) 2015.01.13
Magic Quadrant for x86 Server Virtualization Infrastructure  (0) 2013.07.12
Cisco 와 SDN  (0) 2013.06.10
N1KV Inter-Cloud & CSR 1KV  (0) 2013.05.31
by 용보더 2013. 12. 25. 13:24

Magic Quadrant for x86 Server Virtualization Infrastructure


http://www.gartner.com/technology/reprints.do?id=1-1GJA88J&ct=130628&st=sb



'Tech Architecture' 카테고리의 다른 글

CentOS DVD RW 사용하기  (0) 2015.01.13
오라클 데이터가드  (0) 2013.12.25
Cisco 와 SDN  (0) 2013.06.10
N1KV Inter-Cloud & CSR 1KV  (0) 2013.05.31
New Social Technical Platform Architecture  (0) 2012.03.06
by 용보더 2013. 7. 12. 10:31
| 1 2 |