Outils pour utilisateurs

Outils du site


exalead:master_slave

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
exalead:master_slave [2021/06/10 15:56] – nicoantoexalead:master_slave [2022/11/22 14:00] (Version actuelle) – nicoanto
Ligne 2: Ligne 2:
  
 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. 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.
 +In the current example, the CV Slave server will be installed on the physical server => in the screen shots, 'localhost' is used. It has to changed according to your architecture.
  
 ===== Add roles ===== ===== Add roles =====
Ligne 38: Ligne 39:
 </code> </code>
  
-^ Variable      ^ Heading 2       ^+^ Variable      ^ Description       ^
 | <LICENSE>   | The path to the CloudView license file (cvlicense.dat). | | <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>. | | <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     |+| <SLAVE_HOSTNAME>    | The slave's hostname value in the master's Deployment.xml | 
 +| <MASTER_GATEWAY_URL>  | <nowiki>Use the format http://<MASTERHOSTNAME>:<BASEPORT+11></nowiki> | 
 +| <SLAVE_INSTALL>  | The slave's install value in the master's Deployment.xml |
  
  
 +Example for the install on vdemopro server
 <code> <code>
 # Remove old datadir # Remove old datadir
Ligne 62: Ligne 66:
  
 </code> </code>
 +
 +===== Useful commands =====
 +
 +==== Detach SliceReplica  ====
 +<code>
 +./cvcommand vdemopro1128dsy.extranet.3ds.com:15011 /mami/indexing detachSliceReplica sliceInstance=i1 indexSlice=0 buildGroup=bg0
 +./cvcommand vdemopro1128dsy.extranet.3ds.com:15011 /mami/indexing detachSliceReplica sliceInstance=i1 indexSlice=1 buildGroup=bg0
 +</code>
 +
 +==== Clear Build Group ====
 +Clear Master build group without clearing replicas
 +<code>
 +./cvcommand vdemopro1128dsy.extranet.3ds.com:15011 /mami/indexing clearBuildGroup keepIndexInstances=false keepReplicatedIndexInstances=true buildGroup=bg0
 +</code>
 +
 +==== Clear Consolidation ====
 +
 +<code>
 +./cvcommand vdemopro1128dsy.extranet.3ds.com:15011 /mami/consolidation clear instanceName=cs0
 +</code>
 +
 +==== Clear Replica ====
 +
 +<code>
 +./cvcommand vdemopro1128dsy.extranet.3ds.com:15011 /mami/indexing clearSliceReplica sliceInstance=i1 indexSlice=0 buildGroup=bg0
 +./cvcommand vdemopro1128dsy.extranet.3ds.com:15011 /mami/indexing clearSliceReplica sliceInstance=i1 indexSlice=1 buildGroup=bg0
 +</code>
 +
 +==== Attach Slice Replica ====
 +
 +<code>
 +./cvcommand vdemopro1128dsy.extranet.3ds.com:15011 /mami/indexing attachSliceReplica sliceInstance=i1 indexSlice=0 buildGroup=bg0
 +./cvcommand vdemopro1128dsy.extranet.3ds.com:15011 /mami/indexing attachSliceReplica sliceInstance=i1 indexSlice=1 buildGroup=bg0
 +</code>
 +
exalead/master_slave.1623340619.txt.gz · Dernière modification : (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki