Hi Felix_te
I have found something on github
Please take a look if it can help you
master.conf ( /home//yugabyte-2.18.2.1/master.conf):
–master_addresses=192.168.11.91:7100,192.168.11.14:7100,192.168.11.101:7100
–rpc_bind_addresses=192.168.11.91:7100 #IP of current server here
–fs_data_dirs=/media/yugabyte
–placement_cloud=fcmsk
–placement_region=fcmsk-len91 #miner’s hostname here
–placement_zone=len91 #hostname
tserver.conf (/home//yugabyte-2.18.2.1/tserver.conf)
–tserver_master_addrs=192.168.11.91:7100,192.168.11.14:7100,192.168.11.101:7100
–rpc_bind_addresses=192.168.11.91:9100 #IP of current server here
–enable_ysql
–pgsql_proxy_bind_address=192.168.11.91:5433 #IP of current server here
–cql_proxy_bind_address=192.168.11.91:9042 #IP of current server here
–fs_data_dirs=/media/yugabyte
–placement_cloud=fcmsk
–placement_region=fcmsk-len91 #miner’s hostname here
–placement_zone=len91 #hostname
systemd units files:
YB-Master:
sudo nano /etc/systemd/system/yb-master.service
Description=YB-Master
After=network-online.target
Requires=network-online.target
[Service]
ExecStart=/home//yugabyte-2.18.2.1/bin/yb-master --flagfile /home//yugabyte-2.18.2.1/master.conf
Restart=always
RestartSec=5
TimeoutStartSec=20
TimeoutStopSec=20
User=
Group=<user’s group>
Type=simple
LimitCPU=infinity
LimitFSIZE=infinity
LimitDATA=infinity
LimitSTACK=8388608
LimitCORE=infinity
LimitRSS=infinity
LimitNOFILE=1048576
LimitAS=infinity
LimitNPROC=12000
LimitMEMLOCK=64
LimitLOCKS=infinity
LimitSIGPENDING=119934
LimitMSGQUEUE=819200
LimitNICE=0
LimitRTPRIO=0
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
sudo systemctl restart yb-master
sudo systemctl enable yb-master
YB-TServer:
sudo nano /etc/systemd/system/yb-tserver.service
Description=YB-TServer
After=network-online.target
After=yb-master.service
Requires=network-online.target
Requires=yb-master.service
[Service]
ExecStart=/home//yugabyte-2.18.2.1/bin/yb-tserver --flagfile /home//yugabyte-2.18.2.1/tserver.conf
Restart=always
RestartSec=5
TimeoutStartSec=20
TimeoutStopSec=20
User=
Group=<user’s group>
Type=simple
LimitCPU=infinity
LimitFSIZE=infinity
LimitDATA=infinity
LimitSTACK=8388608
LimitCORE=infinity
LimitRSS=infinity
LimitNOFILE=1048576
LimitAS=infinity
LimitNPROC=12000
LimitMEMLOCK=64
LimitLOCKS=infinity
LimitSIGPENDING=119934
LimitMSGQUEUE=819200
LimitNICE=0
LimitRTPRIO=0
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
sudo systemctl start yb-tserver
sudo systemctl enable yb-tserver