또는

MS Windows XP상에서 VMWare로 리눅스를 사용중이다.

VMWare의 편리한 툴 중에는 가상 머신이 동작하는 (물리적인 실제) PC와 가상 머신 간의 파일 공유를 지원하는 도구가 있다.

 

목표: Windows XP와 VMWare 상의 리눅스 간의 파일 공유 폴더 생성

 

1) VMWare가 Power Off된 상태에서 다음 그림과 같이,

    VMWare 메인 메뉴중 VM>Settings>Options>Shared Folders에 공유를 원하는 디렉토리를 지정.





 

 

2) VMWare의 가상머신을 On 시켜 부팅한 후,

    VM>Install VMTools... 를 클릭한다.

    화면에 그림과 같은 Tool CD가 나타날 것이다.

    

 

 

3) VMWareTools 라는 압축파일을 /tmp로 가져와 압축을 푼다.

   

 

   tar -xvzf VMWareTools-8.4.4-301548.tar.gz

    (참고: 대소문자 구분함)

 

 

4) 압축이 모두 해제되면 폴더가 하나 생기는데, 아래와 같이 이동해서 .pl파일을 실행한다.

    물음이 나올 때마다 디폴트로 엔터키만 치면 된다.

    생각보다 시간이 조금 걸리는 작업이므로 쉘 프롬프트가 나올 때까지 꼼짝말고 기다리자^^

 


 

 

5) 위와 같이 설치가 끝나고 재부팅하면, 지정했던 공유 폴더가 /mnt/hgfs 에 나타난다.

    아래와 같이 파일 탐색기나 쉘 프롬프트 상에서 확인할 수 있다.

 

  

 


참고)

VMware Fault Tolerance

VMware Fault Tolerance (FT) provides continuous virtual machine availability in the event of a server failure.

Because FT uses HA, most HA best practices (described in “VMware vSphere High Availability” on page 76)

are relevant to FT as well.

When FT is enabled in a virtual machine, that virtual machine is called the FT primary virtual machine, or

primary. Each such FT primary virtual machine is paired with another virtual machine, called the FT

secondary virtual machine, or secondary. The roles of primary and secondary are dynamic: the virtual

machines can swap roles when there is a failover.

„ FT requires some additional resources. Before turning on FT for a virtual machine, make sure you have

the following resources available:

„ Storage: The secondary virtual machine consumes storage for its configuration file, as well as its

VMDK files, each of which are complete copies of the primary's VMDK files. Make sure you have

space for the secondary virtual machine; this space can be on the same datastore as the primary or a

different datastore. As long as a virtual machine is FT protected, changes to the primary’s VMDK files

will be mirrored to the secondary’s VMDK files.

„ Memory: The primary and secondary virtual machines automatically receive a full memory

reservation, ensuring ballooning or swapping are never necessary on either virtual machine. Make

sure that the hosts on which the primary and secondary virtual machines will run have enough

memory for this reservation.


VMware Fault Tolerance (FT)는 서버 장애 발생시 지속적인 가상 시스템 가용성을 제공합니다. FT는 HA를 사용하기 때문에 HA 베스트 프랙티스 (76 페이지 "VMware  vSphere 고 가용성"에서 설명 함) FT와 관련이 있습니다. 가상 컴퓨터에서 FT가 활성화되면 해당 가상 컴퓨터를 FT 기본 가상 컴퓨터라고합니다. 행성. 이러한 각 FT 주 가상 시스템은 FT라고하는 다른 가상 시스템과 쌍을 이룹니다.보조 가상 컴퓨터 또는 보조. 기본 및 보조의 역할은 동적입니다. 가상장애 조치가있을 때 시스템은 역할을 스왑 할 수 있습니다. "FT는 몇 가지 추가 자원이 필요합니다. 가상 컴퓨터의 FT를 켜기 전에 다음과 같은 리소스를 사용할 수 있습니다. "스토리지 : 보조 가상 시스템은 해당 구성 파일뿐만 아니라 VMDK 파일. 각 VMDK 파일은 기본 VMDK 파일의 전체 복사본입니다. 가지고 있는지 확인하십시오. 보조 가상 시스템을위한 공간; 이 공간은 기본 데이터 저장소와 동일한 데이터 스토어에있을 수 있습니다. 다른 데이터 저장소. 가상 컴퓨터가 FT로 보호되는 한 기본 VMDK 파일로 변경됩니다.

