SlideShare a Scribd company logo
1 of 24
Samba Management Console




Fabrizio Manfredi Furuholmen
                               Beolink.org
Agenda                            Beolink.org

            Introduction
                Overview
                Goals


            Architecture
                Design
                Components
                Functions


            Demo (I hope)
                Interface
                System Integration


            Roadmap
                Status
                NextStep
             2

                                      16/02/2012
Introduction: Samba usage                    Beolink.org

                              • Domestic Storage NAS
                              • All in one Appliance
   Small env

                          • No i386 hw
                          • Heterogeneous env
                          • High performance FS
      XL env



                      • Fanatic
         Medium       • Economic
          env


                      3

                                                  16/02/2012
Introduction: Overview                               Beolink.org

 Why middle and large companies don’t want to use Samba?

                            I have a big
         What is Samba                       Where can I
                          discount on MS
                ?                           buy support ?
                             products…



          I use only MS   My applications     I’m not a
             products       need MS         programmer



          Samba is too     Total cost of
          complicated                            …
                            ownership



          Samba is only
                            I need ADS
            for N….

                                4

                                                            16/02/2012
Introduction: Problems             Beolink.org



                     TCO

      Samba is                  Samba is
        too                      only for
     complicated                Hackers



                   Management




                         5

                                       16/02/2012
Introduction: Idea                       Beolink.org




            Samba Management Console !


                        6

                                            16/02/2012
