SlideShare uma empresa Scribd logo
1 de 25
Configuration
  7/6/2012

© 2012 MapR Technologies   Configuration 1
Configuration
   Agenda
   • Setting up the Node Topology
   • Setting up Volumes
   • Central Configuration
   • Setting up Multiple NICs
   • Setting up VIPs for NFS
   • Managing Users
   • LAB: Configuration



© 2012 MapR Technologies       Configuration 2
Configuration
   Objectives
   At the end of this module you will be able to:
   • Configure node and volume topology
   • Explain how Central Configuration manages the centralized repository of
     MapR configuration files
   • Set up or restrict NICs for use with MapR
   • Configure VIPs for NFS HA
   • Manage permissions for users and groups on the cluster as well as on
     volumes and the MapR-FS
   • Set quotas for volumes, users, and groups



© 2012 MapR Technologies         Configuration 3
Setting up the Node
                                 Topology



© 2012 MapR Technologies        Configuration 4
Node Topology

     Topology indicates locations of nodes and racks
      – Determines where MapR places replicated data
      – Replication scattered across racks
          •   Data still available if a rack fails
                                                                Offline      Active


      –   Specify a topology for each node                                row22
          •   Group nodes by rack/switch depending on
              – How physical cluster is arranged
              – How you want to place replicated data

                                                                   Rack5      Rack 6

© 2012 MapR Technologies                      Configuration 5
Node Topology




© 2012 MapR Technologies   Configuration 6
Setting up Volumes




© 2012 MapR Technologies        Configuration 7
Setting up Volumes

     Volume:
      –   A logical unit of storage that allows you to apply policies to
          • Files
          • Directories
          • Sub-volumes

     Use volumes to
                                                       /      /projects    /users
      –   Enforce disk usage limits
      –   Set replication levels
      –   Establish ownership and accountability
      –   Measure costs
     Create a separate volume for each user/department/project
     Mount volumes under other volumes as needed

© 2012 MapR Technologies             Configuration 8
Typical Volume Layout

                                              /




      /binaries            /hbase         /projects   /users    /var/mapr




        /build             /test           /mjones    /jsmith     local...



                  Recommendation: set up a volume per user
© 2012 MapR Technologies            Configuration 9
Volume Topology

     Place a volume on specific racks or node(s)
      –   Set volume topology to node/nodes/rack
     Note:
      –   By default, new volumes are created with a topology of /
      –   Change the default topology, with the config save command
          • Set the cldb.default.volume.topology parameter
          • For example:
              maprcli config save -values
              "{"cldb.default.volume.topology":"/default-rack"}”
          •   After running the above command, new volumes have the default topology is
              /default-rack




© 2012 MapR Technologies               Configuration 10
Volume Topology




© 2012 MapR Technologies   Configuration 11
Central Configuration




© 2012 MapR Technologies    Configuration 12
Central Configuration

     Central location for all MapR config files
      –   No need to SSH to individual nodes
          • Uses MapR-FS
              – Built-in replication
              – Use snapshots for versioning




      –   Details
          • maprfs:///var/mapr/configuration
          • Config options in warden.conf
              – centralconfig.enabled=true
              – pollcentralconfig.interval.seconds=300




© 2012 MapR Technologies                   Configuration 13
Central Configuration

   How does it work?
    –   Warden copies files from
    maprfs:///var/mapr/configuration
    to local node /opt/mapr/…


   Examples

    From: maprfs:///var/mapr/configuration/default/hadoop/hadoop-0.20.2/conf
    To: /opt/mapr/hadoop/hadoop-0.20.2/conf


    From: maprfs:///var/mapr/configuration/nodes/hostname/hadoop/hadoop-0.20.2/conf
    To: /opt/mapr/hadoop/hadoop-0.20.2/conf

© 2012 MapR Technologies           Configuration 14
Setting up Multiple NICs




© 2012 MapR Technologies   Configuration 15
Configuring NICs with MapR

     Configure which NICs are used for MapR traffic
      –   Faster NICs for high-bandwidth data transfer
      –   Slower NIC for ssh, etc.
     Set MAPR_SUBNETS
      –   Comma-separated list of up to four subnets
      –   CIDR notation with no spaces
      –   For example
              export MAPR_SUBNETS=1.2.3.4/12,1.2.5.6/24
      –   If MAPR_SUBNETS is not set, MapR uses all NICs present on the node




