This document describes steps to troubleshoot kubectl error: The connection to the server x.x.x.x:6443 was refused - did you specify the right host or port? 1. The kubectl should be executed on the Master Node. 2. Current user must have Kubernetes cluster configuration environment variable (Details of how to are listed under section Preparing to Use Kubernetes as a Regular User), e.g.: $ env | grep -i kube KUBECONFIG=/root/.kube/config 3. The docker service must be running: $ … [Read more...] about Troubleshooting kubectl Error: The connection to the server x.x.x.x:6443 was refused – did you specify the right host or port?
Archives for June 2019
The Ask ipset IPtables rule is needed on firewalld for the below rule: -A INPUT -p tcp -m set --match-set SQL_1811 src -m set --match-set DB-IPs dst -m tcp --dport 1811 -j ACCEPT The Answer Below example using SQL_1811 and DB-IPs as IPsets for the two IP addresses (10.1.1.2 and 10.1.1.3) # firewall-cmd --permanent --new-ipset=SQL_1811 --type=hash:ip # firewall-cmd --permanent --new-ipset=DB-IPs --type=hash:ip # firewall-cmd --reload # firewall-cmd --ipset=SQL_1811 … [Read more...] about Changing the IPset rules from IPtables to Firewalld in CentOS/RHEL 7
Note: In MySQL Server 8.0.X you must use the exact same patch release of MEB as the Server, eg MySQL Server 8.0.13 requires the use of MEB 8.0.13. The Basics For *nix OSes, the document uses a shell expansion for simple naming of folders with "todays" date+time, eg shell:~ # d="$(date '+%d%b_%H%M')" shell:~ # echo $d 13Nov_1338 It is, of course, possible to adjust this as any existing naming conventions dictate. Simple high level backup / restore commands: creates an image backup ( … [Read more...] about Backup and Restore Of Group Replication Node ( MySQL 8.0 )
The Problem A replication slave cannot continue replicating from its Master. One such example is that after being stopped for a long ( or longer than anticipated ) timeframe, the BINARY LOGS required on the Master have been purged. [ERROR] [MY-013114] [Repl] Slave I/O for channel 'group_replication_recovery': Got fatal error 1236 from master when reading data from binary log: 'Cannot replicate because the master purged required binary logs. Replicate the missing transactions from elsewhere, or … [Read more...] about MySQL Server 8.0 – How to create a REPLICATION SLAVE using MEB
The uname command displays system information. Apart from the hostname command, you can also use the "uname -n" command to display the host name of your system. Without any flags, the uname command will display the operating system that your are using. Here are some useful options: OptionDescription -aDisplays all information -sDisplays the kernel name -nDisplays the network node (a.k.a. the host name) -rDisplays the release version of the kernel -vDisplays the version (date) of … [Read more...] about “uname” Command Examples to Check UNIX/Linux Version
The Problem While connecting the database as sysdba, we are getting below error: sqlplus /as sysdba SQL*Plus: Release 126.96.36.199.0 Production on Wed May 10 00:40:31 2017 Copyright (c) 1982, 2016, Oracle. All rights reserved. ERROR: ORA-12547: TNS:lost contact The version of Oracle database used here is 188.8.131.52.0. The Solution The solution is quite simple here. The OS variable ORACLE_BASE was not set specifically here. Just set this variable into the bash profile of oracle user … [Read more...] about ORA-12547: TNS:lost Contact (Oracle 12c2)