Volume manager package is used to automatically create and delete volumes according to specified configuration.
- $ mvn clean package
- $ mvn rpm:rpm
- Install RPM on the node(s) where you'd like volume manager to run.
- Configure /opt/mapr/volume-manager/conf/volume-manager.xml
- Restart Warden on the node(s) in step 3.
- Place volume group configuration files in /opt/mapr/volume-manager/conf/vg.d
Below are sample configuration files
pathformat=\'/projects/silog/data/phase=DEV/app=sialt/year=\'yyyy/\'month=\'MM volumename=silog_data_sialt minreplication=2 replication=3 replicationtype=high_throughput owner=silog group=silog permission=770 ae=silog aetype=1 topology=/data/lbox aceEnabled=yes readAce="g:silog|u:pdtrump" writeAce="u:silog" sched=0 interval=month ahead=1 retention=3 pathformat=\'/projects/iss/auto/userlogs/\'yyyyMMdd volumename=iss_auto_userlogs minreplication=2 replication=3 replicationtype=high_throughput owner=iss group=iss permission=770 ae=iss aetype=1 topology=/data/iss sched=0 interval=day ahead=2 retention=14