Introduction: Project Goals                                Beolink.org

            Simple
            •   Graphical user interface
            •   Handle Samba configuration
            •   Handle Samba Status (Process, session management
            •   Handle Samba Users/Groups
            •   Setup


            Open
            • Process Integration/Automation with other systems
            • Work with samba PDC/AD
            • Work with windows AD


            Global view
            • Control all servers from a central point
            • Handle groups of servers as one
            • Collect information from different servers


                                    7

                                                                   16/02/2012
Architecture: Design       Beolink.org

Rich Client

Node Collector
   Scheduler
   Web Int
   Cache


Node Controller
   Proxy
   Local




                        8

                               16/02/2012
Architecture: Design              Beolink.org

Simple                     Open
   Web Ajax
                             REST
   Embedded Server
                             ExtJS
   Embedded DB
                             Python
                             Sqllite

Global view
   Centralized GUI
                             Samba Libs
   Collector
                             Cmd
   Proxy
                             Swig




                       9

                                       16/02/2012
Architecture: REST                                                               Beolink.org

Representational State Transfer - REST
  The most important concept in Rest concerns the RESOURCES (source of specific
  information), each of which is referenced with a global identifier

  e.g. http://www.boeing.com/aircraft/747


   REST Web Services Characteristics
    Client-Server: a pull-based interaction style: consuming components pulls representations.
    Stateless: each request from client to server must contain all the information necessary to understand
     the request, and cannot take advantage of any stored context on the server.
    Cache: to improve network efficiency responses must be capable of being labeled as cacheable or
     non-cacheable.
    Uniform interface: all resources are accessed with a generic interface (e.g., HTTP GET, POST, PUT,
     DELETE).
    Named resources - the system is comprised of resources which are named using a URL.
    Interconnected resource representations - the representations of the resources are interconnected
     using URLs, thereby enabling a client to progress from one state to another.
    Layered components - intermediaries, such as proxy servers, cache servers, gateways, etc, can be
     inserted between clients and resources to support performance, security, etc.
                  REST – is An Architectural Style, Not a Standard !
                                                    10

                                                                                          16/02/2012
Architecture: Python                            Beolink.org


Why Python ?
      see JelmerVernooijsambaxp 2008
      highly scalable,
      suitable for large projects as well as small ones
      rapid development
      portable cross-platform
      embeddable easily
      extensible object-oriented
      elegant, stable and mature
      powerful standard libs wealth of 3rd party packages

                               11

                                                     16/02/2012
Architecture : extjs                    Beolink.org

      ExtJS is a cross-browser JavaScript library
       for building rich internet applications.
High performance

 Customizable UI widgets

 Extensible Component model

 Leader in Javascript interface

 Commercial and Open Source
licenses available



                                   12

                                            16/02/2012
Architecture : MVC                   Beolink.org

Model-View-Controller
Independent on how retrieve
informations
     RPC
     Command Line
     JSON/REST
     Cache
     Python

 Different output format and
Extensible
    HTML
     JSON
     CSV




                                13

                                        16/02/2012
Demo : functions                                         Beolink.org


          Servers                         Share
          •   Global configuration        • Shares
          •   Process Control             • Printers
          •   Backup/Restore
          •   Logs




          Identity                        Status
          • Users                         •   Sessions
          • Groups                        •   Files
          • Workstations                  •   CPU
                                          •   Queue




                                     14

                                                            16/02/2012
Architecture : setup                                      Beolink.org

 Install                                 [global]
                                          port=8080
    Satisfy requirments (python,samba)   smb_dir=/opt/samba
                                          ..
    Uncompress the tarball
                                          [users]
                                          users=admin, pippo
 Configuration                           [servers]
    Define controlled server             servers=mysrv


    Define samba bin dir                 [user_admin]
                                          password=admin
    Define SMC users                     role=admin


    Define http port                     [server_mysrv]
                                          ip=127.0.0.1
                                          name=myserver
                                          admin=Administrator
 Run                                     password=domain
                                          domain=domain
    Smcd –fconfiguration.file            os=linux
                                          samba=3.2

 Use
                                          Python smcd.py –fsmcd.conf -d
    Point your browser to the server
                                   15

                                                                  16/02/2012
Demo: GUI                      Beolink.org



            Proof of concept




                   16

                                  16/02/2012
Demo: Integration                                  Beolink.org

URL /rest/type/resource/id
   Type
    Global, Identity, Status
   Resources
    Server, share, user,…
   Id (optional)
    Resource Identification
   Operations
      Get: list elements/attributes in resource
      Post: create new resource
      Put: update resource
      Delete: remove resource


                                   17

                                                      16/02/2012
Demo: Integration II                        Beolink.org

   The Rest interface gives all the functions and
   information present in the web client

    Retrieve information with simple url

    Interconnect to monitoring system

    User/group provisioning

    User Administration (password,
     lock..)




                               18

                                                    16/02/2012
Demo: Integration            Beolink.org




                    …



                        19

                                16/02/2012
Advantages                                                                      Beolink.org

                                        Suitable for
                                       large env as
                                       well as small
                                           ones

                                                                     Portable
                 GPL                                                  cross-
                                                                     platform




                                         SMC
       Interface for
                                                                        Embeddable
       Automation
                                                                          easily
         process




                       Total control                     Simple
                       with simple                     integration
                        dashbaord                      and install


                                             20

                                                                                     16/02/2012
Status                                 Beolink.org

 Requirements
   > samba 3.2
   > python 2.6
   Registry for RW operations



 More prototype than product
   Status section completed
   Users / groups readonly sections
   Most Configuration section is ro
   Centralized cache not implemented



                                  21

                                           16/02/2012
Next                                         Beolink.org

Not clear yet but ..
    Better integration
        smcncd –> integrated in Swat
        python Samba library (swig)
    Cache for speed performance in large
     env (sqlite)
    Django for smccld
    Operations on all nodes, single view
    Better support for different samba
     releases
    Cluster ctdb
    Upgrade software (deploy)
    Adobe Air
    User integration
    Web Configuration
                                        22

                                                16/02/2012
I look forwardto meeting you…                             Beolink.org

                XVII European AFS meeting 2010
                        PILSEN - CZECH REPUBLIC
                             September 28-30


           Who should attend:
              Everyone interested in deploying a globally accessible file
               system
              Everyone interested in learning more about real world usage
               of Kerberos authentication in single realm and federated
               single sign-on environments
              Everyone who wants to share their knowledge and
               experience with other members of the AFS and Kerberos
               communities
              Everyone who wants to find out the latest developments
               affecting AFS and Kerberos

           More Info: http://afs2010.civ.zcu.cz/
                                23

                                                                 16/02/2012
Thank you
manfred@freemails.ch
manfred@zeropiu.it

www.beolink.org/smc


                       Beolink.org

More Related Content

What's hot

Making Portals Cool: The Compelling Advantages of a Portlet Bridge
Making Portals Cool: The Compelling Advantages of a Portlet BridgeMaking Portals Cool: The Compelling Advantages of a Portlet Bridge
Making Portals Cool: The Compelling Advantages of a Portlet Bridge
Wesley Hales
 

What's hot (16)

Making Portals Cool: The Compelling Advantages of a Portlet Bridge
Making Portals Cool: The Compelling Advantages of a Portlet BridgeMaking Portals Cool: The Compelling Advantages of a Portlet Bridge
Making Portals Cool: The Compelling Advantages of a Portlet Bridge
 
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
 
mohan_was
mohan_wasmohan_was
mohan_was
 
CMIS overview
CMIS overviewCMIS overview
CMIS overview
 
FISL: Content Management Primer
FISL: Content Management PrimerFISL: Content Management Primer
FISL: Content Management Primer
 
DPC2007 Zend Framework (Gaylord Aulke)
DPC2007 Zend Framework (Gaylord Aulke)DPC2007 Zend Framework (Gaylord Aulke)
DPC2007 Zend Framework (Gaylord Aulke)
 
Extending JMS to Web Devices over HTML5 WebSockets - JavaOne 2011
Extending JMS to Web Devices over HTML5 WebSockets - JavaOne 2011Extending JMS to Web Devices over HTML5 WebSockets - JavaOne 2011
Extending JMS to Web Devices over HTML5 WebSockets - JavaOne 2011
 
Prudhvi
PrudhviPrudhvi
Prudhvi
 
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
 
DPC2007 CodeGear, Delphi For PHP (Pawel Glowacki)
DPC2007 CodeGear, Delphi For PHP (Pawel Glowacki)DPC2007 CodeGear, Delphi For PHP (Pawel Glowacki)
DPC2007 CodeGear, Delphi For PHP (Pawel Glowacki)
 
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
전문가토크릴레이 1탄 html5 전망 (전종홍 박사)
 
WebWorks Development for BlackBerry PlayBook and Smartphones
WebWorks Development for BlackBerry PlayBook and SmartphonesWebWorks Development for BlackBerry PlayBook and Smartphones
WebWorks Development for BlackBerry PlayBook and Smartphones
 
Workshop OSGI PPT
Workshop OSGI PPTWorkshop OSGI PPT
Workshop OSGI PPT
 
The lazy administrator, how to make your life easier by using tdi to automate...
The lazy administrator, how to make your life easier by using tdi to automate...The lazy administrator, how to make your life easier by using tdi to automate...
The lazy administrator, how to make your life easier by using tdi to automate...
 
Maven
MavenMaven
Maven
 
Overview of Liferay 7 Technology
Overview of Liferay 7 TechnologyOverview of Liferay 7 Technology
Overview of Liferay 7 Technology
 

Viewers also liked

Virtualisation overview
Virtualisation overviewVirtualisation overview
Virtualisation overview
sagaroceanic11
 
Matching Cisco and System p
Matching Cisco and System pMatching Cisco and System p
Matching Cisco and System p
Andrey Klyachkin
 
Multiple Shared Processor Pools In Power Systems
Multiple Shared Processor Pools In Power SystemsMultiple Shared Processor Pools In Power Systems
Multiple Shared Processor Pools In Power Systems
Andrey Klyachkin
 

Viewers also liked (20)

Restfs internals
Restfs internalsRestfs internals
Restfs internals
 
SQL Server over SMB3
SQL Server over SMB3SQL Server over SMB3
SQL Server over SMB3
 
Introduction to message_queue
Introduction to message_queueIntroduction to message_queue
Introduction to message_queue
 
Optimizing IBM AIX Enterprise Environments
Optimizing IBM AIX Enterprise EnvironmentsOptimizing IBM AIX Enterprise Environments
Optimizing IBM AIX Enterprise Environments
 
Virtualisation overview
Virtualisation overviewVirtualisation overview
Virtualisation overview
 
Eliminating SAN Congestion Just Got Much Easier- webinar - Nov 2015
Eliminating SAN Congestion Just Got Much Easier-  webinar - Nov 2015 Eliminating SAN Congestion Just Got Much Easier-  webinar - Nov 2015
Eliminating SAN Congestion Just Got Much Easier- webinar - Nov 2015
 
Update Roadshow: Demystifying Storage
Update Roadshow: Demystifying StorageUpdate Roadshow: Demystifying Storage
Update Roadshow: Demystifying Storage
 
IBM Flex System Interoperability Guide
IBM Flex System Interoperability GuideIBM Flex System Interoperability Guide
IBM Flex System Interoperability Guide
 
Matching Cisco and System p
Matching Cisco and System pMatching Cisco and System p
Matching Cisco and System p
 
OpenLDAP - Installation and Configuration
OpenLDAP - Installation and ConfigurationOpenLDAP - Installation and Configuration
OpenLDAP - Installation and Configuration
 
Multiple Shared Processor Pools In Power Systems
Multiple Shared Processor Pools In Power SystemsMultiple Shared Processor Pools In Power Systems
Multiple Shared Processor Pools In Power Systems
 
Aix install
Aix installAix install
Aix install
 
Samba4 Introduction
Samba4 IntroductionSamba4 Introduction
Samba4 Introduction
 
Use Distributed Filesystem as a Storage Tier
Use Distributed Filesystem as a Storage TierUse Distributed Filesystem as a Storage Tier
Use Distributed Filesystem as a Storage Tier
 
Using OpenLDAP
Using OpenLDAPUsing OpenLDAP
Using OpenLDAP
 
AD & LDAP
AD & LDAPAD & LDAP
AD & LDAP
 
Directory Servers and LDAP
Directory Servers and LDAPDirectory Servers and LDAP
Directory Servers and LDAP
 
Designing Scalable SAN using MDS 9396S
Designing Scalable SAN using MDS 9396SDesigning Scalable SAN using MDS 9396S
Designing Scalable SAN using MDS 9396S
 
San switching book
San switching bookSan switching book
San switching book
 
Aix Administrator
Aix AdministratorAix Administrator
Aix Administrator
 

Similar to Samba management Console

HPC Web overview - Mobyle Workshop - September 28, 2012
HPC Web overview - Mobyle Workshop - September 28, 2012HPC Web overview - Mobyle Workshop - September 28, 2012
HPC Web overview - Mobyle Workshop - September 28, 2012
Hervé Ménager
 
The Source Control Landscape
The Source Control LandscapeThe Source Control Landscape
The Source Control Landscape
Lorna Mitchell
 
Domino OSGi Development
Domino OSGi DevelopmentDomino OSGi Development
Domino OSGi Development
Paul Fiore
 
An Active and Hybrid Storage System for Data-intensive Applications
An Active and Hybrid Storage System for Data-intensive ApplicationsAn Active and Hybrid Storage System for Data-intensive Applications
An Active and Hybrid Storage System for Data-intensive Applications
Xiao Qin
 
Facebook architecture
Facebook architectureFacebook architecture
Facebook architecture
drewz lin
 
Qcon 090408233824-phpapp01
Qcon 090408233824-phpapp01Qcon 090408233824-phpapp01
Qcon 090408233824-phpapp01
jgregory1234
 
Facebook的架构
Facebook的架构Facebook的架构
Facebook的架构
yiditushe
 

Similar to Samba management Console (20)

HPC Web overview - Mobyle Workshop - September 28, 2012
HPC Web overview - Mobyle Workshop - September 28, 2012HPC Web overview - Mobyle Workshop - September 28, 2012
HPC Web overview - Mobyle Workshop - September 28, 2012
 
The Source Control Landscape
The Source Control LandscapeThe Source Control Landscape
The Source Control Landscape
 
BEdita, a development platform
BEdita, a development platformBEdita, a development platform
BEdita, a development platform
 
Domino OSGi Development
Domino OSGi DevelopmentDomino OSGi Development
Domino OSGi Development
 
Collabograte
CollabograteCollabograte
Collabograte
 
An Active and Hybrid Storage System for Data-intensive Applications
An Active and Hybrid Storage System for Data-intensive ApplicationsAn Active and Hybrid Storage System for Data-intensive Applications
An Active and Hybrid Storage System for Data-intensive Applications
 
OpenProdoc Overview
OpenProdoc OverviewOpenProdoc Overview
OpenProdoc Overview
 
Monoliths are so 2001 – What you need is Modularity
Monoliths are so 2001 – What you need is ModularityMonoliths are so 2001 – What you need is Modularity
Monoliths are so 2001 – What you need is Modularity
 
Facebook architecture
Facebook architectureFacebook architecture
Facebook architecture
 
Qcon 090408233824-phpapp01
Qcon 090408233824-phpapp01Qcon 090408233824-phpapp01
Qcon 090408233824-phpapp01
 
Facebook的架构
Facebook的架构Facebook的架构
Facebook的架构
 
Facebook architecture
Facebook architectureFacebook architecture
Facebook architecture
 
BP207 - Meet the Java Application Server You Already Own – IBM Domino
BP207 - Meet the Java Application Server You Already Own – IBM DominoBP207 - Meet the Java Application Server You Already Own – IBM Domino
BP207 - Meet the Java Application Server You Already Own – IBM Domino
 
What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5
 
Java EE 7 - Embracing the Cloud and HTML 5
Java EE 7 - Embracing the Cloud and HTML 5Java EE 7 - Embracing the Cloud and HTML 5
Java EE 7 - Embracing the Cloud and HTML 5
 
SPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint BeastSPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint Beast
 
Webinar: Applying REST to Network Management – An Implementor’s View
Webinar: Applying REST to Network Management – An Implementor’s View Webinar: Applying REST to Network Management – An Implementor’s View
Webinar: Applying REST to Network Management – An Implementor’s View
 
Angular (v2 and up) - Morning to understand - Linagora
Angular (v2 and up) - Morning to understand - LinagoraAngular (v2 and up) - Morning to understand - Linagora
Angular (v2 and up) - Morning to understand - Linagora
 
HTML5 - The Python Angle (PyCon Ireland 2010)
HTML5 - The Python Angle (PyCon Ireland 2010)HTML5 - The Python Angle (PyCon Ireland 2010)
HTML5 - The Python Angle (PyCon Ireland 2010)
 
Post-relational databases: What's wrong with web development? v3
Post-relational databases: What's wrong with web development? v3Post-relational databases: What's wrong with web development? v3
Post-relational databases: What's wrong with web development? v3
 

More from Manfred Furuholmen

Winbind as Identity Management Connector
Winbind as Identity Management ConnectorWinbind as Identity Management Connector
Winbind as Identity Management Connector
Manfred Furuholmen
 

More from Manfred Furuholmen (16)

Pisa
PisaPisa
Pisa
 
Restfs
RestfsRestfs
Restfs
 
Winbind as Identity Management Connector
Winbind as Identity Management ConnectorWinbind as Identity Management Connector
Winbind as Identity Management Connector
 
Managing OpenAFS users with OpenIDM
Managing OpenAFS users with OpenIDMManaging OpenAFS users with OpenIDM
Managing OpenAFS users with OpenIDM
 
Afs manager
Afs managerAfs manager
Afs manager
 
Pt server ng
Pt server ngPt server ng
Pt server ng
 
Best Practices to create High Load Websites
Best Practices to create High Load WebsitesBest Practices to create High Load Websites
Best Practices to create High Load Websites
 
Be lazy... make automation
Be lazy... make automationBe lazy... make automation
Be lazy... make automation
 
Disaster recovery
Disaster recoveryDisaster recovery
Disaster recovery
 
Domestic cloud
Domestic cloudDomestic cloud
Domestic cloud
 
Inexpensive storage
Inexpensive storageInexpensive storage
Inexpensive storage
 
Link Samba to Cloud Storage
Link Samba to Cloud StorageLink Samba to Cloud Storage
Link Samba to Cloud Storage
 
Samba as a gateway to OpenAFS
Samba as a gateway to OpenAFSSamba as a gateway to OpenAFS
Samba as a gateway to OpenAFS
 
Samba distributed env
Samba distributed envSamba distributed env
Samba distributed env
 
AFS introduction
AFS introductionAFS introduction
AFS introduction
 
AFS case study
AFS case studyAFS case study
AFS case study
 

Recently uploaded

“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 

Recently uploaded (20)

Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 

Samba management Console

  • 1. Samba Management Console Fabrizio Manfredi Furuholmen Beolink.org
  • 2. Agenda Beolink.org  Introduction  Overview  Goals  Architecture  Design  Components  Functions  Demo (I hope)  Interface  System Integration  Roadmap  Status  NextStep 2 16/02/2012
  • 3. Introduction: Samba usage Beolink.org • Domestic Storage NAS • All in one Appliance Small env • No i386 hw • Heterogeneous env • High performance FS XL env • Fanatic Medium • Economic env 3 16/02/2012
  • 4. Introduction: Overview Beolink.org Why middle and large companies don’t want to use Samba? I have a big What is Samba Where can I discount on MS ? buy support ? products… I use only MS My applications I’m not a products need MS programmer Samba is too Total cost of complicated … ownership Samba is only I need ADS for N…. 4 16/02/2012
  • 5. Introduction: Problems Beolink.org TCO Samba is Samba is too only for complicated Hackers Management 5 16/02/2012
  • 6. Introduction: Idea Beolink.org Samba Management Console ! 6 16/02/2012
  • 7. Introduction: Project Goals Beolink.org Simple • Graphical user interface • Handle Samba configuration • Handle Samba Status (Process, session management • Handle Samba Users/Groups • Setup Open • Process Integration/Automation with other systems • Work with samba PDC/AD • Work with windows AD Global view • Control all servers from a central point • Handle groups of servers as one • Collect information from different servers 7 16/02/2012
  • 8. Architecture: Design Beolink.org Rich Client Node Collector Scheduler Web Int Cache Node Controller Proxy Local 8 16/02/2012
  • 9. Architecture: Design Beolink.org Simple Open Web Ajax REST Embedded Server ExtJS Embedded DB Python Sqllite Global view Centralized GUI Samba Libs Collector Cmd Proxy Swig 9 16/02/2012
  • 10. Architecture: REST Beolink.org Representational State Transfer - REST The most important concept in Rest concerns the RESOURCES (source of specific information), each of which is referenced with a global identifier e.g. http://www.boeing.com/aircraft/747 REST Web Services Characteristics  Client-Server: a pull-based interaction style: consuming components pulls representations.  Stateless: each request from client to server must contain all the information necessary to understand the request, and cannot take advantage of any stored context on the server.  Cache: to improve network efficiency responses must be capable of being labeled as cacheable or non-cacheable.  Uniform interface: all resources are accessed with a generic interface (e.g., HTTP GET, POST, PUT, DELETE).  Named resources - the system is comprised of resources which are named using a URL.  Interconnected resource representations - the representations of the resources are interconnected using URLs, thereby enabling a client to progress from one state to another.  Layered components - intermediaries, such as proxy servers, cache servers, gateways, etc, can be inserted between clients and resources to support performance, security, etc. REST – is An Architectural Style, Not a Standard ! 10 16/02/2012
  • 11. Architecture: Python Beolink.org Why Python ?  see JelmerVernooijsambaxp 2008  highly scalable,  suitable for large projects as well as small ones  rapid development  portable cross-platform  embeddable easily  extensible object-oriented  elegant, stable and mature  powerful standard libs wealth of 3rd party packages 11 16/02/2012
  • 12. Architecture : extjs Beolink.org ExtJS is a cross-browser JavaScript library for building rich internet applications. High performance  Customizable UI widgets  Extensible Component model  Leader in Javascript interface  Commercial and Open Source licenses available 12 16/02/2012
  • 13. Architecture : MVC Beolink.org Model-View-Controller Independent on how retrieve informations  RPC  Command Line  JSON/REST  Cache  Python  Different output format and Extensible HTML  JSON  CSV 13 16/02/2012
  • 14. Demo : functions Beolink.org Servers Share • Global configuration • Shares • Process Control • Printers • Backup/Restore • Logs Identity Status • Users • Sessions • Groups • Files • Workstations • CPU • Queue 14 16/02/2012
  • 15. Architecture : setup Beolink.org  Install [global] port=8080  Satisfy requirments (python,samba) smb_dir=/opt/samba ..  Uncompress the tarball [users] users=admin, pippo  Configuration [servers]  Define controlled server servers=mysrv  Define samba bin dir [user_admin] password=admin  Define SMC users role=admin  Define http port [server_mysrv] ip=127.0.0.1 name=myserver admin=Administrator  Run password=domain domain=domain  Smcd –fconfiguration.file os=linux samba=3.2  Use Python smcd.py –fsmcd.conf -d  Point your browser to the server 15 16/02/2012
  • 16. Demo: GUI Beolink.org Proof of concept 16 16/02/2012
  • 17. Demo: Integration Beolink.org URL /rest/type/resource/id  Type Global, Identity, Status  Resources Server, share, user,…  Id (optional) Resource Identification  Operations Get: list elements/attributes in resource Post: create new resource Put: update resource Delete: remove resource 17 16/02/2012
  • 18. Demo: Integration II Beolink.org The Rest interface gives all the functions and information present in the web client  Retrieve information with simple url  Interconnect to monitoring system  User/group provisioning  User Administration (password, lock..) 18 16/02/2012
  • 19. Demo: Integration Beolink.org … 19 16/02/2012
  • 20. Advantages Beolink.org Suitable for large env as well as small ones Portable GPL cross- platform SMC Interface for Embeddable Automation easily process Total control Simple with simple integration dashbaord and install 20 16/02/2012
  • 21. Status Beolink.org  Requirements  > samba 3.2  > python 2.6  Registry for RW operations  More prototype than product  Status section completed  Users / groups readonly sections  Most Configuration section is ro  Centralized cache not implemented 21 16/02/2012
  • 22. Next Beolink.org Not clear yet but ..  Better integration  smcncd –> integrated in Swat  python Samba library (swig)  Cache for speed performance in large env (sqlite)  Django for smccld  Operations on all nodes, single view  Better support for different samba releases  Cluster ctdb  Upgrade software (deploy)  Adobe Air  User integration  Web Configuration 22 16/02/2012
  • 23. I look forwardto meeting you… Beolink.org XVII European AFS meeting 2010 PILSEN - CZECH REPUBLIC September 28-30 Who should attend:  Everyone interested in deploying a globally accessible file system  Everyone interested in learning more about real world usage of Kerberos authentication in single realm and federated single sign-on environments  Everyone who wants to share their knowledge and experience with other members of the AFS and Kerberos communities  Everyone who wants to find out the latest developments affecting AFS and Kerberos More Info: http://afs2010.civ.zcu.cz/ 23 16/02/2012

Editor's Notes

  1. The motivation for REST was to capture the characteristics of the Web which made the Web successful. Subsequently these characteristics are being used to guide the evolution of the Web.AdvantagesScalability of component interactions;Generality of interfaces;Independent deployment of components;Intermediary components to reduce latency, enforce security and encapsulate legacy systemsREST is not a standard. You will not see the W3C putting out a REST specification. You will not see IBM or Microsoft or Sun selling a REST developer's toolkit. Why? Because REST is just an architectural style. You can't bottle up that style. You can only understand it, and design your Web services in that style. (Analogous to the client-server architectural style. There is no client-server standard.)