© 2012 MapR Technologies            Configuration 16
Setting up VIPs for NFS




© 2012 MapR Technologies   Configuration 17
VIPs for NFS HA

     Use Virtual IP addresses (VIPs) to achieve HA with NFS
      –   If one node fails VIP moves to next node in pool
      –   Recommendation: NFS nodes >= 3
      –   First set up one or more VIP(s)
          •   Node are added to the pool by starting NFS service
              –   If all NICs are on the same subnet
          •   Manually add IP/MAC to pool
              – Use maprcli virtualip add or MCS
              – If not all NICs on NFS nodes in same subnet
              – OR if you wish to restrict VIPs assignments to specific NICs or MAC addresses




© 2012 MapR Technologies                      Configuration 18
VIPs for NFS HA




© 2012 MapR Technologies   Configuration 19
Managing Users




© 2012 MapR Technologies      Configuration 20
Managing Users

     MapR uses OS/PAM to authenticate users
      –   Assign a specific user (e.g. “mapr”) to administer the cluster
      –   UIDs and GIDs should match on all nodes
      –   Assign permissions to users/groups via MCS or use acl edit or acl
          set
          • Cluster (ACL)
          • Volume (ACL)
          • MapR-FS (POSIX-like)
      –   Assign quotas on volumes
          • Limit space used by a volume
          • limit space used on all volumes by a user/group




© 2012 MapR Technologies              Configuration 21
Cluster Permissions
                 Code         Allowed Action                   Includes

     login                 Log in to the MapR Control cv
                           System, use the API and
                           command-line interface,
                           read access on cluster and
                           volumes
     ss                    Start/stop services

     cv                    Create volumes

     a                     Admin access                All permissions except fc

     fc                    Full control (administrative a
                           access and permission to
                           change the cluster ACL)

© 2012 MapR Technologies      Configuration 22
Volume Permissions

                           Code                        Allowed Action

     dump                                    Dump the volume

     restore                                 Mirror or restore the volume

     m                                       Modify volume properties, create and
                                             delete snapshots
     d                                       Delete a volume

     fc                                      Full control (admin access and
                                             permission to change volume ACL)




© 2012 MapR Technologies          Configuration 23
LAB:
                           Configuration



© 2012 MapR Technologies     Configuration 24
Questions




© 2012 MapR Technologies   Configuration 25

Mais conteúdo relacionado

Mais procurados

IT Platform Selection by Economic Factors and Information Security Requiremen...
IT Platform Selection by Economic Factors and Information Security Requiremen...IT Platform Selection by Economic Factors and Information Security Requiremen...
IT Platform Selection by Economic Factors and Information Security Requiremen...ECLeasing
 
DB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersDB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersMartin Packer
 
MIKE BY DHI SAAS - New features as of October 2014
MIKE BY DHI SAAS - New features as of October 2014MIKE BY DHI SAAS - New features as of October 2014
MIKE BY DHI SAAS - New features as of October 2014Stephen Flood
 
Coupling Facility CPU
Coupling Facility CPUCoupling Facility CPU
Coupling Facility CPUMartin Packer
 
Sspi day out_2014_advantech-mario_jorge
Sspi day out_2014_advantech-mario_jorgeSspi day out_2014_advantech-mario_jorge
Sspi day out_2014_advantech-mario_jorgeSSPI Brasil
 
XPDDS17: Intel New QoS (RDT) Features Introduction - Yi Sun, Intel
XPDDS17: Intel New QoS (RDT) Features Introduction - Yi Sun, IntelXPDDS17: Intel New QoS (RDT) Features Introduction - Yi Sun, Intel
XPDDS17: Intel New QoS (RDT) Features Introduction - Yi Sun, IntelThe Linux Foundation
 
Tackling Disaster in a SCM Environment
Tackling Disaster in a SCM EnvironmentTackling Disaster in a SCM Environment
Tackling Disaster in a SCM Environmentziaulm
 
