Adding a Local Storage Repository to a Citrix XenServer

삽자루 | 2012.02.25 16:18 | 조회 12760

I was recently involved in a series of stress tests to understand how many Citrix XenDesktop Windows7 instances could be crammed into a particular hardware solution.  Initially the solution used shared storage for all VDI-related needs (including a mix of SSD and SAS 15K).
 
Once these tests were complete the hardware stack was altered by adding direct attached storage (DAS) to the blades.
 
For the

Ensure that the physical server sees the disk; to list the visible disks:
 
fdisk -l | more
 
Find the new disk, for this example it is found at /dev/cciss/c0d0, and then create a new partition on the disk:
 
fdisk /dev/cciss/c0d0

New partition

n

Primary

p

Partition ID

1

Starting block

enter

Ending block

enter

Write changes and exit

w

Create a physical volume with the new partition

pvcreate /dev/cciss/c0d0p1

Create a volume great (in this case named, “VG-DAS”) with the new partition

vgcreate VG-DAS /dev/cciss/c0d0p1

Format the partition ext3

/sbin/mkfs.ext3 /dev/cciss/c0d0p1

Find the host ID for the XenServer in question

xe host-list | more

Copy the UUID to notepad, e.g. 3a358d8b-1034-44bc-851c-4f08bd0014e1

Find the ID of the new partition
 
ls -l /dev/disk/by-id | more
 
Find the disk (e.g. c0d0p1) and copy the string to notepad, e.g. cciss-3600508b100104a39535a543030550000-part1
 
Create the storage repository using your unique UUID and Disk ID

xe sr-create content-type="localSR" host-uuid=a83d9760-0edd-461d-8e75-ab07ffe44d9c type=lvm device-config:device=/dev/disk/by-id/cciss-3600508b100104a39535a543035430000-part1 name-label="DAS_SR"

twitter facebook me2day 요즘
37개(1/3페이지) rss
자유게시판
번호 제목 글쓴이 조회 날짜
37 Windows 10 에디션 비교 첨부파일 관리자 44 2019.05.12 10:40
36 Windows 10 Version 1809 SNMP iInstall 관리자 793 2018.12.22 11:58
35 Windows 10 VPN 관리자2 7867 2015.08.16 19:58
34 SW산업진흥법 개정안 국회 통과 첨부파일 삽자루 15641 2012.05.03 11:20
33 도메인에서 Windows Server 2008 도메인 컨트롤러 제거 비밀글 삽자루 6 2012.05.03 10:36
32 마이크로소프트, 빅데이터 환경에 최적화된 SQL 서버 2012 발표 사진 삽자루 17385 2012.05.02 10:38
31 KT, SW 가치구매 프로세스 적용한다 삽자루 13039 2012.04.30 19:47
30 KT, USIM 단독 개통으로 간편하게 쓸 수 있는 ‘심플(SIMple)서비스 출시 사진 첨부파일 삽자루 15306 2012.04.30 13:29
29 Microsoft Flight 삽자루 11934 2012.04.29 13:48
>> Adding a Local Storage Repository to a Citrix XenServer [1] 삽자루 12761 2012.02.25 16:18
27 파이버몰 카탈로그 첨부파일 삽자루 8669 2012.02.23 16:22
26 DA-SC8108 사진 첨부파일 [1] 다모일 12854 2012.02.23 10:14
25 오픈캡쳐(OpenCapture) 프로그램 기업, 관공서, 영리기관 유료 전환 삽자루 11345 2012.02.17 15:59
24 보호받지 못하는 저작물(문화체육관광부) 삽자루 8044 2012.02.08 11:25
23 보호되는 저작물(문화체육관광부) 삽자루 7997 2012.02.08 11:20
위로