Monday, 4 April 2016

WebSphere Application Server Features


WebSphere Application Server is a stage on which Java-based business applications run. WebSphere Application Server Is a usage of the Java 2 Enterprise Edition(J2ee) Specification.

WebSphere Application Server gives administrations (database availability, threading, workload administration, et cetera) that can be utilized by the business applications. The fundamental component is the application server, a java process that embodies numerous administrations, including the holders, where business rationale executes. On the off chance that you are acquainted with J2EE, you will perceive the Web Container and the EJB compartment. The Web holder executes Servlets and JavaServer Pages(JSPs), both of which are java classes that create markup to be seen by a Web program. Activity into and out of the Web Container goes through the inserted HTTP Server. While Servlets and JSPs can act freely, they most usually make calls to Enterprise Java Beans (EJBs) to executes business rationale or access information. EJBs, which keep running in the EJB compartment, are effectively reusable java classes. They most generally speak with a social database or other outer wellspring of utilization information, either giving back that information to the Web compartment or rolling out improvements to the information for the benefit of the servlet or JSP.

The JMS informing motor is incorporated with the application server. This is an unadulterated java informing motor. JMS destinations, known as lines and themes give nonconcurrent informing administrations to the code running inside the compartments, JMS will be secured in more profundity later in this course.

As you will find in more detail later on, the web administrations motor empowers application parts to be uncovered as web administrations, which can be gotten to utilizing Simple Object Access Protocol (SOAP).

A few different administrations keep running inside of the application server, including the dynamic store, information replication, security, and others. These will be secured later in this course.

There are additionally some critical segments outside of the application server process.

WebSphere Application Server likewise gives a module to HTTP servers that figures out what HTTP activity is planned to be taken care of by WebSphere, and courses the solicitations to the proper server. The module is additionally a basic player in workload administration of HTTP solicitations, as it can circulate the heap to numerous application server, and also guide activity far from inaccessible servers. It too streets its setup from an extraordinary XML record.

One of the servervices gave inside of the application server is the administrator administration. This administration takes into consideration the capacity to design the application server. This documents vital for arrangement are put away outside of the real application server in an arrangement of XML design records. There is an application that keeps running inside of the Web application-the administrator console.

WebSphere Architecture Administration

There are two principle devices used to control WebSphere Application Server:1) The Administrative console, and 2) wsadmin charge line apparatus.

The Server's Configuration is put away in an arrangement of XML documents, regularly alluded to as the design store. These documents characterize the server itself, and in addition assets and administrations that it gives. One of the administrations gave inside of the application server is the administrator administration. This administration takes into consideration the capacity to design the application server. The records essential for design are put away outside of the genuine application server in an arrangement of XML setup documents. There is an application that keeps running inside of the Web holder that gives client the capacity to control the application server through a Web application-the administrator console. Here you see the correspondence from the program the distance back to the XML setup documents. Wsadmin can be utilized to direct the application server in two ways. 1) Via SOAP by corresponding with the inserted HTTP server. 2) By utilizing RMI (the default) to speak specifically with the administrator administration.

One of the administrations gave inside of the application server is the administrator administration. This administration takes into account the capacity to design the application server. The records essential for arrangement are put away outside of the real application server in an arrangement of XML design documents. There is an application that keeps running inside of the Web holder that gives clients the capacity to oversee the application server by means of a Web application-the administrator console.

WebSphere profiles review

Profiles are the way that you are permitted to run more than one application server on a solitary establishment of WebSphere item records.

Profiles are sets of records that speak to a WebSphere Application Server arrangement. WebSphere Application Server documents are part into two classes. 1) Product records Set of shared read-just static documents or item doubles shared by any occurrences of the WebSphere Application Server item. 2) Configuration records (profiles) Set of client adaptable information documents. Documents include: WebSphere setup, introduced applications, asset connectors, properties, log records, et cetera. Every profile utilizes the same item documents, Simpler than numerous WebSphere establishments, Less plate space, Simplifies utilization of item redesigns.

Under the WebSphere establishment index

<was_root></was_root>

there are subdirectories for every profile. In the case above there are two application servers running that are each design by the documents that exist inside of their own profile registry.

System arrangement runtime stream

