Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 33 Next »

It is managed disk using Mantech Volume Lock(MVL) bundled in MCCS.
Within a cluster, the application may be store the data on shared disk when it is equipped. MVL attach the file system on shared disk to the only active server and lock to the standby server to prevent file system corruption. When managed as mentioned above, shared disk is defined as the drive letter.
A shared disk agent of the MCCS manages the lock/un-lock of the disk and monitors volume is read/writable state through communication with the MVL driver.


이 페이지의 주요 내용

Introduction to the MVL Driver

Mantech Volume Lock (MVL) is a kernel drive which provides the function of managing the shared disk for Windows OS.
MVL locks access to the shared disk resource. You cannot access the volume of shared disk before it unlocks access. Only a node allow to access to the shared disk resource.
MVL can be managed in volume unit and partition unit of Window but it is not recommended. But it is recommended to use volume unit management.
It supports both GPT disk and MBR disk, and for file system, it supports NTFS only.


MVL Installation and Removal

MVL can enable load / unload driver and activate without the need to reboot the system after installation. MVL is automatically installed in the last step of the installation of MCCS.
MVL driver can be installed/unistalled manually through the command of, 'install.bat /uninstall.bat' of the '%MCCS_HOME%\bin\DiskAgent' directory.
MVS is developed in a way of legacy filter driver of Wiindows.
Therefore, service start and stop can be done through net command of Windows.
Following is the way of service start and stop using command line interface.

Start

시작
net start vollock

Stop

중지
net stop vollock

When removing MCCS, removal is done for both MCCS and also MVL. To remove it completely. Execute 'unistall.bat of the bin' %MCCS_HOME%\bin\DiskAgent.

※ 설치 및 제거 시 권고사항
MVL은 레거시 커널 필터 드라이버입니다. 따라서 MCCS에서 제공하는 install.bat / uninstall.bat로 설치/제거한 후에 시스템 재부팅해야 합니다.

Example of Shared Disk Configuration

Following steps are recommended to manage shared disk resource through MVL after installing MCCS.

Assume that a driver letter S: is a shared disk resource in a cluster. 

  1. While both nodes (assumed as node A and node B) are in the power off state, bring power online on node A first.
  2. Install MCCS on node A.
  3. Add driver S: to MVL though ‘vollock /a s:’ command.
  4. Lock driver S: through ‘vollock /l s:’ command.
  5. Check if the driver S: is accessible. The volume access should be denied
  6. Power online node B when it is checked driver S: is locked to node A
  7. Apply the same process on node B.
  8. If both nodes are locked, add a new disk resource. 

Maintain the shared disk state to allow one disk access from one node and keep them locked to prevent the damage of data.

MVL Command

Volume control on MVL can be done through Vollock.exe command in '%MCCS_HOME%\bin\DiskAgent'.

형식
vollock [/option] [Drive letter:]

 

Option

Description

L

Locks the disk which is added MVL lock target list.

U

Unlocks the disk which is added MVL lock target list.

A

By adding MVL lock target list of Window registry can remain the lock state even after reboot. In addition, it can lock/unlock by adding MVL driver.

D

Remove the drive letter from MVL lock target list of Window registry.

W

It shows the state of the specific disk.

M

It shows whether disk is in mount/unmount state.

VShow MVL version

status

It shows the state of lock and adding state in table form.

clear

Unlock all the volumes.

delete

Delete specific disk.


'Status' shows the Device Name and Lock information and Registry information as shown below.

[Figure] Volume lock Information

Check list
 

To check if MVL driver is installed, it can be done through checking the list of Vollock driver is listed up by using 'fltmc' command. 

[Figure] Volume lock Driver Information

vollock.sys is registered through <Legacy> format since it is a legacy kernel filter driver.

Adding

There are two way to add a resource which one is select this from a group name and another is select this from a resource type.

