api
, connectors-classic
, connectors-rpc
, and admin-ui
processes, and possibly others such as spark-master
and spark-worker
. When you start Fusion, the processes that start are listed. You might also see zookeeper
and solr
processes, depending on the cluster arrangement.
For more information about Fusion components, see Fusion Components.
A complete list of Fusion services:
Start or Stop Fusion
bin
directory below the Fusion home directory:/opt/fusion/latest.***__x__***/bin
(Unix)C:\lucidworks\fusion{backslash}latest.***__x__***{backslash}bin
(Windows)/opt/fusion/latest.***__x__***/bin/fusion <command>
C:\lucidworks\fusion{backslash}latest.***__x__***{backslash}bin{backslash}fusion.cmd <command>
/opt/fusion/latest.***__x__***/bin/<servicename> <command>
For example: /opt/fusion/latest.***__x__***/bin/proxy restart
C:\lucidworks\fusion{backslash}latest.***__x__***{backslash}bin{backslash}<servicename>.cmd <command>
For example: C:\lucidworks\fusion{backslash}latest.***__x__***{backslash}bin{backslash}proxy.cmd restart
fusion
/fusion.cmd
script to issue the command to all services in the correct sequence, or they can be issued to an individual service.start | Start one or all Fusion services. |
status | Display the status of one or all Fusion services. |
restart | Restart one or all Fusion services. |
stop | Stop one or all Fusion services. |
run | Start one or all Fusion services in the foreground. |
run-in-shell (Unix only) (Fusion 4.2+ only.) | Start an individual service using Bash’s exec function, which allows the service to assume the shell process’s PID. See Run Fusion in shell mode below. |
fusion.cors
(fusion.properties
in Fusion 4.x) file includes the property definition group.default
. This property defines the Fusion services to start and stop by default (if no property is named in the start or stop command).The default list of services out-of-the-box is also the minimum set of services, with the exception of the log-shipper
service, which you can remove if you do not use it.Here is the group.default
definition in fusion.cors
(fusion.properties
in Fusion 4.x):In Fusion 4.1+.log-shipper
service, these are all required services. Even if only using RPC connectors, the connectors-classic
service is required. The log-shipper
service is required to use the Log Shipper.In Fusion 4.0.x.connectors-classic
service is required.group.default
property, for example, to include Spark and SQL related services:group.default
property, for example, to include Spark related services:group
properties.In Fusion 4.1+.For example, define this group property to start and stop services for Spark and SQL together:C:\lucidworks
).Give the commands that follow from the directory fusion/latest.***__x__***/bin
.group.default
property.How to start all required services./fusion start
./fusion start default
. You can omit the group name default
.fusion.cors
(fusion.properties
in Fusion 4.x) that defines the group.Examples of when this is useful are:spark-master
, spark-worker
, and sql
services are interdependent and should be started and stopped together.
connectors-classic
and connectors-rpc
services to be running.
./admin-ui start
./api start
./connectors-classic start
./connectors-rpc start
./log-shipper start
./proxy start
./solr start
./spark-master start
./spark-worker start
./sql start
./webapps start
./zookeeper start
run
command-line argument in place of start
.exec
function, which allows the service to assume the shell process’s PID, use the run-in-shell
command-line argument in place of start
or run
. The run-in-shell
argument can only be used to start one service at a time.Examplesstop
command-line argument in place of start
, for example:./solr stop
systemd
for process management.systemd
to launch Fusion when your system starts.How to launch Fusion at system start:systemd
directory, for example:
fusion.service
to provide correct values for the FUSION_HOME
and JAVA_HOME
environment variables.
systemd
management file, which launches Fusion under systemd
management:
systemctl
command to start and stop Fusion:https://FUSION_HOST:FUSION_PORT/var/log
./opt/lucidworks/
directory.To configure upstart, run the following commands:no JAVA_HOME set
, replace sudo
with sudo -E
. Then you can use the service
command to control the server:stop
and status
.Log files for Fusion services are found in directories under https://FUSION_HOST:FUSION_PORT/var/log
.C:\lucidworks
).Give the commands that follow from the directory fusion\latest.***__x__***\bin
.admin-ui.cmd start
api.cmd start
connectors-classic.cmd start
connectors-rpc.cmd start
log-shipper.cmd start
proxy.cmd start
solr.cmd start
spark-master.cmd start
spark-worker.cmd start
sql.cmd start
webapps.cmd start
zookeeper.cmd start
run
command-line argument in place of start
, for example:connectors.cmd run
fusion.cmd stop
(Stop all Fusion services, if they are running as Java processes)stop-services.cmd
(Stop all Fusion services, if they are running as Windows services)stop
command-line argument in place of start
, for example:connectors.cmd stop
Field | Value |
---|---|
Account | FUSION_SVC |
Domain | qe |
Installation directory | C:\fusion<version> |
Server | EC2AMAZ-79FD9JL |
install-services.cmd
as a local administrator:
FUSION_SVC
user account.
http://localhost:8764/
(replace localhost
with your server name or IP address if necessary).The first time you access Fusion, you must set the password for the user admin
and agree to the Fusion Licensing Agreement (which contains terms of service). This is followed by an optional registration step. After this, Fusion displays the Fusion launcher (the page from which you can open apps).https://FUSION_HOST:FUSION_PORT/bin/fusion start
, so that all components (including the bundled Solr and ZooKeeper instances) run on a single host in their default configurations.Quickstart
Integrate Fusion 4.x with an Existing Solr Deployment
Install a Fusion 4.x Cluster (Unix)
.tar.gz
). Move this file to each node that will run Fusion.
https://FUSION_HOST:FUSION_PORT
. You can rename this if you wish. This directory is considered your Fusion home directory. See Directories, files, and ports for the contents of the https://FUSION_HOST:FUSION_PORT
directory.https://FUSION_HOST:FUSION_PORT/data/zookeeper
directory, and a file called myid
in that directory. Edit the file and save the ZooKeeper myid assigned for this node as the only contents.https://FUSION_HOST:FUSION_PORT/conf/zookeeper/zoo.cfg
file in a text editor and add the following after the clientPort
line (change the hostnames or IP addresses to the correct ones for your servers):
localhost
or 127.0.0.1
as the hostname/IP. Specify the hostname/IP that other nodes will use when communicating with the current node.default.zk.connect
in https://FUSION_HOST:FUSION_PORT/conf/fusion.cors
(fusion.properties
in Fusion 4.x) to point to the ZooKeeper hosts:
bin/zookeeper start
. Zookeeper should start without errors. If a ZooKeeper instance fails to start, check the log at https://FUSION_HOST:FUSION_PORT/var/log/zookeeper/zookeeper.log
.bin/fusion start
.http://FIRST_NODE_IP:8764
, where FIRST_NODE_IP
is the IP address of your first Fusion node.http://ANY_NODE_IP:8983/solr/#/~cloud
, where ANY_NODE_IP
is the IP address of a Solr node. All of the nodes should appear green.http://NODE_IP:8764
.fusion\latest.x\data\zookeeper
directory, and a file called myid
in that directory. Edit the file and save the ZooKeeper myid assigned for this node as the only contents.fusion\latest.x\conf\zookeeper\zoo.cfg
file in a text editor and add the following after the clientPort
line (change the hostnames or IP addresses to the correct ones for your servers):
conf/fusion.cors
(fusion.properties
in Fusion 4.x) and remove zookeeper
from the group.default
list. This will make it so that ZooKeeper does not start when you start Fusion.default.zk.connect
in https://FUSION_HOST:FUSION_PORT/conf/fusion.cors
(fusion.properties
in Fusion 4.x) to point to the ZooKeeper hosts:
bin/zookeeper start
. Zookeeper should start without errors. If a ZooKeeper instance fails to start, check the log at https://FUSION_HOST:FUSION_PORT/var/log/zookeeper/zookeeper.log
.bin/fusion start
.http://FIRST_NODE_IP:8764
, where FIRST_NODE_IP
is the IP address of your first Fusion node.http://ANY_NODE_IP:8983/solr/#/~cloud
, where ANY_NODE_IP
is the IP address of a Solr node. All of the nodes should appear green.http://NODE_IP:8764
.
Consult your load balancer’s documentation for instructions./tmp/.java_pid<pid>
file is created and is the socket used:/tmp/.java_pid<pid>
is deleted after ten days on a standard Amazon Linux in EC2.When the JVM code the agent uses cannot locate the file, then it:-QUIT
message to the JVMagent.log
from the logstash configuration. The logshipping is turned off for the file. The disadvantage to this option is that the metrics are missing./tmp
files older than “x” days to exclude deleting the /tmp/.java_pid<pid>
files. If your system is running the Linux Systemd software suite on EC2, the setting is typically located in the usr/lib/tmpfiles.d/tmp.conf
file. For Dial On Demand (DOD), remove the call that configures the JMX Metrics requirement for the debugger attachment to the Java service.Install a Fusion 4.x Cluster (Windows)
.zip
). Download the Fusion zip file for the latest version of Fusion to each node that will run Fusion, and move the file to where you would like Fusion to reside in your filesystem. It will appear as a compressed folder.
fusion\latest.x
. This directory is considered your Fusion home directory. You can rename it if you wish. See Directories, Files, and Ports for the contents of the Fusion home directory.
fusion\latest.x\data\zookeeper
directory, and a file called myid
in that directory. Edit the file and save the ZooKeeper myid assigned for this node as the only contents.fusion\latest.x\conf\zookeeper\zoo.cfg
file in a text editor and add the following after the clientPort
line (change the hostnames or IP addresses to the correct ones for your servers):
localhost
or 127.0.0.1
as the hostname/IP. Specify the hostname/IP that other nodes will use when communicating with the current node.default.zk.connect
in fusion\latest.x\conf\fusion.cors
(fusion.properties
in Fusion 4.x) to point to the ZooKeeper hosts:bin\zookeeper start
. Zookeeper should start without errors. If a ZooKeeper instance fails to start, check the log at fusion\latest.x\var\log\zookeeper\zookeeper.log
.
bin\fusion start
.
http://FIRST_NODE_IP:8764
, where FIRST_NODE_IP
is the IP address of your first Fusion node.
http://ANY_NODE_IP:8983/solr/#/~cloud
, where ANY_NODE_IP
is the IP address of a Solr node. All of the nodes should appear green.
http://NODE_IP:8764
.fusion\latest.x\data\zookeeper
directory, and a file called myid
in that directory. Edit the file and save the ZooKeeper myid assigned for this node as the only contents.fusion\latest.x\conf\zookeeper\zoo.cfg
file in a text editor and add the following after the clientPort
line (change the hostnames or IP addresses to the correct ones for your servers):
conf\fusion.cors
(fusion.properties
in Fusion 4.x) and remove zookeeper
from the group.default
list. This will make it so that ZooKeeper does not start when you start Fusion.default.zk.connect
in fusion\latest.x\conf\fusion.cors
(fusion.properties
in Fusion 4.x) to point to the ZooKeeper hosts:
bin\zookeeper start
. Zookeeper should start without errors. If a ZooKeeper instance fails to start, check the log at fusion\latest.x\var\log\zookeeper\zookeeper.log
.bin\fusion start
.http://FIRST_NODE_IP:8764
, where FIRST_NODE_IP
is the IP address of your first Fusion node.http://ANY_NODE_IP:8983/solr/#/~cloud
, where ANY_NODE_IP
is the IP address of a Solr node. All of the nodes should appear green.http://NODE_IP:8764
.
Consult your load balancer’s documentation for instructions.