Jump to content

User:Xilaili626/sandbox

From Wikipedia, the free encyclopedia
SmartFrog
Developer(s)HP Labs in Bristol, England
Initial releaseJanuary 24th, 2004
Written inJava
PlatformLinux, Microsoft Windows XP SP2, Microsoft Windows Vista, HP-UX, Mac OS/X
TypeFramework
LicenseLGPL
Websitewww.smartfrog.org

SmartFrog (Smart Framework for Object Groups) is a Java based open-source framework for helping host large-scale applications across component-based distributed system. It is proposed to make the design, configuration, deployment and management of distributed systems more easily, correctly and automatically. SmartFrog mainly consists of three aspects: the SmartFrog Language, a runtime system, and a library of SmartFrog components that implement the SmartFrog component model[1].

History[edit]

SmartFrog was originally developed in Hewlett-Packard's European Research Labs. It has been used in HP research on infrastructure automation and service automation as well as in a variety of HP products[2]. The SmartFrog became open to public in January 2004 under LGPL licence hosted on SourceForge.As a result users and developers outside the lab can also make their contributions by using, extending the framework or reporting bugs.[3]

Features[edit]

As a Framework[edit]

SmartFrog is a software framework rather than a package or library, which means it has much wider application and could be extended to include new components or functionalities[4].

Template mechanism[edit]

In SmartFrog, every component is defined as a template. For the template mechanism, system configuration is easy to adapt to different requirements and the default configuration can be kept. Prototyping also allows keeping all the transformation and history of configurations of the system. Using SmartFrog to build large-scale distributed system, one doesn’t need to completely rewrite the whole application as SmartFrog components. Users can easily write or create simple SmartFrog components to install, uninstall, configure, starting, and stopping the system using the configuration description notation[4].

Comparison with other system[edit]

There are many software system similar to SmartFrog, but few of them uses the same model as what is used in SmartFrog. The largest category of systems is based on client-server model, where the configuration data for all clients is hold in a server and each client is designed to match the configuration data stored in the server. However, in SmartFrog, cross-client model is used so that each client is treated as an independent entity. This makes SmartFrog has the ability to coordinate cross large range of nodes, carry out autonomic actions and result in higher scalability[5].

SmartFrog Language[edit]

SmartFrog Language is a prototype-based, name-value pair language used for describing components collections and system configurations, such as which software components belong to the system, what the configuration parameters are, how the components are bound to other components in the system, and in what sequence the components work.

In the description written in SmartFrog Language, each of the ordered attributes used for achieving configurations contains a name and a value. The value could be basic values, or collection of attributes known as component description.

Component Model[edit]

In SmartFrog, components are the most important part. A system is considered to be a collection of applications, each of which are composed by a collection of components. Every component is defined as a template in a SmartFrog file, which represents the existence and default attributes of components.

Security[edit]

SmartFrog has two running modes: secure and insecure[6]. In insecure mode, there is no restrictions on client connection to SmartFrog, and the plain-text communication can be eavesdropped and intercepted. In this mode, the system is vulnerable to malign attacks.

SmartFrog needs to protect against malign deployment or other management action. In secure mode, SmartFrog uses PKI (Public Key Infrastructure) system. Only clients that are certificated by specified CA can connect to the SmartFrog Daemon. In addition, SmartFrog signs all components and descriptions with a certificate and only the certificated ones can be deployed. And all communications are encrypted in SSL protocols[7].

Related Project[edit]

  • The GridWeaver Project

The GridWeaver project is a collaboration started from 2002 among the School of Informatics of Edinburgh University, HP Laboratories, and Edinburgh Parallel Computing Centre (EPCC).This project is aimed to find solutions to the problems of automating the configuration and management of Grid computing fabrics[8].

The project compares SmartFrog and LCFG in terms of strengths and weakness, as well as investigating how these tools are utilized to solve problems.

See also[edit]

  • LCFG - an established configuration framework for managing large numbers of systems

References[edit]

  1. ^ Goldsack, P., Guijarro, J., Lain, A., Mecheneau, G., Murray, P., & Toft, P., P. (2003). "Smartfrog: Configuration and automatic ignition of distributed applications". HP OVUA.{{cite journal}}: CS1 maint: multiple names: authors list (link)
  2. ^ "SourceForge project page".
  3. ^ "HP Lab SmartFrog project page".
  4. ^ a b "SmartFrog official website".
  5. ^ Patrick Goldsack, Julio Guijarro, Steve Loughran, A. Coles, Andrew Farrell, A. Lain, Paul Murray, Peter Toft. (2009). "The SmartFrog configuration management framework". ACM SIGOPS Operating Systems Review Journal. pages 16-25, volume 4.{{cite journal}}: CS1 maint: multiple names: authors list (link)
  6. ^ "SmartFrog security".
  7. ^ "SmartFrog User Manual".
  8. ^ "GridWeaver Project".

External links[edit]