Wso2 product release webinar wso2 carbon 4.3

30
WSO2 Product Release webinar - WSO2 Carbon 4.3 Kasun Gajasinghe Senior Software Engineer, WSO2

Transcript of Wso2 product release webinar wso2 carbon 4.3

Page 1: Wso2 product release webinar   wso2 carbon 4.3

WSO2 Product Release webinar - WSO2 Carbon 4.3

Kasun GajasingheSenior Software Engineer, WSO2

Page 2: Wso2 product release webinar   wso2 carbon 4.3

**

About WSO2๏ Global enterprise, founded in 2005 by

acknowledged leaders in XML, web services technologies, standards and open source

๏ Provides only open source platform-as-a-service for private, public and hybrid cloud deployments

๏ All WSO2 products are 100% open source and released under the Apache License Version 2.0.

๏ Is an Active Member of OASIS, Cloud Security Alliance, OSGi Alliance, AMQP Working Group, OpenID Foundation and W3C.

๏ Driven by Innovation

๏ Launched first open source API Management solution in 2012

๏ Launched App Factory in 2Q 2013

๏ Launched Enterprise Store and first open source Mobile solution in 4Q 2013

Page 3: Wso2 product release webinar   wso2 carbon 4.3

WSO2 Carbon Platform

Page 4: Wso2 product release webinar   wso2 carbon 4.3

What is Carbon?o Enterprise middleware platform.

o Modular/Componentized platform that can adapt to any enterprise architecture.

o Runs on premise or in the cloud.

o Based on OSGi technology.

o Built using the module system and services platform concepts in OSGi.

o 100% open source and open standards based.

Page 5: Wso2 product release webinar   wso2 carbon 4.3

WSO2 Carbon: Component Architecture

Page 6: Wso2 product release webinar   wso2 carbon 4.3

WSO2 Carbon Kernel

Page 7: Wso2 product release webinar   wso2 carbon 4.3

Features in Carbon

Page 8: Wso2 product release webinar   wso2 carbon 4.3

WSO2 Carbon: Distribution Artifacts

Page 9: Wso2 product release webinar   wso2 carbon 4.3

WSO2 Carbon based productso Product is a distribution artifact which combines Carbon kernel and a set of logically related

features.

o Following is a list of products offered by WSO2.

WSO2 Carbon based products

WSO2 Carbon Kernel

Set of features

Page 10: Wso2 product release webinar   wso2 carbon 4.3

WSO2 Carbon 4.3o Next major release after the Carbon 4.2

o New VCS and Continuous Integration

o Feature rich downstream products planned including AS 6.0, ESB 4.9, and MB 3.0.

Page 12: Wso2 product release webinar   wso2 carbon 4.3

WSO2 Carbon 4.3 - Continuous Integrationo We have streamlined the build process with Jenkins.

o Do snapshot download

o Do check build status

https://wso2.org/jenkins/

Page 13: Wso2 product release webinar   wso2 carbon 4.3

WSO2 Carbon 4.3 - New Featureso Carbon Clustering stabilization improvements

o SVN-based Deployment Synchronizer improvements

o Pluggable log providers for LogViewer UI

o Tenant deletion support

o Using Java Security Manager with Carbon multi-tenancy

o CApp and artifact ghost deployment improvements

o Global cluster cache invalidation on remote Greg mounts

Page 14: Wso2 product release webinar   wso2 carbon 4.3

Carbon 4.3 - Carbon Clustering improvements o Distributed caching and clustering with Enterprise-grade software, Hazelcast.

o Introduced with Carbon 4.2

o Upgraded to Hazelcast version - 3.2.6

o Stabilization

“... the WSO2 Carbon core adds new distributed caching and clustering implementations that are based on Hazelcast... Hazelcast combines distributed data structures, distributed caching capabilities, elasticity, memcache support, and integration with Spring and Hibernate. These capabilities bring several benefits to enterprise deployments, including the ability to handle thousands of operations per second, prevent the loss of data after crashes, and dynamically scale as new servers are added.“ - Hazelcast

Source: http://hazelcast.org/use-cases/application-scaling/

Page 15: Wso2 product release webinar   wso2 carbon 4.3

Carbon 4.3 - Deployment Synchronizero Vastly improved SVN-based Deployment Synchronizer support

o Now supports Subversion 1.7 and 1.8 as the working copy format

o Stabilization, and improved recovery from intermittent failures

