First create a new sysctl configuration file /etc/sysctl.d/90-ipv6.conf using the following command.
vi /etc/sysctl.d/90-ipv6.conf
SELECT | |
TABLE_NAME AS `Table`, ENGINE, | |
ROUND((DATA_LENGTH + INDEX_LENGTH) / 1024 / 1024) AS `Size (MB)` | |
FROM | |
information_schema.TABLES | |
WHERE | |
TABLE_SCHEMA = "DATABASENAME" | |
ORDER BY | |
(DATA_LENGTH + INDEX_LENGTH) | |
DESC; |
#!/bin/sh | |
# | |
# | |
# | |
################################################################################################################################################### | |
########################################################### USAGE ################################################################################# | |
# | |
# | |
# | |
# --source - Specify the source SQL Dump file which we want to process. |
#define _GNU_SOURCE | |
#include <dirent.h> /* Defines DT_* constants */ | |
#include <fcntl.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/stat.h> | |
#include <sys/syscall.h> |
[Unit] | |
Description=Airflow scheduler daemon | |
After=network.target postgresql.service mysql.service redis.service rabbitmq-server.service | |
Wants=postgresql.service mysql.service redis.service rabbitmq-server.service | |
[Service] | |
EnvironmentFile=/etc/sysconfig/airflow | |
#User=airflow | |
#Group=airflow | |
Type=simple |
explicit_defaults_for_timestamp =1 | |
group_concat_max_len= 100000 |
Keepalived along with HAProxy would able to do the load-balanced High Availability Cluster. With these we can do the cluster for any application service whether MySQL or any other application service as per needs.
Let's Assume below mentioned Configuration details
fs_cli -x 'originate {origination_caller_id_number=1002}freetdm/2/a/000000000 &bridge(user/1002)' | |