The primary subject with system sending is conveyed applications. While the "stream" of an application continues as before, there are noteworthy augmentations to runtime of an application. Note the "Heap balancer" this takes into account various HTTP servers, clients indicate there programs the heap balancer and their solicitation will be work burden figured out how to a HTTP Server. When the solicitation hits one of these HTTP Servers, the HTTP Server module will load adjust the solicitation between the application servers that it is designed to serve. When the solicitation enters the application server, the stream is indistinguishable to how it was in Express and Base. The Java customers solicitations to EJBs can likewise be work burden oversaw so that the solicitations don't all hit one application server.

System Deployment Administration Flow.

Each oversaw process, hub operators, arrangement chief begins with it's own arrangement of design records. Arrangement supervisor contains the MASTER design and application documents. Any progressions made at hub specialists or server level are nearby and will be overridden by the MASTER arrangement at the following synchronization. The managerial console and wsadmin are still the two ways that the earth is regulated. In any case, observe that these devices now converse with the sending chief and NOT to the application servers straightforwardly. The correspondence of these summons streams from the devices to the arrangement chief to the hub specialists, to the application servers. This permits organization of various hubs (each perhaps containing different application servers) from a solitary point of convergence (the arrangement director).

There is ONE fundamental vault for the setup records inside of a cell, and those are connected with the organization supervisor. All overhauls to the design records ought to experience the organization chief. You will find in a minute how this procedure functions. You ought to be extremely watchful in associating with an application server specifically with wsadmin or the authoritative console as any progressions that are made to the setup records are just makeshift, they will be overwritten with the design documents from the MASTER records.

Web Server custom plugin-cfg.xml

Web server definitions are made to permit the mapping of J2EE venture applications to particular Web servers. Should be possible through the authoritative console. Then again utilize the script created amid the establishment of the module which can robotize the mapping of the considerable number of utilizations to the Web server design

<web_server_name>.bat in <plugin_root></plugin_root></web_server_name>

container. Mapping the applications to particular Web Servers will bring about the custom plugin-cfg.xml records for just those Web servers to incorporate the data for those applications. Web servers target particular applications running in a cell. Naturally produced by the arrangement chief. Pretty much as modules for a ventures application should be mapped to one or more application servers, they additionally should be mapped to one or more Web servers.

J2EE Packaging

A J2EE application is bundled in an Enterprise Archive, a document with a.EAR augmentation. The application has an arrangement descriptor, appeared here as DD, permitting design to a particular holder's surroundings when conveyed. The application can incorporate one or more modules. J2EE parts are assembled in modules, and every module has its own particular arrangement descriptor. EJB modules gathering related EJBs in a solitary module, and are bundled in Java Archive (JAR) records. Note that there is just arrangement descriptor for the majority of the EJBs in the module. Web modules bunch servlet class documents, JSPs, HTML records and pictures. They are bundled in Web Application Archive (WAR) documents. Application customer modules are bundled in Java Archive (JAR) documents. Asset Adapters may be bundled to the application server or inside of an application .EAR document.

Collecting an endeavor application

At the point when working with a workspace gave over by improvement, no get together is required (officially done naturally by device). On the off chance that your designers use IBM apparatuses you may get a current, working workspace organizer for conclusive arrangement and organization. For this situation the individual WAR and JAR records are not required as they as of now exist as a major aspect of the workspace. At the point when working with workspaces everything you need to do when beginning AST, is point to the root registry of the workspace.

http://arnserver.com/

Installing Asterisk 11 + FreePBX on CentOS 6.5



Step by step instructions for installing software PBX Asterisk 11.x and control panel FreePBX on CentOS 6.5
Conditions:
CentOS installed and has access to the Internet.
Contents

Before install:

1.  # yum -y update
  1. Turn off SELinux:
# vi /etc/selinux/config
3.  # reboot
  1. Additional repos:
5.  # rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 
6.  # rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
7.  # yum -y install mc make gcc kernel-devel gcc-c++ ncurses-devel httpd mysql-server mysql mysql-devel php iksemel iksemel-devel crypto-utils openssl-devel gmime gmime-devel spandsp spandsp-devel openldap openldap-devel popt-devel libresample libresample-devel speex speex-devel libcurl-devel speex-tools svn sqlite-devel mod_ssl php-mysql php-pear-MDB2-Driver-mysqli php-mbstring php-gd php-mcrypt libxml2-devel lame bison audiofile-devel sox php-pear-DB php-posix
  1.  
9.  # cd /root
10.# wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz 
11.# tar -zxf asterisk-11-current.tar.gz
12.# wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz
13.# tar -zxf libpri-1.4-current.tar.gzwget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
14.# tar -zxf dahdi-linux-complete-current.tar.gz

