<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=CloudEndure</id>
	<title>CloudEndure - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=CloudEndure"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=CloudEndure&amp;action=history"/>
	<updated>2026-05-15T09:21:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=CloudEndure&amp;diff=42&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;====CloudEndure log files==== ----  * Installation log file: &lt;b&gt;./cloudendure.log&lt;/b&gt; ** Generated during the agent installation process. ** Located in the directory from which the installation process was initiated.  * Agent Logs: &lt;b&gt;/var/lib/cloudendure/agent.log.0&lt;/b&gt;   ====How to start/stop the CloudEndure Agent==== ----   sudo /var/lib/cloudendure/runAgent.sh   sudo /var/lib/cloudendure/stopAgent.sh     * &lt;b&gt;Note&lt;/b&gt;: stop / starting of the agent causes re-replicati...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=CloudEndure&amp;diff=42&amp;oldid=prev"/>
		<updated>2024-08-21T14:43:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;====CloudEndure log files==== ----  * Installation log file: &amp;lt;b&amp;gt;./cloudendure.log&amp;lt;/b&amp;gt; ** Generated during the agent installation process. ** Located in the directory from which the installation process was initiated.  * Agent Logs: &amp;lt;b&amp;gt;/var/lib/cloudendure/agent.log.0&amp;lt;/b&amp;gt;   ====How to start/stop the CloudEndure Agent==== ----   sudo /var/lib/cloudendure/runAgent.sh   sudo /var/lib/cloudendure/stopAgent.sh     * &amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;: stop / starting of the agent causes re-replicati...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;====CloudEndure log files====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
* Installation log file: &amp;lt;b&amp;gt;./cloudendure.log&amp;lt;/b&amp;gt;&lt;br /&gt;
** Generated during the agent installation process.&lt;br /&gt;
** Located in the directory from which the installation process was initiated.&lt;br /&gt;
&lt;br /&gt;
* Agent Logs: &amp;lt;b&amp;gt;/var/lib/cloudendure/agent.log.0&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to start/stop the CloudEndure Agent====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 sudo /var/lib/cloudendure/runAgent.sh &lt;br /&gt;
 sudo /var/lib/cloudendure/stopAgent.sh &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;: stop / starting of the agent causes re-replication (always), Stopping replication from the console will cause restart of replication (from 0, restart from scratch). Reinstalling of agent (such as re-installing the agent while the old agent is still running) causes rescan (in most cases like migration project) and rebooting the source machine will cause a rescan. However, from me and cheehons test, if its a DR project, and we re-install the agent, it will go through the initial sync process again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* A rescan will occur upon Agent reinstallation&lt;br /&gt;
* A rescan will occur upon the addition, removal, or resize of a disk&lt;br /&gt;
* A rescan will occur once the Source Machine is rebooted for the first time after Agent installation.&lt;br /&gt;
* A volume that was written to outside the system will not be consistent. (Ex. If a user shuts down a machine, attaches one or more of its volumes to a different machine, writes to the volumes, and then re-attached the volumes.) You must manually restart the Agent for the volume to be rescanned.&lt;br /&gt;
* Fast startup (hiberboot) is not supported. A rescan will occur if hiberboot is enabled.&lt;br /&gt;
* Restarting the CloudEndure service will cause a rescan.&lt;br /&gt;
* Boot from VHD is not supported – a rescan will occur.&lt;br /&gt;
* Bitlocker on the boot partition is not supported – a rescan will occur.&lt;br /&gt;
* Mirrored system partition is not supported – a rescan will occur.&lt;br /&gt;
Ref: https://docs.cloudendure.com/#Installing_the_CloudEndure_Agents/Installing_the_Agents/Installing_the_Agents.htm?Highlight=no%20rescan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Note: If an Agent in re-installed, then a new initial sync process will be started, and all of your saved Point in Time snapshots (in case of Disaster Recovery) will be deleted.&lt;br /&gt;
&lt;br /&gt;
====How to check the status of CloudEndure Agent====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
On the Source machine, enter the following command:&lt;br /&gt;
 ps -ef | grep cloudendure | grep -v grep | grep -v bash | wc -l&lt;br /&gt;
&lt;br /&gt;
The results are as follows:&lt;br /&gt;
&lt;br /&gt;
5 = The Agent is fully running&lt;br /&gt;
&lt;br /&gt;
Less than 5 = Some of the components may not be running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Uninstalling an Agent from a Linux Target machine====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Run as root or with sudo the following commands:&lt;br /&gt;
&lt;br /&gt;
 /var/lib/cloudendure/stopAgent.sh&lt;br /&gt;
 &lt;br /&gt;
 /var/lib/cloudendure/install_agent --remove &lt;br /&gt;
