Samba Management ConsoleFabrizio Manfredi Furuholmen                               Beolink.org
Agenda                            Beolink.org            Introduction                Overview                Goals     ...
Introduction: Samba usage                    Beolink.org                              • Domestic Storage NAS              ...
Introduction: Overview                               Beolink.org Why middle and large companies don’t want to use Samba?  ...
Introduction: Problems             Beolink.org                     TCO      Samba is                  Samba is        too ...
Introduction: Idea                       Beolink.org            Samba Management Console !                        6       ...
Introduction: Project Goals                                Beolink.org            Simple            •   Graphical user int...
Architecture: Design       Beolink.orgRich ClientNode Collector   Scheduler   Web Int   CacheNode Controller   Proxy   Loc...
Architecture: Design              Beolink.orgSimple                     Open   Web Ajax                             REST  ...
Architecture: REST                                                               Beolink.orgRepresentational State Transfe...
Architecture: Python                            Beolink.orgWhy Python ?      see JelmerVernooijsambaxp 2008      highly ...
Architecture : extjs                    Beolink.org      ExtJS is a cross-browser JavaScript library       for building ri...
Architecture : MVC                   Beolink.orgModel-View-ControllerIndependent on how retrieveinformations     RPC    ...
Demo : functions                                         Beolink.org          Servers                         Share       ...
Architecture : setup                                      Beolink.org Install                                 [global]   ...
Demo: GUI                      Beolink.org            Proof of concept                   16                               ...
Demo: Integration                                  Beolink.orgURL /rest/type/resource/id   Type    Global, Identity, Stat...
Demo: Integration II                        Beolink.org   The Rest interface gives all the functions and   information pre...
Demo: Integration            Beolink.org                    …                        19                                16/...
Advantages                                                                      Beolink.org                               ...
Status                                 Beolink.org Requirements   > samba 3.2   > python 2.6   Registry for RW operati...
Next                                         Beolink.orgNot clear yet but ..    Better integration        smcncd –> inte...
I look forwardto meeting you…                             Beolink.org                XVII European AFS meeting 2010       ...
Thank youmanfred@freemails.chmanfred@zeropiu.itwww.beolink.org/smc                       Beolink.org
Upcoming SlideShare
Loading in …5
×

Samba management Console

1,272 views
1,139 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,272
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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.)
  • Samba management Console

    1. 1. Samba Management ConsoleFabrizio Manfredi Furuholmen Beolink.org
    2. 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. 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. 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. 5. Introduction: Problems Beolink.org TCO Samba is Samba is too only for complicated Hackers Management 5 16/02/2012
    6. 6. Introduction: Idea Beolink.org Samba Management Console ! 6 16/02/2012
    7. 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. 8. Architecture: Design Beolink.orgRich ClientNode Collector Scheduler Web Int CacheNode Controller Proxy Local 8 16/02/2012
    9. 9. Architecture: Design Beolink.orgSimple Open Web Ajax REST Embedded Server ExtJS Embedded DB Python SqlliteGlobal view Centralized GUI Samba Libs Collector Cmd Proxy Swig 9 16/02/2012
    10. 10. Architecture: REST Beolink.orgRepresentational 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. 11. Architecture: Python Beolink.orgWhy 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. 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 Sourcelicenses available 12 16/02/2012
    13. 13. Architecture : MVC Beolink.orgModel-View-ControllerIndependent on how retrieveinformations  RPC  Command Line  JSON/REST  Cache  Python Different output format andExtensible HTML  JSON  CSV 13 16/02/2012
    14. 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. 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. 16. Demo: GUI Beolink.org Proof of concept 16 16/02/2012
    17. 17. Demo: Integration Beolink.orgURL /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. 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. 19. Demo: Integration Beolink.org … 19 16/02/2012
    20. 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. 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. 22. Next Beolink.orgNot 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. 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
    24. 24. Thank youmanfred@freemails.chmanfred@zeropiu.itwww.beolink.org/smc Beolink.org

    ×