Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Avaya Apps Server w/VM Pro and using ContactStore 6

Status
Not open for further replies.

DBrewsky

Vendor
Jan 23, 2006
1,381
0
0
US
Goal:

Install Avaya Apps Server with VM Pro and allow Avaya ContactStore to work.


Requirements:

Avaya Apps Server installed on a dedicated server
Avaya ContactStore installed on a Windows based server
WinSCP - Or any FTP Client to access the Linux Server


Download the following Unzip and place the files to the Linux Server at /var/cache/avaya/apps


Open a web page and navigate to the Apps Server Web Control Portal ( address>:7070
default username/password: webcontrol/web

- Click on UPDATES
In the Services panel, install the following applications in the order listed below:
zlib-devel
xinted
libsmbclient
samba-common
libjpeg
libjpeg-devel
libpng
libtiff
libtiff-devel
cups-lib
perl-convert-ANSI
pkgconfig
libpng-devel
samba
samba-swat

Once installed complete the following:
- Using WinSCP access the linux server
- navigate to /opt/vmpro. Right click on VRL and select PROPERTIES. Change the permissions octal to 0777 (this give full control for all users).
- navigate to /etc/samba and open samba.conf to make the following changes (note, WinSCP has a built-in editor that shows you which line you are editing)
- at the bottom of the file, add:
[Share]
path = /opt/vmpro/VRL # shared directory
writable = yes # OK to write
guest ok = yes # guest OK
guest only = yes # guest only
create mode = 0777 # fully accessed
directory mode = 0777 # fully accessed
share modes = yes # warn if some people access to a file

- at Line 102: change:
security = share

- at line 81: uncomment and add IP address you allow
hosts allow = 127. 10.0.0.

- line 75: change:
workgroup = WORKGROUP

- line 58: add the lines
unix charset = UTF-8
dos charset = CP932

Save the file.

- Using PUTTY, access a command line on the linux server. Login using the root user account.
- At the prompt, type:
- /etc/rc.d/init.d/smb start (this will start the samba service)
- chkconfig smb on (this will allow samba to start on startup)


At this point you are done with the Linux server.

Now, on the Avaya ContactStore server we need to map a networked drive.
(note: this step may not be necessary, but it does allow you access to the shared drive to view the files to insure it's all working OK)

- Select any new drive letter.
In the network address, type: \\<ip address of linux server>\share
Insure -Reconnect at startup is checked, then click OK.
At this point, you should be able to see the linux shared folder

- 32-Bit Operating Systems:

- Open REGEDIT and add the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Network Alchemy\Voicemail\Directories]
"VRLDir"="\\192.168.16.33\share"


- 64-Bit Operating Systems: We need to open a special registry editor.
Navigate to and run C:\Windows\SysWOW64\regedit.exe and add the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Network Alchemy\Voicemail\Directories]
"VRLDir"="\\192.168.16.33\share"

- Open a browser and navigate to the ContactStore Web Portal.
Under Server Settings, change the Call Storage Path to:
\\<ip address of linux server>\share

- Restart the IP Office ContactStore service


You should be done.


Big thanks to tlpeter and WestCon Support for the help.

--DB

Remote Support Specialist
 
My own machine (virtual and not very stable) was stuck.
This is the error i saw:

Code:
Traceback (most recent call last):
  File "/opt/webcontrol/web/wsgiserver/__init__.py", line 1174, in communicate
  File "/opt/webcontrol/web/wsgiserver/__init__.py", line 544, in respond
  File "/opt/webcontrol/web/wsgiserver/__init__.py", line 556, in _respond
  File "/opt/webcontrol/web/httpserver.py", line 237, in __call__
  File "/opt/webcontrol/web/httpserver.py", line 212, in __call__
  File "/opt/webcontrol/web/application.py", line 276, in wsgi
  File "/opt/webcontrol/web/application.py", line 375, in load
  File "/opt/webcontrol/web/utils.py", line 326, in safeunicode
LookupError: unknown encoding: utf-8

I will give it a reboot and see how long it will run :)



When you pay peanuts, you get monkeys!

honey, i fried the IP Office !!!

Sarcasm, it's only one of the services I offer.
 
can't figure out what I did wrong in my smb.conf, but once I copied and edited your smb.conf DBrewsky, it worked fine. I'm guessing my copy and paste from your initial post added an extra space somewhere.

Thanks very much and a great post!
* for you!
 
