Hedvig: Hedvig NFS setup

From Define Wiki
Jump to navigation Jump to search

Create VDisk

  • Access hedvig GUI , via hostname/IP or one of the storage node in cluster
http://192.168.1.233:8080/hedvig/build/#section=login

  • If not already logged in , register on registration page and set
username : admin 
password : hedvig(could be different)

  • Open virtual Disk management tab on top left. Open ADD disk.

Adddisk.png

  • A virtual disk in hedvig is an abstracted logical disk volume presented to a computer or application for read/write use.
  • In add New Virtual Disk dialog box.
Field Description
Batch Select this option to create a group of virtual disks.
Name (single disk) Enter a name for a single virtual disk. This name must contain only

alphanumeric characters – no special characters or spaces.

Size Enter a size – up to 4 TB – and select the units (GB, TB).
Disk Type Select BLOCK or NFS.
RDM (raw device management) Select RDM for direct LUN access to VM guests

(defaults are 4k native block size and 512 exported block size). [Block type only.]

Enable Deduplication Select this option to enable deduplication on the virtual disk(s).
Clustered File System Select this if a clustered file system, such as VMFS, will be formatted on top of the virtual disk(s).

This is the default option for NFS. When selected, the Hedvig platform will track additional metadata attributes for the virtual disk.

Compressed Select this option to enable compression on the virtual disk(s) to reduce data size.
Client-side Caching Select this option to enable client-side caching support of virtual disk blocks,

that is, to cache to local SSD or PCIe devices at the application compute tier for high-performance. Client-side caching is dedupe-enabled for additional efficiency.

Replication Factor Specify the number of replicas (1 to 6) to create for each virtual disk.

A replication factor of 3 is the default and is highly recommended.

Residence HDD, where the system will auto-tier, that is, hot data will be placed on the highest performing media –

typically SSD assets (if present)–,while cold data will reside on spinning hard disks. Flash, where the virtual disk will be pinned only to SSD assets (which must be present) in the cluster, essentially creating an all-flash array for the virtual disk.

Mode For the Hedvig Storage Pool, select the mode in which to store the virtual disk(s): Normal or Ludicrous.
Block Size For disk type of BLOCK, select the block size [512, 4096 (4k), 65536 (64k)]. For disk type of NFS,

the default is 512. [For more information about block size,

Export VDisk to Proxy

  • On hedvig , vdisk have to be exported to proxy , from where it can be accessed by outside world.
  • After creation of Vdisk , virtual Disk management tab , click on option > export .
  • Select the proxy from the list and Press run
  • After successful export , you will get a link on proxy where it's mounted.
  • On the any machine
mkdir -p /mnt/nfsdemo
mount proxy.bostonhpc.in:/exports/nfsdemo /mnt/nfsdemo