Вы находитесь на странице: 1из 6

Nirvana Configuration

1. Set up for Remote Administration


a. Start nirvana server
nohup ./nserver 1>/dev/null 2>&1 &
b. Open Console window.
c. Go to realm command folder
cd <install dir>/client/<realm_name>/bin
where client could be used as java
d. Set environment name by setting RNAME
export RNAME=nsp://localhost:9000
e. Add permissions for admin
. /naddrealmacl <user> <ip> <access>
e.g . /naddrealmacl rksidhu 10.8.16.171 full
f. Restart Nirvana server.
g. For more details visit
http://um.terracotta.org/developers/nirvana/install/remotead
ministration.html
2. Connect to Administrator interface remotely
a. Download Nirvana 7 on same user windows machine, for which
access is given. Here is the path
Server: cvs.copart.com
Path: /tmp/NirvanaInstall
Note: It has both windows & linux version
b. Install windows version to access Nirvana Enterprise Manager.
c. Select Connection tab and then Connect.
d. Enter RNAME ,
e.g. nsp://<nirvanaserver>:9000

3. Set Permission to other users


a. Select the realm node on left side in administration Interface
b. Select ACL tab and then add button.
c. Enter <userid> @<host> (use wild card * for host)

d. Auction User vb2rex should have entry vb2rex@* with full access, as
it is responsible to create channels and setting permissions for users.
4. Set up Nirvana Interface.
a. Select the realm node on left side in administration Interface
b. Select Comms tab and then Add Interface button.

d. Enter values as in above screen shot.


5. Allow c2-auction web access on Nirvana Interface.
a. To allow web traffic from auction.copart.com domain, select the interface
with port 8080 and then JavaScript tab. Enter the following and save it.
CORS allowed origin:

auction.copart.com

b. Now need to set up plug-in to allow cross-domain JavaScript


c. Select Plug-in tab, next to JavaScript tab for 8080 interface.
d. Add new plug-in with values
file path : /lib/js

Base path : /usr/local/Nirvana_7.0.11318/lib/javascript


//assuming Nirvana installed in /usr/local folder
Default name: index.html
e. For more details visit
http://um.terracotta.org/developers/nirvana/web/javascript/ser
versetup/httpdelivery.html
6. Managing logs
a. Server
path
logs: /usr/local/Nirvana_7.0.11880/server/<realm>/plugins/htdocs
b. Here is the link for details

for

http://um.terracotta.org/developers/nirvana/enterprisemanager/
mgmtinfo/loggerpanel.html
7. Health Check setup
Not real healthcheck . To make it work create healthCheck.xml file in
following path
/usr/local/Nirvana_7.0.11880/server/<realm>/plugins/htdocs/

Recommendations/Instructions:
1. Realm Name Dont use default nirvana- it should be something like
<env><nirvanaHost><seqnum>
2. First set full ACL for admin on each server.
3. Connect to each server of the cluster from admin console.
4. One Cluster should be always a set of odd numbers tested ( set of 3)
5. Create cluster using admin console.
6. Add all the servers in the cluster.
7. To create site by using 6 servers in cluster. Then make a site put first half in
one site, second half in another. Create first site as prime.
8. Then set Comms Interface for each server.
a. Nirvana Socket Protocol : nsp : 9000
b. Nirvana Secure Protocol :nsps :9443
c. Nirvana HTTP Protocol :http: 8080
d. Nirvana Secure HTTP Protocol :https :8443
9. For secure ports need security certificate is required. keystore and truststore
paths can be changed in Certificates tab. Also add private key and CA key
password then apply changes. Restart the server if not already started.
10.Create ACL on one server then set apply. It will set ACL for all servers in
cluster
11.Following entry is required for each and every Auction server IP address.

Nam
e

host

Vb2re IP
x
addre
ss

Acce
ss

Chann
els

Real
m

AdminA
P1

Manage
Datagro
ups

Pub
Datagro
ups

12.Dont remove /change ACL entry ie * to access Nirvana.


13.ACL and Interface setting can be imported as xml too.
14. To allow more client connections All nirvana servers should have following
ulimit values
a. ulimit (max user processes) - 10000
b. ulimit (open files) 250000

15.CORS entry: Always copy existing values in notepad and append new values
Then paste it . Dont directly change in placeholder, sometimes refreshes and
get saved the old values.
16. Any settings change in Interface like CORS it restarts the http server, better
do it after sale.

Вам также может понравиться