&lt;br /&gt;
Then remove the machine from the console. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to specify specific volumes to be replication====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 sudo python ./installer_linux.py -t &amp;lt;token&amp;gt; --force-volumes --devices=/dev/xvda --no-prompt&lt;br /&gt;
&lt;br /&gt;
* One caveat though, this flag isn&amp;#039;t supported if they&amp;#039;re doing AWS-&amp;gt;AWS replication setup. But if they are doing AWS-&amp;gt;AWS, they can work around that by changing it to OTHER-&amp;gt;AWS.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;b&amp;gt;--force-volumes&amp;lt;/b&amp;gt; must be used with the &amp;lt;b&amp;gt;--no-prompt argument&amp;lt;/b&amp;gt;  for cancelling the automatic Agent Installer detection of physical disks to replicate&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 sudo python3 aws-replication-installer-init.py --aws-access-key-id &amp;lt;accesskeyId&amp;gt; --aws-secret-access-key &amp;lt;secretAccessKey&amp;gt; --force-volumes --devices=&amp;quot;/dev/nvme0n1,/dev/mapper/mpathb,/dev/mapper/mpathc&amp;quot; --no-prompt&lt;br /&gt;
&lt;br /&gt;
====CloudEndure Networking and Communication====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
To know more about CloudEndure&amp;#039;s SSL encryption and network communication, please check your internal CloudEndure notes in quip.&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting Communication Errors====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
https://docs.cloudendure.com/#FAQ/Troubleshooting_Communication_Errors/Troubleshooting_Communication_Errors.htm%3FTocPath%3DNavigation%7CFAQ%25C2%25A0and%25C2%25A0Troubleshooting%7CTroubleshooting%2520Communication%2520Errors%7C_____0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Post Launch Scripts====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
https://docs.cloudendure.com/#FAQ/FAQ/Post_Launch_Scripts.htm?Highlight=post%20boot&lt;br /&gt;
&lt;br /&gt;
Example of one I used before:&lt;br /&gt;
 mkdir -p /boot/post_launch&lt;br /&gt;
 touch /boot/post_launch/clear_eth0.sh&lt;br /&gt;
 echo &amp;quot;#!/bin/bash&amp;quot; &amp;gt; /boot/post_launch/clear_eth0.sh&lt;br /&gt;
 echo &amp;quot;rm -f /etc/sysconfig/network/ifcfg-eth0&amp;quot; &amp;gt;&amp;gt; /boot/post_launch/clear_eth0.sh&lt;br /&gt;
 chmod +x /boot/post_launch/clear_eth0.sh&lt;br /&gt;
&lt;br /&gt;
This will utilize the post_launch functionality of the CloudEndure service, to automatically remove the ifcfg-eth0 file as the last step in the conversion process, thus removing the manual efforts needed after launch (When source machine has ens5, but conversion process generates an ifcfg-eth0 file which causes issues).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to install CE agent on RHEL6====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
1. Downloaded RHEL6.10 ISO from: https://archive.org/details/rhel-server-6.10-x86_64-dvd&lt;br /&gt;
2. Uploaded to my vCenter environment, and created a new VM.&lt;br /&gt;
3. Followed steps in https://www.tecmint.com/installation-of-rhel-6/ to install rhel6 on LVM partitions. Tried to configure the LVMs as similar as the customer&amp;#039;s. &lt;br /&gt;
&lt;br /&gt;
1. Installed the exact same kernel as customers on RHEL6 (2.6.32-754.35.1):&lt;br /&gt;
1A. http://rpm.pbone.net/resultsb_dist_79_size_30318452_name_kernel-firmware-2.6.32-754.35.1.el6.noarch.rpm.html&lt;br /&gt;
 # wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.10/updates/x86_64/Packages/kernel-firmware-2.6.32-754.35.1.el6.noarch.rpm&lt;br /&gt;
 # rpm -i kernel-firmware-2.6.32-754.35.1.el6.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
1B. http://rpm.pbone.net/info_idpl_73482398_distro_centos6_com_kernel-devel-2.6.32-754.35.1.el6.x86_64.rpm.html&lt;br /&gt;
 # wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.10/updates/x86_64/Packages/kernel-devel-2.6.32-754.35.1.el6.x86_64.rpm&lt;br /&gt;
 # rpm -i kernel-devel-2.6.32-754.35.1.el6.x86_64.rpm&lt;br /&gt;
1C. http://rpm.pbone.net/resultsb_dist_79_size_33985172_name_kernel-2.6.32-754.35.1.el6.x86_64.rpm.html&lt;br /&gt;
 # wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.10/updates/x86_64/Packages/kernel-2.6.32-754.35.1.el6.x86_64.rpm&lt;br /&gt;
 # rpm -i kernel-2.6.32-754.35.1.el6.x86_64.rpm&lt;br /&gt;