보조 VMDK 파일에 미러링됩니다. "메모리 : 기본 및 보조 가상 컴퓨터는 자동으로 전체 메모리를받습니다. 가상 시스템에서 벌룬 또는 스와핑을 보장 할 필요가 없습니다. 기본 및 보조 가상 시스템이 실행될 호스트에 충분한 공간이 있는지 확인하십시오.


When the primary virtual machine is powered on, both the primary and secondary virtual machines

consume additional overhead memory. The amount depends on virtual machine memory size, but

is typically in the range of 1GB-2GB each.

„ Network: Make sure the FT logging traffic is carried by at least a 10Gb/s NIC. While the amount of

network traffic depends on the workload, even one multi-vCPU virtual machine can require several

Gb/s.

„ CPU: The secondary virtual machine requires some additional CPU cycles to support the

synchronization between the primary and secondary. This is in proportion to how active the primary

VM is, and is generally low.

„ Before a virtual machine is FT protected, the primary and secondary must undergo an initial

synchronization of their memory and VMDK states. This is done through a live memory and disk

migration that occurs while the FT virtual machine is running. The disk synchronization, in particular,

can be a lengthy operation, so expect a delay before it completes and the virtual machine becomes FT

protected.

The initial synchronization happens in the following cases. Because this process can be resource intensive,

avoid performing these operations more often than necessary.

„ When FT is turned on for a running virtual machine.

„ When an FT virtual machine changes from powered-off to powered-on.

„ When the Resume Fault Tolerance operation is executed on a running FT virtual machine that has

had the Suspend Fault Tolerance operation performed on it.

„ When FT protection is reestablished following the failure of either the primary or secondary. This

could be caused by a hardware failure or intentionally triggered with the Test Failover or Test

Restart Secondary operations. In either case the initial synchronization will execute to re-establish FT

protection.



기본 가상 컴퓨터의 전원이 켜지면 기본 및 보조 가상 컴퓨터 추가적인 오버 헤드 메모리를 소비한다. 용량은 가상 시스템 메모리 크기에 따라 다르지만 일반적으로 1GB ~ 2GB 범위입니다. "네트워크 : FT 로깅 트래픽이 적어도 10Gb / s NIC로 전달되는지 확인하십시오. 금액은 네트워크 트래픽은 작업 부하에 따라 달라 지므로 하나의 다중 vCPU 가상 시스템조차도 여러 개의 Gb / s. "CPU : 보조 가상 시스템을 지원하려면 몇 가지 추가 CPU 사이클이 필요합니다. 1 차와 2 차 사이의 동기화. 이것은 1 차적으로 얼마나 활동적인지에 비례합니다. VM은 일반적으로 낮으며 일반적으로 낮습니다. "가상 컴퓨터가 FT로 보호되기 전에 기본 및 보조 컴퓨터는 초기

메모리 및 VMDK 상태의 동기화 이것은 라이브 메모리와 디스크를 통해 이루어집니다. FT 가상 시스템이 실행되는 동안 발생하는 마이그레이션. 디스크 동기화, 특히,

긴 작업이 될 수 있으므로 완료되기 전에 지연이 예상되고 가상 컴퓨터는 FT가됩니다. 


초기 동기화는 다음과 같은 경우에 발생합니다. 이 프로세스는 자원 집약적 일 수 있기 때문에, 필요 이상으로 자주 이러한 작업을 수행하지 마십시오. "실행중인 가상 컴퓨터에서 FT가 켜져있는 경우. "FT 가상 시스템이 전원 꺼짐에서 전원 켜기로 변경 될 때. "Resume Fault Tolerance 작업이 실행중인 FT 가상 컴퓨터에서 실행될 때

Fault Tolerance 작업을 수행했습니다. "FT 보호가 1 차 또는 2 차 실패 후에 다시 시작될 때. 이 하드웨어 장애로 인해 발생하거나 테스트 장애 조치 또는 테스트로 의도적으로 트리거 됩니다. 보조 작업을 다시 시작하십시오. 두 경우 모두 초기 동기화가 실행되어 FT를 다시 설정합니다.






(N20110627)



+ Recent posts