Maybe something to think about are the remarks (comments after the #) as I don't have them in my smb.conf

Other than that, it's all the same.

[Share]
path = /opt/vmpro/VRL # shared directory
writable = yes # OK to write
guest ok = yes # guest OK
guest only = yes # guest only
create mode = 0777 # fully accessed
directory mode = 0777 # fully accessed
share modes = yes # warn if some people access to a file

--DB

Remote Support Specialist
 
Another thing to examine:

hosts allow = 127. 10.0.0.

Syntax is:

hosts allow = network1 network2

So with that, the networks 127. and 10.0.0. allow 127.x.x.x and 10.0.0.x

Insure the . are at the end of each network authorized. My smb.conf file shows: hosts allow = 127. 192.168.16.

192.168.16.x network is my local LAN segment.

--DB

Remote Support Specialist
 
I have added a install file in the zipfile and a readme file how to use it.

This way you will get it done very easy and quick.

It is not supported by Avaya so do it at own risk!!!


When you pay peanuts, you get monkeys!

honey, i fried the IP Office !!!

Sarcasm, it's only one of the services I offer.
 
for those who are customising the avaya distor I have foud the following usefull

isomaster for editing the iso image directly
it is free on linux (& included in the ubuntu & frdora reopositorys) but costs on windoze

it enables the adding & removing of files as well as the editing of script files

if you edit scripts/install.sh on the DVD & comment out line 160
Code:
rm -rf /etc/yum.repos.d/CentOS-*
by instering a # at the begining of the line the CentOS repositorys will not be removed.
this means that additional software can easily be installed & upgraded via Yum
is yum install samba-swat will install swat & all of the samba dependencies


I do not Have A.D.D. im just easily, Hey look a Squirrel!
 
A little add on.
For using yum the rpm must be in the folder /var/lib/yum
Otherwise yum can;t find it.


When you pay peanuts, you get monkeys!

honey, i fried the IP Office !!!

Sarcasm, it's only one of the services I offer.
 
Forget that last one :)


When you pay peanuts, you get monkeys!

honey, i fried the IP Office !!!

Sarcasm, it's only one of the services I offer.
 
I have a little update.
This will make the configuration easier and you can upgrade your apps server without a need of doing it all again.


Make a file called "Centos_base.repo" and put this in to it:

Code:
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-5 - Base
mirrorlist=[URL unfurl="true"]http://mirrorlist.centos.org/?release=5&arch=i386&repo=os[/URL]
#baseurl=http://mirror.centos.org/centos/5/os/i386/
gpgcheck=1
gpgkey=[URL unfurl="true"]http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5[/URL]

Use a SSH file transfer client to copy the file to /etc/yum.repos.d
There is already a file called "Avaya_Inside.repo" but that is alright.

When this is done use a SSH client to install samba.
Login and type:
Code:
yum install samba samba-swat

When asked type "y"
Then make sure that samba starts on every reboot and start the service.

Code:
chkconfig smb on
chkconfig swat on
service smb start

Then make a file called "smb.conf" so you can replace the original one (quicker and easier)

Put this in the file:

Code:
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba-HOWTO-Collection. This may be obtained from:
#  [URL unfurl="true"]http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf[/URL]
#
# Many working examples of smb.conf files can be found in the
# Samba-Guide which is generated daily and can be downloaded from:
#  [URL unfurl="true"]http://www.samba.org/samba/docs/Samba-Guide.pdf[/URL]
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#---------------
# SELINUX NOTES:
#
# If you want to use the useradd/groupadd family of binaries please run:
# setsebool -P samba_domain_controller on
#
# If you want to share home directories via samba please run:
# setsebool -P samba_enable_home_dirs on
#
# If you create a new directory you want to share you should mark it as
# "samba-share_t" so that selinux will let you write into it.
# Make sure not to do that on system directories as they may already have
# been marked with othe SELinux labels.
#
# Use ls -ldZ /path to see which context a directory has
#
# Set labels only on directories you created!
# To set a label use the following: chcon -t samba_share_t /path
#
# If you need to share a system created directory you can use one of the
# following (read-only/read-write):
# setsebool -P samba_export_all_ro on
# or
# setsebool -P samba_export_all_rw on
#
# If you want to run scripts (preexec/root prexec/print command/...) please
# put them into the /var/lib/samba/scripts directory so that smbd will be
# allowed to run them.
# Make sure you COPY them and not MOVE them so that the right SELinux context
# is applied, to check all is ok use restorecon -R -v /var/lib/samba/scripts
#
#--------------
#
#======================= Global Settings =====================================

[global]
unix charset = UTF-8
dos charset = CP932


# ----------------------- Network Related Options -------------------------
#
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
#
# Interfaces lets you configure Samba to use multiple interfaces
# If you have multiple network interfaces then you can list the ones
# you want to listen on (never omit localhost)
#
# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can
# specifiy it as a per share option as well
#
	workgroup = WORKGROUP
	server string = Samba Server Version %v

;	netbios name = MYSERVER

;	interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
hosts allow = 127. 10. 192.168. 172.

# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach

	# logs split per machine