1D. Run dracut:&lt;br /&gt;
 dracut -v -f /boot/initramfs-2.6.32-754.35.1.el6.x86_64.img 2.6.32-754.35.1.el6.x86_64&lt;br /&gt;
&lt;br /&gt;
1E. Verified grub, default is 0, and is pointing to the kernel 2.6.32-754.35:&lt;br /&gt;
 cat /etc/grub.conf&lt;br /&gt;
&lt;br /&gt;
5. Reboot and confirm the kernel version is correct&lt;br /&gt;
 # uname -r&lt;br /&gt;
 2.6.32-754.35.1.el6.x86_64&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Attempted to install the CE agent, however, it failed due to gcc not found. Had to install gcc manually, which required some dependencies to be installed as well. See the next section below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====How to install gcc manually on RHEL6=====&lt;br /&gt;
----&lt;br /&gt;
(This is needed for CloudEndure Agent installation)&lt;br /&gt;
Had to install gcc manually, which required some dependencies to be installed as well:&lt;br /&gt;
&lt;br /&gt;
Download and install dependencies, and then install gcc-4.4.7-23:&lt;br /&gt;
&lt;br /&gt;
 # wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.3/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm&lt;br /&gt;
 # rpm -i ppl-0.10.2-11.el6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 # wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.6/os/x86_64/Packages/mpfr-2.4.1-6.el6.x86_64.rpm&lt;br /&gt;
 # rpm -i mpfr-2.4.1-6.el6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 # wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.3/os/x86_64/Packages/cloog-ppl-0.15.7-1.2.el6.x86_64.rpm&lt;br /&gt;
 # rpm -i cloog-ppl-0.15.7-1.2.el6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 # wget  ftp://ftp.pbone.net/mirror/vault.centos.org/6.10/os/x86_64/Packages/cpp-4.4.7-23.el6.x86_64.rpm&lt;br /&gt;
 # rpm -i cpp-4.4.7-23.el6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 # wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.10/os/x86_64/Packages/gcc-4.4.7-23.el6.x86_64.rpm&lt;br /&gt;
 # rpm -i gcc-4.4.7-23.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
You can run it as a script:&lt;br /&gt;
 #!/bin/bash &lt;br /&gt;
 wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.3/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm&lt;br /&gt;
 rpm -i ppl-0.10.2-11.el6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.6/os/x86_64/Packages/mpfr-2.4.1-6.el6.x86_64.rpm&lt;br /&gt;
 rpm -i mpfr-2.4.1-6.el6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.3/os/x86_64/Packages/cloog-ppl-0.15.7-1.2.el6.x86_64.rpm&lt;br /&gt;
 rpm -i cloog-ppl-0.15.7-1.2.el6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 wget  ftp://ftp.pbone.net/mirror/vault.centos.org/6.10/os/x86_64/Packages/cpp-4.4.7-23.el6.x86_64.rpm&lt;br /&gt;
 rpm -i cpp-4.4.7-23.el6.x86_64.rpm&lt;br /&gt;
 &lt;br /&gt;
 wget ftp://ftp.pbone.net/mirror/vault.centos.org/6.10/os/x86_64/Packages/gcc-4.4.7-23.el6.x86_64.rpm&lt;br /&gt;
 rpm -i gcc-4.4.7-23.el6.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====How to install the Replication Agent on a secured network for MGN (step-by-step guide)====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
1) Set up the MGN Replication template to use the private subnet (subnet-78c77246) and use private IP for replication.&lt;br /&gt;
&lt;br /&gt;
2) Create the following endpoints:&lt;br /&gt;
* s3 gateway endpoint (full access policy) - This is needed to wget the installer&lt;br /&gt;
* s3 interface endpoint (full access policy) - This will be used upon agent installation --s3-endpoint&lt;br /&gt;
* ec2 interface endpoint (full access policy)&lt;br /&gt;
* mgn interface endpoint (full access policy) - This will be used upon agent installation --endpoint&lt;br /&gt;
&lt;br /&gt;
3) Create the following:&lt;br /&gt;
* Bastion AL2 in public subnet&lt;br /&gt;
* Bastion Windows in public subnet&lt;br /&gt;
* Private AL2 in private subnet (subnet-78c77246)&lt;br /&gt;
* Private Windows in private subnet&lt;br /&gt;
&lt;br /&gt;
4) SSH to the private AL2 from the bastion AL2 and download the installer. Or use the Bastion Windows to RDP to the Private windows instance. &lt;br /&gt;
&lt;br /&gt;
5) Install the agent like so: &lt;br /&gt;
 sudo python3 aws-replication-installer-init.py --region us-east-1 --aws-access-key-id &amp;lt;access_key&amp;gt; --aws-secret-access-key &amp;lt;secret_access_key&amp;gt; --no-prompt --endpoint vpce-00d948d85cc80da2e-uz02i5zz-us-east-1b.mgn.us-east-1.vpce.amazonaws.com --s3-endpoint vpce-07bda406c858874d6-16mb55iu-us-east-1e.s3.us-east-1.vpce.amazonaws.com&lt;br /&gt;