An Integrated Asset Management Solution For Quantel sQ Servers
An Integrated Asset Management Solution For Quantel sQ ServersAn Integrated Asset Management Solution For Quantel sQ Servers
An Integrated Asset Management Solution For Quantel sQ ServersQuantel
 
Simple layouts for ECKD and zfcp disk configurations on Linux on System z
Simple layouts for ECKD and zfcp disk configurations on Linux on System zSimple layouts for ECKD and zfcp disk configurations on Linux on System z
Simple layouts for ECKD and zfcp disk configurations on Linux on System zIBM India Smarter Computing
 
Impact of Satellite Networks on Transport Layer Protocols
Impact of Satellite Networks on Transport Layer ProtocolsImpact of Satellite Networks on Transport Layer Protocols
Impact of Satellite Networks on Transport Layer ProtocolsReza Gh
 
SLES 11 SP2 PerformanceEvaluation for Linux on System z
SLES 11 SP2 PerformanceEvaluation for Linux on System zSLES 11 SP2 PerformanceEvaluation for Linux on System z
SLES 11 SP2 PerformanceEvaluation for Linux on System zIBM India Smarter Computing
 
3g counter & timer
3g counter & timer3g counter & timer
3g counter & timerTABREZ KHAN
 
Cisco crs1
Cisco crs1Cisco crs1
Cisco crs1wjunjmt
 
Low power flexible_rake_receivers_for_wc
Low power flexible_rake_receivers_for_wcLow power flexible_rake_receivers_for_wc
Low power flexible_rake_receivers_for_wcMd.Akm Sahansha
 
Bsspar1 s14 chapter 02_radio_resource_administration_v1.1
Bsspar1 s14 chapter 02_radio_resource_administration_v1.1Bsspar1 s14 chapter 02_radio_resource_administration_v1.1
Bsspar1 s14 chapter 02_radio_resource_administration_v1.1Simon Aja
 
LCU13: Power-efficient scheduling, and the latest news from the kernel summit
LCU13: Power-efficient scheduling, and the latest news from the kernel summitLCU13: Power-efficient scheduling, and the latest news from the kernel summit
LCU13: Power-efficient scheduling, and the latest news from the kernel summitLinaro
 
Distance Vector Multicast Routing Protocol (DVMRP) : Combined Presentation
Distance Vector Multicast Routing Protocol (DVMRP) : Combined PresentationDistance Vector Multicast Routing Protocol (DVMRP) : Combined Presentation
Distance Vector Multicast Routing Protocol (DVMRP) : Combined PresentationSubhajit Sahu
 

Mais procurados (20)

Job activities
Job activitiesJob activities
Job activities
 
IT Platform Selection by Economic Factors and Information Security Requiremen...
IT Platform Selection by Economic Factors and Information Security Requiremen...IT Platform Selection by Economic Factors and Information Security Requiremen...
IT Platform Selection by Economic Factors and Information Security Requiremen...
 
DB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersDB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for Beginners
 
MIKE BY DHI SAAS - New features as of October 2014
MIKE BY DHI SAAS - New features as of October 2014MIKE BY DHI SAAS - New features as of October 2014
MIKE BY DHI SAAS - New features as of October 2014
 
Coupling Facility CPU
Coupling Facility CPUCoupling Facility CPU
Coupling Facility CPU
 
Sspi day out_2014_advantech-mario_jorge
Sspi day out_2014_advantech-mario_jorgeSspi day out_2014_advantech-mario_jorge
Sspi day out_2014_advantech-mario_jorge
 
3 g rf-opt-process.ppt
3 g rf-opt-process.ppt3 g rf-opt-process.ppt
3 g rf-opt-process.ppt
 
XPDDS17: Intel New QoS (RDT) Features Introduction - Yi Sun, Intel
XPDDS17: Intel New QoS (RDT) Features Introduction - Yi Sun, IntelXPDDS17: Intel New QoS (RDT) Features Introduction - Yi Sun, Intel
XPDDS17: Intel New QoS (RDT) Features Introduction - Yi Sun, Intel
 
Tackling Disaster in a SCM Environment
Tackling Disaster in a SCM EnvironmentTackling Disaster in a SCM Environment
Tackling Disaster in a SCM Environment
 
