March 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

March 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Install vfabric-web-server & TcServer

mkdir tcserver
cd tcserver/
wget -q -O – http://repo.vmware.com/pub/rhel6/vfabric/5.2/vfabric-5.2-suite-installer | sh

yum search vfabric

[root@cluster1 vfabric-web-server]# yum search vfabric
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.ipserverone.com
* extras: centos.ipserverone.com
* updates: centos.ipserverone.com
========================================================= N/S Matched: vfabric =========================================================
vfabric-5.2-repo.noarch : vFabric 5.2 repository configuration
vfabric-administration-server.noarch : VMware vFabric Administration Server
vfabric-agent.x86_64 : VMware vFabric Agent
vfabric-gemfire.noarch : VMware vFabric GemFire
vfabric-hyperic-agent.noarch : VMware vFabric Hyperic Agent
vfabric-hyperic-server.x86_64 : VMware vFabric Hyperic Server
vfabric-insight-agent.noarch : com.springsource.insight.dist.vfabric:agent-rpm
vfabric-insight-dashboard.noarch : com.springsource.insight.dist.vfabric:dashboard-rpm
vfabric-sqlfire.noarch : VMware vFabric SQLFire
vfabric-tc-server-standard.noarch : VMware vFabric tc Server Standard
vfabric-web-server.x86_64 : VMware vFabric Web Server
vfabric-web-server-debuginfo.x86_64 : VMware vFabric Web Server Debugging Symbols
vfabric-web-server-devel.x86_64 : VMware vFabric Web Server Libraries and Headers
vfabric-rabbitmq-java-client-bin.noarch : The RabbitMQ Java Client Library
vfabric-rabbitmq-server.x86_64 : The RabbitMQ server

Name and summary matches only, use “search all” for everything.

yum install vfabric-tc-server-standard.noarch   vfabric-web-server.x86_64  vfabric-web-server-debuginfo.x86_64 vfabric-web-server-devel.x86_64

cd /opt/vmware/

[root@cluster1 vmware]# ls
vfabric-tc-server-standard  vfabric-web-server
[root@cluster1 vmware]# ls -la
total 16
drwxr-xr-x. 4 root root    4096 Jun 23 15:59 .
drwxr-xr-x. 4 root root    4096 Jun 23 15:59 ..
drwxr-xr-x. 8 root vfabric 4096 Jun 23 19:44 vfabric-tc-server-standard
drwxr-xr-x. 4 root root    4096 Jun 23 15:59 vfabric-web-server
Lets create a tcserver instance

cd vfabric-tc-server-standard/
./tcruntime-instance.sh create -i /usr/tcserver/ –version 7.0.50.C.RELEASE –java-home /usr/java/jdk1.7.0_17/ –interactive  app1
./tcruntime-instance.sh create -i /usr/tcserver/ –version 7.0.50.C.RELEASE –java-home /usr/java/jdk1.7.0_17/ –interactive  app2

Lets create a webserver instance
mkdir /usr/webserver

[root@cluster1 vfabric-web-server]# ./newserver  –rootdir=/opt/vmware/vfabric-web-server –server=rmohan.com –serverdir=/usr/webserver/rmohan –mpm=worker    –httpdver=2.2.23.2-64
newserver.pl script – deploy a new httpd server instance
Copyright (c) 2012 VMware, Inc.  All rights reserved.
Enable SSL and create a default key [y/n]? y
Server hostname (e.g. www.example.com) [rmohan.com]?
Administrator email [webmaster@rmohan.com]?
Port for http:// traffic        [80]?
Port for https:// traffic       [443]?
Created vfhttpd system group

Created vfhttpd system user account
Creating new server instance /usr/webserver/rmohan
from the /opt/vmware/vfabric-web-server/httpd-2.2.23.2-64/_instance
template instance tree

Size of SSL RSA key, in bits [2048]?
Generating RSA private key, 2048 bit long modulus
…………………………………………………………………………………………………………+++
………………………….+++
e is 65537 (0x10001)

Created /usr/webserver/rmohan/ssl/rmohan.com.key

Choose a passphrase to encrypt the .pem backup copy of this key
writing RSA key
Enter PEM pass phrase:
Verifying – Enter PEM pass phrase:

Fill in information for this certificate.
(The Common Name (CN) below MUST match ServerName!):

You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.
—–
Country Name (2 letter code) [AU]:SG
State or Province Name (full name) [Some-State]:SG
Locality Name (eg, city) []:SG
Organization Name (eg, company) [Internet Widgits Pty Ltd]:rmohan.com
Organizational Unit Name (eg, section) []:IT
Common (Server) Name (eg, www.example.com) []:rmohan.com
Email Address []:postmaster@rmohan.com

Please enter the following ‘extra’ attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Signature ok
subject=/C=SG/ST=SG/L=SG/O=rmohan.com/OU=IT/CN=rmohan.com/emailAddress=postmaster@rmohan.com
Getting Private key

SSL files generated as /usr/webserver/rmohan/ssl/rmohan.com.*
.key – unencryped private key (perm 0600 for security).
.pem – des3 encrypted private key – back up this file!
.csr – certificate signing request – submit this to the CA.
.crt – self-signed certificate, replace with cert signed by the CA.
Be certain to record the passphrase to decrypt the .pem file.
Never transmit the .key file or cause it to be readable by others!

New server instance created in
/usr/webserver/rmohan

Modify /usr/webserver/rmohan/conf/httpd.conf
and /usr/webserver/rmohan/bin/httpdctl
to make additional adjustments.

[root@cluster1 vfabric-web-server]#

 

 

Image 1

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>