;	log file = /var/log/samba/%m.log
	# max 50KB per log file, then rotate
;	max log size = 50

# ----------------------- Standalone Server Options ------------------------
#
# Security can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.

	security = share
	passdb backend = tdbsam


# ----------------------- Domain Members Options ------------------------
#
# Security must be set to domain or ads
#
# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
#
# Use password server option only with security = server or if you can't
# use the DNS to locate Domain Controllers
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *


;	security = domain
;	passdb backend = tdbsam
;	realm = MY_REALM

;	password server = <NT-Server-Name>

# ----------------------- Domain Controller Options ------------------------
#
# Security must be set to user for domain controllers
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
#
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
#
# Domain Logons let Samba be a domain logon server for Windows workstations.
#
# Logon Scrpit let yuou specify a script to be run at login time on the client
# You need to provide it in a share called NETLOGON
#
# Logon Path let you specify where user profiles are stored (UNC path)
#
# Various scripts can be used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
#
;	security = user
;	passdb backend = tdbsam

;	domain master = yes
;	domain logons = yes

	# the login script name depends on the machine name
;	logon script = %m.bat
	# the login script name depends on the unix user used
;	logon script = %u.bat
;	logon path = \\%L\Profiles\%u
	# disables profiles support by specifing an empty path
;	logon path =  

;	add user script = /usr/sbin/useradd "%u" -n -g users
;	add group script = /usr/sbin/groupadd "%g"
;	add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
;	delete user script = /usr/sbin/userdel "%u"
;	delete user from group script = /usr/sbin/userdel "%u" "%g"
;	delete group script = /usr/sbin/groupdel "%g"


# ----------------------- Browser Control Options ----------------------------
#
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
#
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
#
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
;	local master = no
;	os level = 33
;	preferred master = yes

#----------------------------- Name Resolution -------------------------------
# Windows Internet Name Serving Support Section:
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
#
# - WINS Support: Tells the NMBD component of Samba to enable it's WINS Server
#
# - WINS Server: Tells the NMBD components of Samba to be a WINS Client
#
# - WINS Proxy: Tells Samba to answer name resolution queries on
#   behalf of a non WINS capable client, for this to work there must be
#   at least one	WINS Server on the network. The default is NO.
#
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups.

;	wins support = yes
;	wins server = w.x.y.z
;	wins proxy = yes

;	dns proxy = yes

# --------------------------- Printing Options -----------------------------
#
# Load Printers let you load automatically the list of printers rather
# than setting them up individually
#
# Cups Options let you pass the cups libs custom options, setting it to raw
# for example will let you use drivers on your Windows clients
#
# Printcap Name let you specify an alternative printcap file
#
# You can choose a non default printing system using the Printing option

	load printers = yes
	cups options = raw

;	printcap name = /etc/printcap
	#obtain list of printers automatically on SystemV
;	printcap name = lpstat
;	printing = cups

# --------------------------- Filesystem Options ---------------------------
#
# The following options can be uncommented if the filesystem supports
# Extended Attributes and they are enabled (usually by the mount option
# user_xattr). Thess options will let the admin store the DOS attributes
# in an EA and make samba not mess with the permission bits.
#
# Note: these options can also be set just per share, setting them in global
# makes them the default for all shares

;	map archive = no
;	map hidden = no
;	map read only = no
;	map system = no
;	store dos attributes = yes


#============================ Share Definitions ==============================

[homes]
	comment = Home Directories
	browseable = no
	writable = yes
;	valid users = %S
;	valid users = MYDOMAIN\%S

[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = no
	guest ok = no
	writable = no
	printable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
;	[netlogon]
;	comment = Network Logon Service
;	path = /var/lib/samba/netlogon
;	guest ok = yes
;	writable = no
;	share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;	[Profiles]
;	path = /var/lib/samba/profiles
;	browseable = no
;	guest ok = yes


# A publicly accessible directory, but read only, except for people in
# the "staff" group
;	[public]
;	comment = Public Stuff
;	path = /home/samba
;	public = yes
;	writable = yes
;	printable = no
;	write list = +staff

[Share]# any name you like
   path = /opt/vmpro/VRL   
   writable = yes
   guest ok = yes
   guest only = yes
   create mode = 0777
   directory mode = 0777
   share modes = yes

In this file all networks starting with 127, 192.168, 10. and 172. are allowed for access.
Change this so it matches your network.

Make sure that you are allowed to replace the file

Code:
cd /etc/samba
chmod 777 smb.conf

Copy this file in to the folder /etc/samba

Then change the permissions on the VRL folder:

Code:
cd /opt/vmpro
chmod 777 VRL

For the contact store part follow DBrewsky's post on top.


When you pay peanuts, you get monkeys!

honey, i fried the IP Office !!!

Sarcasm, it's only one of the services I offer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top