An Integrated Asset Management Solution For Quantel sQ Servers
An Integrated Asset Management Solution For Quantel sQ ServersAn Integrated Asset Management Solution For Quantel sQ Servers
An Integrated Asset Management Solution For Quantel sQ Servers
 
Simple layouts for ECKD and zfcp disk configurations on Linux on System z
Simple layouts for ECKD and zfcp disk configurations on Linux on System zSimple layouts for ECKD and zfcp disk configurations on Linux on System z
Simple layouts for ECKD and zfcp disk configurations on Linux on System z
 
Impact of Satellite Networks on Transport Layer Protocols
Impact of Satellite Networks on Transport Layer ProtocolsImpact of Satellite Networks on Transport Layer Protocols
Impact of Satellite Networks on Transport Layer Protocols
 
SLES 11 SP2 PerformanceEvaluation for Linux on System z
SLES 11 SP2 PerformanceEvaluation for Linux on System zSLES 11 SP2 PerformanceEvaluation for Linux on System z
SLES 11 SP2 PerformanceEvaluation for Linux on System z
 
3g counter & timer
3g counter & timer3g counter & timer
3g counter & timer
 
Cisco crs1
Cisco crs1Cisco crs1
Cisco crs1
 
Low power flexible_rake_receivers_for_wc
Low power flexible_rake_receivers_for_wcLow power flexible_rake_receivers_for_wc
Low power flexible_rake_receivers_for_wc
 
serdes
serdesserdes
serdes
 
Bsspar1 s14 chapter 02_radio_resource_administration_v1.1
Bsspar1 s14 chapter 02_radio_resource_administration_v1.1Bsspar1 s14 chapter 02_radio_resource_administration_v1.1
Bsspar1 s14 chapter 02_radio_resource_administration_v1.1
 
LCU13: Power-efficient scheduling, and the latest news from the kernel summit
LCU13: Power-efficient scheduling, and the latest news from the kernel summitLCU13: Power-efficient scheduling, and the latest news from the kernel summit
LCU13: Power-efficient scheduling, and the latest news from the kernel summit
 
Distance Vector Multicast Routing Protocol (DVMRP) : Combined Presentation
Distance Vector Multicast Routing Protocol (DVMRP) : Combined PresentationDistance Vector Multicast Routing Protocol (DVMRP) : Combined Presentation
Distance Vector Multicast Routing Protocol (DVMRP) : Combined Presentation
 

Destaque

30a accessing your cluster
30a accessing your cluster30a accessing your cluster
30a accessing your clustermapr-academy
 
55a remote cluster
55a remote cluster55a remote cluster
55a remote clustermapr-academy
 
41a managing services
41a managing services41a managing services
41a managing servicesmapr-academy
 
80a disaster recovery
80a disaster recovery80a disaster recovery
80a disaster recoverymapr-academy
 
70a monitoring & troubleshooting
70a monitoring & troubleshooting70a monitoring & troubleshooting
70a monitoring & troubleshootingmapr-academy
 
Design, Scale and Performance of MapR's Distribution for Hadoop
Design, Scale and Performance of MapR's Distribution for HadoopDesign, Scale and Performance of MapR's Distribution for Hadoop
Design, Scale and Performance of MapR's Distribution for Hadoopmcsrivas
 

Destaque (10)

48a tuning
48a tuning48a tuning
48a tuning
 
30a accessing your cluster
30a accessing your cluster30a accessing your cluster
30a accessing your cluster
 
55a remote cluster
55a remote cluster55a remote cluster
55a remote cluster
 
58a migration
58a migration58a migration
58a migration
 
20a installation
20a installation20a installation
20a installation
 
41a managing services
41a managing services41a managing services
41a managing services
 
80a disaster recovery
80a disaster recovery80a disaster recovery
80a disaster recovery
 
70a monitoring & troubleshooting
70a monitoring & troubleshooting70a monitoring & troubleshooting
70a monitoring & troubleshooting
 
10c introduction
10c introduction10c introduction
10c introduction
 
