Outils pour utilisateurs

Outils du site


exalead:master_slave

Ceci est une ancienne révision du document !


Exalead / Master/Slave

In the following architecture, the slave server will only be used to serve UI with an index that can be detached from Master when performing full scan.

Add roles

In Deployment/Roles, create a new host :

Select the following roles for the host :

  • Indexing/Index
  • Search/Mashup API
  • Search/Mashup UI
  • Search/Search API
  • Search/Search server
  • Search/Storage Service

Add Local Search Target

In Deployment/Build Groups/Search Target, create a new search target with type 'Local Only'.

Use the 'Only Local' search target in the Search API :

Install Slave

From kitdir, run the following command

<INSTALLDIR>/install.sh -license <LICENSE> -data <DATADIR> -host <SLAVE_HOSTNAME> 
-importSecurity <EXISTING_DATADIR/security> -install <SLAVE_INSTALL> 
-slave <MASTER_GATEWAYURL> 
Variable Description
<LICENSE> The path to the CloudView license file (cvlicense.dat).
<DATADIR> Creates the specified directory during installation, to store the index and configuration data. Specify a new directory for <DATADIR>.
<SLAVE_HOSTNAME> The slave's hostname value in the master's Deployment.xml
<MASTER_GATEWAYURL> Use the format http://<MASTERHOSTNAME>:<BASEPORT+11>
<SLAVE_INSTALL> The slave's install value in the master's Deployment.xml

Example for the install on vdemopro server

# Remove old datadir
datadir='/home/data/RTV/DEMOR422/cloudview/data-edf-2020X-16000/'
kitdir='/home/data/RTV/DEMOR422/cloudview/cloudview-V6R2020x.R0.101779-linux-x64'
license='/tmp/cvlicense.dat'
if [ -d $datadir ]; then
        echo '============== STOP CLOUDVIEW INSTANCE =============='
        $datadir/bin/cvinit.sh stop
        sleep 15
        echo '============== REMOVE DATADIR =============='
        rm -rf $datadir
fi
echo '============== INSTALL CLOUDVIEW INSTANCE =============='
# Install from Kit
$kitdir/install.sh -license $license -data $datadir -host localhost -install cvdefault_slave -slave http://localhost:15011
echo '============== INSTALLATION DONE =============='
exalead/master_slave.1623340923.txt.gz · Dernière modification : (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki