P/S: If you are still unable to login using remote desktop client, check whether you have xorgxrdp package installed. If not, install it and restart xrdp. Then try to connect again
$ sudo apt install xorgxrdp -y
$ sudo systemctl restart xrdp
Linux is for everybody. Lets enjoy it.
Mysql command does not have any means of monitoring the progress of sql file import. One method that I found useful in monitoring mysql import, is by using pipeviewer(pv) command. To install pipeviewer in a centos box:
Install epel repository
# yum install epel-release -y
Install pv
# yum install pv -y
To use the pv command to monitor mysql import progress
# pv mydatabase.sql | mysql -u myusername -p mydatabase
You will get progress bar showing how much data has been imported from the sql file to mysql.
There was one situation, where our production mongo server suddenly becomes secondary, causing any write and read to the server to fail. Searching in the mongo documentation, we found an easy solution. Below are the steps.
First step:
Check that your replica is running fine
mongo> rs.status()
Second step:
Freeze all mongo node in the replica that you do not want to be primary for lets say, 120 seconds. Access the mongo shell, and run below command, do this for all nodes that you do not want to be primary
mongo> rs.freeze(120)
Third step:
Demote the current primary, so that other node that has not been frozen, will take over as primary. Run this in mongo shell, to demote the node from being a primary, for 120 seconds
mongo> rs.stepdown(120)
That's it, run rs.status() again to make sure that your desired server is now a primary.
Reference: https://docs.mongodb.com/manual/tutorial/force-member-to-be-primary/
Get the repository url in your country, by visiting http://mirror-status.centos.org/. In my case, since I am in Malaysia, I chose http://centos.ipserverone.com/centos/
Create a repo file in /etc/yum.repos.d
# cat > /etc/yum.repos.d/centos.repo
[centos]
name=CentOS-7
baseurl=http://centos.ipserverone.com/centos/7/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://centos.ipserverone.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7

Login to RHV/RHEV/ovirt administrator interface