Design, Scale and Performance of MapR's Distribution for Hadoop
Design, Scale and Performance of MapR's Distribution for HadoopDesign, Scale and Performance of MapR's Distribution for Hadoop
Design, Scale and Performance of MapR's Distribution for Hadoop
 

Semelhante a 22 configuration

The Apache Cassandra ecosystem
The Apache Cassandra ecosystemThe Apache Cassandra ecosystem
The Apache Cassandra ecosystemAlex Thompson
 
3 map r installation & setup administration course description
3 map r installation & setup administration course description3 map r installation & setup administration course description
3 map r installation & setup administration course descriptionmapr-academy
 
Docker and coreos20141020b
Docker and coreos20141020bDocker and coreos20141020b
Docker and coreos20141020bRichard Kuo
 
Oracle rac 10g best practices
Oracle rac 10g best practicesOracle rac 10g best practices
Oracle rac 10g best practicesHaseeb Alam
 
Big Data in Container; Hadoop Spark in Docker and Mesos
Big Data in Container; Hadoop Spark in Docker and MesosBig Data in Container; Hadoop Spark in Docker and Mesos
Big Data in Container; Hadoop Spark in Docker and MesosHeiko Loewe
 
MapR M7: Providing an enterprise quality Apache HBase API
MapR M7: Providing an enterprise quality Apache HBase APIMapR M7: Providing an enterprise quality Apache HBase API
MapR M7: Providing an enterprise quality Apache HBase APImcsrivas
 
Polyteda Power DRC/LVS July 2016
Polyteda Power DRC/LVS July 2016Polyteda Power DRC/LVS July 2016
Polyteda Power DRC/LVS July 2016Oleksandra Nazola
 
Revisiting CephFS MDS and mClock QoS Scheduler
Revisiting CephFS MDS and mClock QoS SchedulerRevisiting CephFS MDS and mClock QoS Scheduler
Revisiting CephFS MDS and mClock QoS SchedulerYongseok Oh
 
TriHUG - Beyond Batch
TriHUG - Beyond BatchTriHUG - Beyond Batch
TriHUG - Beyond Batchboorad
 
Dell linux cluster sap
Dell linux cluster sapDell linux cluster sap
Dell linux cluster sapPrakash Kolli
 
Summary of linux kernel security protections
Summary of linux kernel security protectionsSummary of linux kernel security protections
Summary of linux kernel security protectionsShubham Dubey
 
Quick-and-Easy Deployment of a Ceph Storage Cluster
Quick-and-Easy Deployment of a Ceph Storage ClusterQuick-and-Easy Deployment of a Ceph Storage Cluster
Quick-and-Easy Deployment of a Ceph Storage ClusterPatrick Quairoli
 
Tungsten Fabric Overview
Tungsten Fabric OverviewTungsten Fabric Overview
Tungsten Fabric OverviewMichelle Holley
 
A NoC-Based Infrastructure To Enable Dynamic Self Reconfigurable Systems
A NoC-Based Infrastructure To Enable Dynamic Self Reconfigurable SystemsA NoC-Based Infrastructure To Enable Dynamic Self Reconfigurable Systems
A NoC-Based Infrastructure To Enable Dynamic Self Reconfigurable SystemsLisa Muthukumar
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesLudovico Caldara
 
Putting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OS
Putting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OSPutting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OS
Putting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OSLightbend
 
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...Radisys Corporation
 

Semelhante a 22 configuration (20)

HBase with MapR
HBase with MapRHBase with MapR
HBase with MapR
 
The Apache Cassandra ecosystem
The Apache Cassandra ecosystemThe Apache Cassandra ecosystem
The Apache Cassandra ecosystem
 
3 map r installation & setup administration course description
3 map r installation & setup administration course description3 map r installation & setup administration course description
3 map r installation & setup administration course description
 
Docker and coreos20141020b
Docker and coreos20141020bDocker and coreos20141020b
Docker and coreos20141020b
 
Oracle rac 10g best practices
Oracle rac 10g best practicesOracle rac 10g best practices
Oracle rac 10g best practices
 
Big Data in Container; Hadoop Spark in Docker and Mesos
Big Data in Container; Hadoop Spark in Docker and MesosBig Data in Container; Hadoop Spark in Docker and Mesos
Big Data in Container; Hadoop Spark in Docker and Mesos
 