Page 16: Wso2 product release webinar   wso2 carbon 4.3

Artifact/Deployment Synchronization

Page 17: Wso2 product release webinar   wso2 carbon 4.3

Carbon 4.3 - Pluggable Log Providers for LogViewer UIo The log view ui -

Page 18: Wso2 product release webinar   wso2 carbon 4.3

Carbon 4.3 - Pluggable Log Providers for LogViewer UIo View logs from several log storages

o File system / In memory log appender

o Cassandra as a log storage

o An SQL Server as a log storage

o A Centralized Log Viewer across the cluster

o Download archived logs

Page 19: Wso2 product release webinar   wso2 carbon 4.3

Add a new Log Providero To view logs from a custom log storage, say, Cassandra.

o Implement the interface org.wso2.carbon.logging.service.provider.api.

LogProvider

o Register it as a log provider via $CARBON_HOME/repository/conf/etc/logging-

config.xml

<loggingConfig xmlns="http://wso2.org/projects/carbon/carbon.xml"> <!-- Default log provider --> <logProviderConfig class="org.wso2.carbon.logging.service.provider.InMemoryLogProvider"> <properties/> </logProviderConfig>

<!-- Default log file provider --> <logFileProviderConfig class="org.wso2.carbon.logging.service.provider.FileLogProvider"> <properties/> </logFileProviderConfig></loggingConfig>

Page 20: Wso2 product release webinar   wso2 carbon 4.3

Add a new Log File Providero To download archived logs from a custom log storage, say, Cassandra.

o Implement the interface org.wso2.carbon.logging.service.provider.api.

LogFileProvider

o Register it as a log provider via $CARBON_HOME/repository/conf/etc/logging-

config.xml

<loggingConfig xmlns="http://wso2.org/projects/carbon/carbon.xml"> <!-- Default log provider --> <logProviderConfig class="org.wso2.carbon.logging.service.provider.InMemoryLogProvider"> <properties/> </logProviderConfig>

<!-- Default log file provider --> <logFileProviderConfig class="org.wso2.carbon.logging.service.provider.FileLogProvider"> <properties/> </logFileProviderConfig></loggingConfig>

Page 21: Wso2 product release webinar   wso2 carbon 4.3

Carbon 4.3 - Tenant Deletion Supporto Previously, WSO2 Carbon only supported tenant ‘Deactivation’

o We have added tenant deletion support as well in Carbon 4.3

Page 22: Wso2 product release webinar   wso2 carbon 4.3

Carbon 4.3 - Java Security Manager with Carbono Why use JSM with Carbon?

o How to get it to work?

o Sign all the jars inside following folders with jarsigner

o $CARBON_HOME/repository/components/plugins/

o $CARBON_HOME/repository/components/lib/

o $CARBON_HOME/lib/

o Add the following system properties to bin/wso2server.sh

-Djava.security.manager=org.wso2.carbon.bootstrap.CarbonSecurityManager \

-Djava.security.policy=$CARBON_HOME/repository/conf/sec.policy \

-Drestricted.packages=sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,org.wso2.carbon. \

-Ddenied.system.properties=javax.net.ssl.trustStore,javax.net.ssl.trustStorePassword,denied.system.properties \

o Place the security policy file at repository/conf/sec.policy

Page 23: Wso2 product release webinar   wso2 carbon 4.3

Java Security Manager with Carbon - Sample Security Policy I

Page 24: Wso2 product release webinar   wso2 carbon 4.3

Java Security Manager with Carbon - Sample Security Policy II

Page 25: Wso2 product release webinar   wso2 carbon 4.3

Java Security Manager with Carbon - Sample Security Policy III

Page 26: Wso2 product release webinar   wso2 carbon 4.3

Java Security Manager with Carbon - Sample Security Policy IV

Page 27: Wso2 product release webinar   wso2 carbon 4.3

Carbon 4.3 - CApp and Ghost Deploymento Support Ghost Deployment for artifacts that come from CApps.

Page 28: Wso2 product release webinar   wso2 carbon 4.3

Key Features of Carbono User Manager

o Registry/Repository

o Caching

o Clustering

o Task, Coordination

o Management & Worker Node Separation

o Transports

o Deployment Engine

o Ghost Deployer

o Artifact Synchronization

o UI Framework

o Carbon API

Page 29: Wso2 product release webinar   wso2 carbon 4.3

Q&A?

Page 30: Wso2 product release webinar   wso2 carbon 4.3

Contact us !