Problem:
- Product Name: VisiBroker
- Product Version: 8.5
- Product Component: Licensing
- Platform: All
What are the steps to setup two or more licenses but to use a common VisiBroker installation?
Resolution:
Steps to setup and register different licenses using a shared installation of VisiBroker:
1. Install VisiBroker in a folder(say /opt/MicroFocus/VisiBroker) and do not register it.
2. Copy the complete content of the "var" and "license" folders from the VisiBroker installation to a user folder say: /home/MicroFocus/VisiBroker1.
3. Copy lmadm and lmadm.config from bin folder of main VisiBroker installation.
4. Now, the following will be the contents of /home/MicroFocus/VisiBroker1 with the subfolders:
bin:
lmadm
vbroker.sh (vbroker.bat for windows) ---> to be created in step 5
lmadm.config ---> to be edited in step 6
license(folder and its contents):
var(folder and its contents):
5. Create, set execute permission and run the following script file named vbroker.sh:
export VBROKER_INSTALL_DIR=/opt/MicroFocus/VisiBroker
export VBROKERDIR=/home/MicroFocus/VisiBroker1
export VBROKER_ADM=${VBROKERDIR}/var/vbroker/adm
export OSAGENT_PORT=14000
export PATH=${VBROKERDIR}/bin:${VBROKER_INSTALL_DIR}/bin:${PATH}
export BES_LIC_DIR=${VBROKERDIR}/var
export BES_LIC_DEFAULT_DIR=${VBROKERDIR}/license
export LD_LIBRARY_PATH=${VBROKER_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
Note: $VBROKER_INSTALL_DIR points to the folder of the main VisiBroker installation.
6. Edit the following entries in the bin/lmadm.config file:
# Set the product install root, i.e.set it to $VBROKER_INSTALL_DIR
set installRoot=/opt/MicroFocus/VisiBroker
# The product license, set it to use user folder, i.e. VBROKERDIR
vmprop borland.enterprise.licenseDefaultDir=/home/MicroFocus/VisiBroker1/license
vmprop borland.enterprise.licenseDir=/home/MicroFocus/VisiBroker1/var
7. Now, follow the steps 2-6 to create another user folder(say /home/MicroFocus/VisiBroker2) and so on for more users to register the licenses.
9. Then, register two licenses in these two folders(/home/MicroFocus/VisiBroker1 and /home/MicroFocus/VisiBroker2) with lmadm tool(from bin folder).
i.e. ./lmadm -i console
10. Run "./lmadm -i console" again and choose option "2 - List all licenses" to verify that the licenses have been enabled.
11. In the first user folder, you need to invoke vbroker.sh of /home/MicroFocus/VisiBroker1/bin to set the VisiBroker environment and in the second user folder, invoke /home/Borland/VisiBroker2/bin/vbroker.sh and now both of these users will be using two licenses with shared VisiBroker installation.
You can follow the above steps 2-6 to setup more users with different licenses but sharing one common VisiBroker installation.
#multipleusers
#license
#multiplelicenses
#VisiBroker
#Security
#sharedVisiBrokerinstallation