• Save
WebYaST (openSUSE conference 2010)
Upcoming SlideShare
Loading in...5
×
 

WebYaST (openSUSE conference 2010)

on

  • 211 views

 

Statistics

Views

Total Views
211
Views on SlideShare
211
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

WebYaST (openSUSE conference 2010) WebYaST (openSUSE conference 2010) Presentation Transcript

  • WebYaSTRemote Web Based System ManagementLadislav Slezáklslezak@suse.czSUSE Linux s.r.o.
  • © Novell Inc. All rights reserved2Content• YaST• WebYaST features• WebYaST demo• Implementation details, solved problems• Installation, customization• Questions
  • YaST
  • © Novell Inc. All rights reserved4YaST – Yet another Setup Tool• System management tool for Linux• System installer• Open source (GPLv2+)• Included in openSUSE, SUSE Linux Enterprise• Desktop application, administration account needed
  • © Novell Inc. All rights reserved5YaST – Installation
  • © Novell Inc. All rights reserved6YaST – Control Center
  • © Novell Inc. All rights reserved7YaST – Package Manager
  • © Novell Inc. All rights reserved8YaST – Package Manager
  • WebYaST
  • © Novell Inc. All rights reserved10WebYaST Features• Successor to YaST• Access via a web browser• Open source (GPLv2 and LGPLv2)
  • © Novell Inc. All rights reserved11WebYaST – Target Users• Beginner users• Experts (remote system monitoring)• Appliance (virtual machine) management– e.g. SUSE Lifecycle Management Server (SLMS)
  • © Novell Inc. All rights reserved12Comparing YaST and WebYaSTYaSTSSHVNCHTTPS• Remote accessWebYaST• No special SW needed,just a web browser• OS/HW independent
  • © Novell Inc. All rights reserved13Comparing YaST and WebYaST• Authorization and securityYaST WebYaST• No password sharing• Access control• Role based accessAdminPasswordUser administrator SW administrator?Linux SystemUser administrator SW administratorUserspasswordUserspasswordAccessrightsAccessrightsLinux System
  • WebYaST Demo
  • © Novell Inc. All rights reserved15WebYaST
  • © Novell Inc. All rights reserved16WebYaST
  • © Novell Inc. All rights reserved17WebYaST
  • © Novell Inc. All rights reserved18WebYaST
  • © Novell Inc. All rights reserved19WebYaST
  • WebYaST in Details
  • © Novell Inc. All rights reserved21YaST ArchitectureUI(Qt, Gtk, ncurses)Application LogicLow LevelAccessSystem Privilegeduser(root)YaST
  • © Novell Inc. All rights reserved22WebYaST Architecture – OverviewWeb browserWeb clientHTML/HTTPSXML/HTTPWeb service(REST service)SystemNon-privilegeduserNon-privilegeduserWebYaST?
  • © Novell Inc. All rights reserved23WebYaST Architecture – DetailsWeb browserWeb clientHTML/HTTPSXML/HTTPWeb service(REST service)YaST DBusservice PackageKitSystemNon-privilegeduserNon-privilegeduserPrivilegeduserDBusDirectnon-privilegedaccess...RESTServiceWebClientWebYaST
  • © Novell Inc. All rights reserved24WebYaST – Details• WebYaST uses Ruby on Rails framework• Reusing existing YaST codeUI(Qt, Gtk, ncurses)Application LogicLow LevelAccessSystemPrivilegeduser(root)DBusWrapperDBusAccess controlPolicyKitDBusserviceLegacyYaST
  • © Novell Inc. All rights reserved25REST Service• The backend which actually configures system• XML or JSON format over HTTP• Can be also used by 3rdparty software– or from commadline (via curl, wget)
  • © Novell Inc. All rights reserved26REST Service• Key components/features– Small privileged part – DBus service– Access control – using PolicyKit– Reusing existing YaST components
  • © Novell Inc. All rights reserved27Web Client• HTML output over HTTPS• Key features– XML communication with REST – Rails ActiveResource– Cross-browser compatibility – jQuery JavaScript library– Localization support – GetText
  • © Novell Inc. All rights reserved28Web Client – Customization• First boot mode – first time configuration– Set of modules started before the main application– Started just once– Example: license agreement, root password, registration• Custom icon/link in the control panel, custom label• Custom CSS (layout, colors, ...)
  • © Novell Inc. All rights reserved29WebYaST – Customization
  • © Novell Inc. All rights reserved30WebYaST – Plugins• Plugin design– Similar to legacy YaST– Basic and shared functionality in base packages– Plugins implement the actual functionality> Decrease package dependencies> Install only the needed modules (security)• Plugins make WebYaST easily extensible
  • Installing WebYaST
  • © Novell Inc. All rights reserved32WebYast – Installation• Already preinstalled– WebYaST in an appliance• Installing from RPM packages– http://download.opensuse.org/repositories/YaST:/Web/– Start yastws and yastwc system services– Open webyast-ui firewall port (optional for remote access)– Open https://localhost:54984 in your browser• Running directly from sources (GIT)– The latest version for developers– See http://en.opensuse.org/YaST/Web/Installation
  • © Novell Inc. All rights reserved33WebYaST – Development• Interested in WebYaST development?• Open source (GPLv2 and LGPLv2)• Contact:– yast-devel@opensuse.org– IRC freenode.net #yast• Bug reporting– http://bugzilla.novell.com, product: WebYaST
  • © Novell Inc. All rights reserved34Resources• WebYaST Documentation– http://en.opensuse.org/WebYaST• User and Vendor Guide– http://www.novell.com/documentation/webyast/book_webyast_use/data/cha_webyast_user_overview.html– http://www.novell.com/documentation/webyast/book_webyast_vendor/data/cha_webyast_vendor_overview.html• General Terms– REST: http://en.wikipedia.org/wiki/Representational_State_Transfer
  • Questions?