Sunday, September 4, 2016

Mrconfig


                                        Mrconfig


The mrconfig commands let you create, remove, and manage containers, storage pools, disk groups, and disks; and provide various useful information.

Note :- The mrconfig commands provide direct control and access to MapR-FS at a low level. If you are not careful, or do not know what you are doing, you can irrevocably destroy valuable data.

1) /opt/mapr/server/mrconfig disk list list all disks assigned to MFS on the node

2) /opt/mapr/server/mrconfig sp list -v lists all SP’s and its details with disk names

3) Display information about containers on a local node

/opt/mapr/server/mrconfig info dumpcontainers

4) Display information about containers on a remote node with an IP address of xx.xx.xx.xx

/opt/mapr/server/mrconfig -h xx.xx.xx.xx info dumpcontainers

5) Details of number of inodes resynced/pending to be resynced for the container.

mrconfig cntr resyncprogress --cids <cid>

6) List all the running threads in MFS

/opt/mapr/server/mrconfig info threads

7) List detail memory usage by each work area .

/opt/mapr/server/mrconfig info slabs

8) List containers in volume

/opt/mapr/server/mrconfig info containerlist users
Volume containers

2074

9) Send FCR (Full container report) to inform cldb that fs changed

/opt/mapr/server/mrconfig set config send.fcr 1

10) To disable and enable/reset default throttling for particular CID .

/opt/mapr/server/mrconfig cntr disablethrottle <cid>

/opt/mapr/server/mrconfig cntr resetthrottle <cid>

11) To disable network throttling we need to set Network Throttle factor to high number say 200 etc.
/opt/mapr/server/mrconfig resync <command> <params>
Note: Default value of FS Resync Network Throttle Factor = 20

setresyncnetworkthrottlefactor <non zero integer>









No comments:

Post a Comment