&lt;br /&gt;
Replication started Successfully. Letting it reach CDP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====SSL Speed test for Linux ====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
See: https://docs.aws.amazon.com/drs/latest/userguide/perform-connectivity-bandwidth-test.html&lt;br /&gt;
&lt;br /&gt;
There are a couple options. You can use Lynx - A terminal web browser - https://www.geeksforgeeks.org/using-lynx-to-browse-the-web-from-the-linux-terminal/&lt;br /&gt;
&lt;br /&gt;
or speedtest-cli package. this works to do a speedtest against the CE Speedtest AMI without a browser in Linux: https://github.com/librespeed/speedtest-cli &lt;br /&gt;
&lt;br /&gt;
1. Launch a test EC2 instance using the publish AMI [https://docs.aws.amazon.com/drs/latest/userguide/perform-connectivity-bandwidth-test.html CE-ssl-speedtest] in your target region. The EC2 instance must be the same instance type as the replication server.&lt;br /&gt;
&lt;br /&gt;
2. Select the same subnet as the subnet used in the replication settings of your source server.&lt;br /&gt;
&lt;br /&gt;
3. Make sure that the security group allows TCP Port 1500 inbound access.&lt;br /&gt;
&lt;br /&gt;
4. On the source server, configure the SpeedTest CLI as shown in the following example:&lt;br /&gt;
 (Run as root)&lt;br /&gt;
 # cd /tmp&lt;br /&gt;
 # git clone https://github.com/librespeed/speedtest-cli.git&lt;br /&gt;
 # cd speedtest-cli/&lt;br /&gt;
 # ls -l&lt;br /&gt;
 # ./build.sh&lt;br /&gt;
* NOTE: You may need to install Go if you get &amp;quot;Go: command not found&amp;quot;. Here is how you can do it on AL2:&lt;br /&gt;
 # wget --no-verbose https://go.dev/dl/go1.20.5.linux-amd64.tar.gz&lt;br /&gt;
 # tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz&lt;br /&gt;
 # export PATH=$PATH:/usr/local/go/bin&lt;br /&gt;
 # go version&lt;br /&gt;
&lt;br /&gt;
Continue on...&lt;br /&gt;
 # ./build.sh&lt;br /&gt;
 # cat &amp;lt;&amp;lt; EOF &amp;gt;&amp;gt; ./servers.json&lt;br /&gt;
 [&lt;br /&gt;
   {&lt;br /&gt;
     &amp;quot;id&amp;quot;: 1,&lt;br /&gt;
     &amp;quot;name&amp;quot;: &amp;quot;PHP Backend&amp;quot;,&lt;br /&gt;
     &amp;quot;server&amp;quot;: &amp;quot;https://&amp;lt;test server private IP&amp;gt;:1500/speedtest/&amp;quot;,&lt;br /&gt;
     &amp;quot;dlURL&amp;quot;: &amp;quot;/garbage.php&amp;quot;,&lt;br /&gt;
     &amp;quot;ulURL&amp;quot;: &amp;quot;/empty.php&amp;quot;,&lt;br /&gt;
     &amp;quot;pingURL&amp;quot;: &amp;quot;/empty.php&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
  ]&lt;br /&gt;
 EOF&lt;br /&gt;
* make sure to replace the test server&amp;#039;s IP address. If you&amp;#039;re using the test server&amp;#039;s public IP for a speed test, include &amp;quot;getIpURL&amp;quot;: &amp;quot;/getIP.php&amp;quot; after the &amp;quot;pingURL&amp;quot; line.&lt;br /&gt;
&lt;br /&gt;
5. Run the LibreSpeed CLI as shown in the following example to test the replication speed:&lt;br /&gt;
 # ./out/librespeed-cli-linux-amd64 —local-json ./servers.json —server 1 —no-icmp —skip-cert-verify —simple&lt;br /&gt;
 Retrieving server list from https://librespeed.org/backend-servers/servers.php&lt;br /&gt;
 Selecting the fastest server based on ping&lt;br /&gt;
 Selected server: New York, United States (2) (Clouvider) [nyc.speedtest.clouvider.net]&lt;br /&gt;
 Sponsored by: Clouvider @ https://www.clouvider.co.uk/&lt;br /&gt;
 You&amp;#039;re testing from: 34.229.93.121 - Unknown ISP&lt;br /&gt;
 Ping: 12.55 ms	Jitter: 15.69 ms&lt;br /&gt;
 Download rate:	640.79 Mbps&lt;br /&gt;
 Upload rate:	661.86 Mbps&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.tecmint.com/check-internet-speed-from-command-line-in-linux/&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>