MapR M7: Providing an enterprise quality Apache HBase API
MapR M7: Providing an enterprise quality Apache HBase APIMapR M7: Providing an enterprise quality Apache HBase API
MapR M7: Providing an enterprise quality Apache HBase API
 
Yarns About Yarn
Yarns About YarnYarns About Yarn
Yarns About Yarn
 
Polyteda Power DRC/LVS July 2016
Polyteda Power DRC/LVS July 2016Polyteda Power DRC/LVS July 2016
Polyteda Power DRC/LVS July 2016
 
Revisiting CephFS MDS and mClock QoS Scheduler
Revisiting CephFS MDS and mClock QoS SchedulerRevisiting CephFS MDS and mClock QoS Scheduler
Revisiting CephFS MDS and mClock QoS Scheduler
 
TriHUG - Beyond Batch
TriHUG - Beyond BatchTriHUG - Beyond Batch
TriHUG - Beyond Batch
 
Dell linux cluster sap
Dell linux cluster sapDell linux cluster sap
Dell linux cluster sap
 
Summary of linux kernel security protections
Summary of linux kernel security protectionsSummary of linux kernel security protections
Summary of linux kernel security protections
 
12a architecture
12a architecture12a architecture
12a architecture
 
Quick-and-Easy Deployment of a Ceph Storage Cluster
Quick-and-Easy Deployment of a Ceph Storage ClusterQuick-and-Easy Deployment of a Ceph Storage Cluster
Quick-and-Easy Deployment of a Ceph Storage Cluster
 
Tungsten Fabric Overview
Tungsten Fabric OverviewTungsten Fabric Overview
Tungsten Fabric Overview
 
A NoC-Based Infrastructure To Enable Dynamic Self Reconfigurable Systems
A NoC-Based Infrastructure To Enable Dynamic Self Reconfigurable SystemsA NoC-Based Infrastructure To Enable Dynamic Self Reconfigurable Systems
A NoC-Based Infrastructure To Enable Dynamic Self Reconfigurable Systems
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
Putting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OS
Putting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OSPutting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OS
Putting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OS
 
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
Radisys/Wind River: The Telcom Cloud - Deployment Strategies: SDN/NFV and Vir...
 

Último

Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 

Último (20)

Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 