Adding in Group

  1. When add a resource from a group name, select a group -> right click -> 'Add Resource'. Or select Edit(E) from the main menu bar -> select 'Add Resource'. Or select 'Add Resource' icon from the tool bar.
     
    [Figure] Adding Resource in a group

  2. Select 'SharedDisk' from Resource Type lists and click 'Next' button. When add a resource from the shared disk resource type name, this step will be skipped.

    [Figure] Select Resource Wizard View


  3. Next steps are same as adding in resource type.

Adding in Resource Type

  1. ResourceType - Right Click - Click Add Resource
     
    [Figure] Adding Resource in a resource type

  2. 공유 디스크로 사용할 디스크 목록을 가져오는 작업을 진행 중입니다.
     
    [그림] 공유 디스크로 사용될 디스크 목록 가져오는 화면


  3. Enter resource name and select driver letter.
    If you skip enter resource name, this will be given 'Shared_value' which value is selected driver letter.

    When you select a drive letter, all of driver letters of the node owns even without the volume of external shared storage is displayed. Please note that do not select the driver letter of none shared storage.


    [Figure] Selecting driver letter View


  4. As Additional Settings, check disk option is available. 
    To use this option, select Use and enter check disk argument. (Default is /F)
    Click 'OK' button.
     
    [Figure] Defining check disk option

  5. Click 'Finish'button and shared disk resource is added.

    [Figure] Adding shared disk resource is completed

     


Deleting

Select resource type - right click - delete resource

  1. Select delete resource and resource will be deleted. 
     
    [Figure] Delete shared disk resource view

 

 

State

다음 테이블은 상태와 사용자 명령에 의해 발생되는 MCCS 리소스의 상태 이동에 대해 설명합니다.
명령은 사용자에 의해 발생되는 것을 전제로 합니다.

공유 디스크 에이전트: MCCS 에 등록된 공유 디스크를 관리합니다. 

상태Agent 가능 명령설명비고

온라인

볼륨에 대한 잠금이 해제되어 쓰기가 가능한 상태입니다.

오프라인

MVL을 사용하여 디스크에 읽기 및 쓰기를 불가능하게 합니다.

 
모니터링

MVL과 임시 텍스트 파일을 생성하여 볼륨에 쓰기 접근이 가능한지를 감시합니다.

 

오프라인

볼륨이 잠긴 상태로 읽기/쓰기가 모두 불가능합니다.

온라인MVL을 사용하여 디스크에 읽기 및 쓰기를 가능하게 합니다. 
모니터링

MVL과 임시 텍스트 파일을 생성하여 볼륨에 쓰기 접근이 가능한지를 감시합니다.

 

장애

볼륨이 온라인 상태지만 외부적인 요인으로 문제가 발생하여 쓰기가 불가능한 상태입니다.
외부 명령 또는 다른 드라이버에 의해 볼륨에 대한 접근이 차단되거나
FC 연결 또는 SAN 스위치 등 스토리지와의 물리적인 연결 문제로 장애가 발생할 수 있습니다.

온라인MVL을 사용하여 디스크에 읽기 및 쓰기를 가능하게 합니다. 
오프라인MVL을 사용하여 디스크에 일기 및 쓰기를 불가능하게 합니다. 

 

 

Attribute

[FigureAttribute of Shared Disk


Attribute

Description

TypeDefaultEditNote

Chkdsk

True로 설정되면 볼륨 마운트 시에 디스크 검사 옵션(ChkdskArg)에 따라 디스크를 검사하고 오류를 수정합니다.
체크디스크 실행 전에는 미러의 복제 상태가 자동으로 중지가 되고, 완료 후에 자동으로 재동기화 됩니다.

BOOLEANfalseO 

ChkdskArg

체크디스크(Chkdsk)가 true 일 때 체크 디스크 명령 옵션을 지정합니다.

STRING/FO 

DriveLetter

볼륨의 드라이버 문자를 지정합니다.

STRING O 

Attribute value of ArgList arguments are the values that are added resources and the value can be changed or viewed through Specified Attribute’ list on the detailed information panel.

 

 

  • No labels