Installing DAHDI, libPRI and Asterisk

1.  # cd dahdi-linux-complete-2.9.0+2.9.0.1
2.  #make all
3.  #make install
4.  #make config
5.  # cd libpri-1.4.14
6.  # make
7.  # make install
  1.  
9.  # cd asterisk-11.7.0
10.# ./configure --prefix=/usr --exec-prefix=/usr --with-crypto --with-dahdi --with-iconv -with-libcurl --with-gmime --with-iksemel --with-mysqlclient --disable-xmldoc --with-pri --with-spandsp --with-ldap --with-libcurl --with-popt --with-resample --with-speex
11.# make menuselect
12.# contrib/scripts/get_mp3_source.sh
13.# make
14.# make install
15.# make samples
  1.  
17.# ln -s /usr/lib/libasteriskssl.so.1 /usr/lib64/libasteriskssl.so.1
18.# ln -s /usr/lib/libpri.so.1.4 /usr/lib64/libpri.so.1.4
19.# cat contrib/init.d/rc.redhat.asterisk | sed 's/__ASTERISK_SBIN_DIR__/\/usr\/sbin/' > /etc/init.d/asterisk
20.# chkconfig --add asterisk
21.# cp -rf configs/* /etc/asterisk/
  1.  
23.# service dahdi start
24.# service asterisk start
  1.  

Installing FreePBX

1.   # wget “http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.5.5/phpMyAdmin-3.5.5-all-languages.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fphpmyadmin%2Ffiles%2FphpMyAdmin%2F3.5.5%2FphpMyAdmin-3.5.5-all-languages.tar.gz%2Fdownload&ts=1358931580&use_mirror=ignum”
2.  # tar -zxf phpMyAdmin-3.5.5-all-languages.tar.gz -C /var/www/
  1. in /etc/hosts:
4.  [IP PBX] pbx-mysql.example.com 
[IP PBX] pbx.example.com
  1. to  /etc/httpd/httpd.conf:
NameVirtualHost *:443
  1. to /etc/httpd/conf.d/ssl.conf:
7.  DocumentRoot "/var/www/phpmyadmin"
8.  ServerName pbx-mysql.example.com:443
9.  ErrorLog logs/ssl_phpmyadmin_error_log
10.TransferLog logs/ssl_phpmyadmin_access_log
11.LogLevel warn
12.SSLEngine on
13. 
14.SSLProtocol all -SSLv2
15.SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
16.SSLCertificateFile /etc/pki/tls/certs/localhost.crt
17.SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
18. 
19.SSLOptions +StdEnvVars
20. 
21.<Directory "/var/www/cgi-bin">
22.SSLOptions +StdEnvVars
23. 
24.SetEnvIf User-Agent ".*MSIE.*" \
25.nokeepalive ssl-unclean-shutdown \
26.downgrade-1.0 force-response-1.0
27. 
28.CustomLog logs/ssl_phpmyadmin_request_log \
29."%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
30. 
31.<Directory "/var/www/phpmyadmin">
32.Order allow,deny
33.Allow from [Admin IP]
34. 
35.DocumentRoot "/var/www/html"
36.ServerName pbx.example.com:443
37.ErrorLog logs/ssl_html_error_log
38.TransferLog logs/ssl_html_access_log
39.LogLevel warn
40.SSLEngine on
41. 
42.SSLProtocol all -SSLv2
43.SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
44.SSLCertificateFile /etc/pki/tls/certs/localhost.crt
45.SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
46. 
47.SSLOptions +StdEnvVars
48. 
49.<Directory "/var/www/cgi-bin">
50.SSLOptions +StdEnvVars
51. 
52.SetEnvIf User-Agent ".*MSIE.*" \
53.nokeepalive ssl-unclean-shutdown \
54.downgrade-1.0 force-response-1.0
55. 
56.CustomLog logs/ssl_html_request_log \
57."%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
58. 
59.<Directory "/var/www/html">
60.Order allow,deny
61.Allow from [Admin IP]
62.# cd /var/www/
63.# ln -s phpMyAdmin-3.5.5-all-languages phpmyadmin
64.# service httpd restart
65.# chkconfig --levels 345 mysqld on
66.# chkconfig --levels 345 httpd on
67.# service mysqld start
68.# /usr/bin/mysql_secure_installation
69.  Change root password for MySQL
70.# cd /root
71.# wget http://mirror.freepbx.org/freepbx-2.11.0.tar.gz
72.# tar -zxf freepbx-2.11.0.tar.gz -C /usr/src 
73.# cd /usr/src/freepbx-2.11.0
  1. Edit php.ini:
75.# vi /etc/php.ini (or /etc/php4/apache2/php.ini)
76.upload_max_filesize=20M
77.# mysqladmin create asteriskcdrdb -p
78.# mysql -p asteriskcdrdb < SQL/cdr_mysql_table.sql
79.# mysqladmin create asterisk -p
80.# mysql -p asterisk < SQL/newinstall.sql 
81.# mysql -p 
82.mysql> GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY '[your password]';
mysql> GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY '[your password]';
mysql> flush privileges;
83.# groupadd asterisk 
84.# useradd -c "asterisk PBX" -d /var/lib/asterisk -s /sbin/nologin -g asterisk asterisk
  1. Edit:
86.# vi /etc/httpd/conf/httpd.conf (or /etc/apache2/apache2.conf):
87.User asterisk
88.Group asterisk
89.# chown asterisk /var/lib/php/session
90.# ./install_amp
  1. In the database named asterisk for table named freepbx_settings change password for asterisk manager:
92.# mysql -p
mysql> UPDATE `asterisk`.`freepbx_settings` SET `value` = '[your password 2]' WHERE `freepbx_settings`.`keyword` = 'AMPMGRPASS';
93.# chown asterisk /etc/modprobe.d/dahdi.conf
94.# rm /etc/asterisk/ccss.conf /etc/asterisk/logger.conf /etc/asterisk/iax.conf /etc/asterisk/extensions.conf /etc/asterisk/sip_notify.conf /etc/asterisk/features.conf /etc/asterisk/sip.conf
  1. Change something in freepbx admin panel, click Apply (default username/password – admin/admin)
  2. Change default password

Additional installation:

1.   # yum -y install bind bind-utils mailx ntp
2.  # chkconfig --add named
3.  # chkconfig --add ntpdate
4.  # service ntpdate start
5.  # service named start
6.  # echo “nameserver 127.0.0.1” > /etc/resolv.conf
7.  # echo “nameserver 8.8.8.8” >> /etc/resolv.conf
8.  # yum -y install xinetd tftp-server 
9.  # vi /etc/xinetd.d/tftp
10.-s /tftp -c
11.# mkdir /tftp && 
12.# chown nobody /tftp 
13.# vi /etc/sysconfig/iptables 
14.# service xinetd start
  1.  
  2. Add to iptables config:
 -A INPUT -m udp -p udp -d [IP PBX]/32 --dport 5060 -m hashlimit --hashlimit 10/m --hashlimit-burst 10 --hashlimit-mode srcip,dstip,dstport --hashlimit-htable-expire 180 --hashlimit-name SIP -j ACCEPT

How to start a VOIP Business


*Rates shown do not include E-911 charges or government mandated taxes. Providers offering unlimited calling plans may have restrictions. Read providers terms and conditions carefully before buying.
The first thing to do is decide what part of VOIP marketplace you want to serve. Here are some possibilities:
  • VOIP Provider services
  • VOIP consulting
  • Independent Sales/Service Agent for existing VOIP service providers
  • Value Added services with VoIP
  • etc.

Some general suggestions:
  • Pick an area that plays to your strengths. For example, if your strength is sales and marketing, pick an area where you can leverage those abilities
  • Learn all you can about the maketplace
  • Attend industry tradeshows
  • Read industry magazines, blogs, forums, etc
  • Read books
  • Do market research - talk to your potential customers
  • Ask questions
  • Test the waters — to the extent possible try before you buy, test the waters before making large commitments of time or money

Value Added services
If you have experience with VoIP or already in VoIP business, you can get benifit / new customers by introducesing some value added services on VoIP. Few value added services are mentioned in following, Within each service there are many choices.
  • PBX sales and service
    • Hosted PBX
    • Virtual Numbers
    • Hosted IVR / Auto attendents
    • etc

  • Message broadcasting / Call Center Solutions

  • Prepaid Cards
    • Retail prepaid cards from existing wholesale providers
    • Start your own brand of prepaid cards using services from existing wholesale providers
    • Start a new prepaid card provider company
    • Create new software package for prepaid card services
    • Create a Free Phone Booth
    • etc.