22 configuration

  • 1. Configuration 7/6/2012 © 2012 MapR Technologies Configuration 1
  • 2. Configuration Agenda • Setting up the Node Topology • Setting up Volumes • Central Configuration • Setting up Multiple NICs • Setting up VIPs for NFS • Managing Users • LAB: Configuration © 2012 MapR Technologies Configuration 2
  • 3. Configuration Objectives At the end of this module you will be able to: • Configure node and volume topology • Explain how Central Configuration manages the centralized repository of MapR configuration files • Set up or restrict NICs for use with MapR • Configure VIPs for NFS HA • Manage permissions for users and groups on the cluster as well as on volumes and the MapR-FS • Set quotas for volumes, users, and groups © 2012 MapR Technologies Configuration 3
  • 4. Setting up the Node Topology © 2012 MapR Technologies Configuration 4
  • 5. Node Topology  Topology indicates locations of nodes and racks – Determines where MapR places replicated data – Replication scattered across racks • Data still available if a rack fails Offline Active – Specify a topology for each node row22 • Group nodes by rack/switch depending on – How physical cluster is arranged – How you want to place replicated data Rack5 Rack 6 © 2012 MapR Technologies Configuration 5
  • 6. Node Topology © 2012 MapR Technologies Configuration 6
  • 7. Setting up Volumes © 2012 MapR Technologies Configuration 7
  • 8. Setting up Volumes  Volume: – A logical unit of storage that allows you to apply policies to • Files • Directories • Sub-volumes  Use volumes to / /projects /users – Enforce disk usage limits – Set replication levels – Establish ownership and accountability – Measure costs  Create a separate volume for each user/department/project  Mount volumes under other volumes as needed © 2012 MapR Technologies Configuration 8
  • 9. Typical Volume Layout / /binaries /hbase /projects /users /var/mapr /build /test /mjones /jsmith local... Recommendation: set up a volume per user © 2012 MapR Technologies Configuration 9
  • 10. Volume Topology  Place a volume on specific racks or node(s) – Set volume topology to node/nodes/rack  Note: – By default, new volumes are created with a topology of / – Change the default topology, with the config save command • Set the cldb.default.volume.topology parameter • For example: maprcli config save -values "{"cldb.default.volume.topology":"/default-rack"}” • After running the above command, new volumes have the default topology is /default-rack © 2012 MapR Technologies Configuration 10
  • 11. Volume Topology © 2012 MapR Technologies Configuration 11
  • 12. Central Configuration © 2012 MapR Technologies Configuration 12
  • 13. Central Configuration  Central location for all MapR config files – No need to SSH to individual nodes • Uses MapR-FS – Built-in replication – Use snapshots for versioning – Details • maprfs:///var/mapr/configuration • Config options in warden.conf – centralconfig.enabled=true – pollcentralconfig.interval.seconds=300 © 2012 MapR Technologies Configuration 13
  • 14. Central Configuration  How does it work? – Warden copies files from maprfs:///var/mapr/configuration to local node /opt/mapr/…  Examples From: maprfs:///var/mapr/configuration/default/hadoop/hadoop-0.20.2/conf To: /opt/mapr/hadoop/hadoop-0.20.2/conf From: maprfs:///var/mapr/configuration/nodes/hostname/hadoop/hadoop-0.20.2/conf To: /opt/mapr/hadoop/hadoop-0.20.2/conf © 2012 MapR Technologies Configuration 14
  • 15. Setting up Multiple NICs © 2012 MapR Technologies Configuration 15
  • 16. Configuring NICs with MapR  Configure which NICs are used for MapR traffic – Faster NICs for high-bandwidth data transfer – Slower NIC for ssh, etc.  Set MAPR_SUBNETS – Comma-separated list of up to four subnets – CIDR notation with no spaces – For example export MAPR_SUBNETS=1.2.3.4/12,1.2.5.6/24 – If MAPR_SUBNETS is not set, MapR uses all NICs present on the node © 2012 MapR Technologies Configuration 16
  • 17. Setting up VIPs for NFS © 2012 MapR Technologies Configuration 17
  • 18. VIPs for NFS HA  Use Virtual IP addresses (VIPs) to achieve HA with NFS – If one node fails VIP moves to next node in pool – Recommendation: NFS nodes >= 3 – First set up one or more VIP(s) • Node are added to the pool by starting NFS service – If all NICs are on the same subnet • Manually add IP/MAC to pool – Use maprcli virtualip add or MCS – If not all NICs on NFS nodes in same subnet – OR if you wish to restrict VIPs assignments to specific NICs or MAC addresses © 2012 MapR Technologies Configuration 18
  • 19. VIPs for NFS HA © 2012 MapR Technologies Configuration 19
  • 20. Managing Users © 2012 MapR Technologies Configuration 20
  • 21. Managing Users  MapR uses OS/PAM to authenticate users – Assign a specific user (e.g. “mapr”) to administer the cluster – UIDs and GIDs should match on all nodes – Assign permissions to users/groups via MCS or use acl edit or acl set • Cluster (ACL) • Volume (ACL) • MapR-FS (POSIX-like) – Assign quotas on volumes • Limit space used by a volume • limit space used on all volumes by a user/group © 2012 MapR Technologies Configuration 21
  • 22. Cluster Permissions Code Allowed Action Includes login Log in to the MapR Control cv System, use the API and command-line interface, read access on cluster and volumes ss Start/stop services cv Create volumes a Admin access All permissions except fc fc Full control (administrative a access and permission to change the cluster ACL) © 2012 MapR Technologies Configuration 22
  • 23. Volume Permissions Code Allowed Action dump Dump the volume restore Mirror or restore the volume m Modify volume properties, create and delete snapshots d Delete a volume fc Full control (admin access and permission to change volume ACL) © 2012 MapR Technologies Configuration 23
  • 24. LAB: Configuration © 2012 MapR Technologies Configuration 24
  • 25. Questions © 2012 MapR Technologies Configuration 25