N2W Software

            How to change instance type of S3 worker instances

            Some clients may need worker instances with more ram and CPU power. You can use this process to modify the ec2 instance type used for worker instances.
            We highly recommend not to change size unless it was suggested by the N2WS support team. Otherwise you may incur additional cost and slower S3 operations.

            • Connect (via ssh) to the machine running cpm (you will probably need to execute "sudo -ito gain the root privileges )
            • In folder /cpmdata/conf/ create a text file named cpmserver.cfg (if it does not already exist)
            • Open the file in a text editor (vi or nano) and add the following lines in green under [backup_copy].
              If [backup_copy] already exists, please add the lines under it:

            [backup_copy]

            Worker Instance types (selected based on instance size) for S3 Copy:

            max_instance_size_for_small_copy_worker = 1024
            max_instance_size_for_medium_copy_worker = 1250

            for total volumes size of protected instance under max_instance_size_for_small_copy_worker use:
            worker_types_for_small_copy_worker = c5.large, m5.large

            for total volumes size of protected instance between max_instance_size_for_small_copy_worker and max_instance_size_for_medium_copy_worker use:
            worker_types_for_medium_copy_worker = c5.xlarge, m5.xlarge

            for total volumes size of protected instance over max_instance_size_for_medium_copy_worker use:
            worker_types_for_large_copy_worker = c5.2xlarge, m5.2xlarge
             

            Worker Instance types (selected based on instance size) for Restore

            max_instance_size_for_small_restore_worker = 1024
            max_instance_size_for_medium_restore_worker = 1250

            for total volumes size of protected instance under max_instance_size_for_small_restore_worker use:
            worker_types_for_small_restore_worker = c5.large, m5.large

            for total volumes size of protected instance between max_instance_size_for_small_restore_worker and max_instance_size_for_medium_restore_worker
            worker_types_for_medium_restore_worker = c5.xlarge, m5.xlarge

            for total volumes size of protected instance over max_instance_size_for_medium_restore_worker use:
            worker_types_for_large_restore_worker = c5.2xlarge, m5.2xlarge


            Worker Instance types (selected based on instance size) for Cleanup:

            max_instance_size_for_small_cleanup_worker = 1024
            max_instance_size_for_medium_cleanup_worker = 1250

            for total volumes size of protected instance under max_instance_size_for_small_cleanup_worker use:
            worker_types_for_small_restore_worker = c5.xlarge, m5.xlarge


            for total volumes size of protected instance between max_instance_size_for_small_cleanup_worker and  max_instance_size_for_medium_cleanup_worker use:
            worker_types_for_medium_restore_worker = c5.xlarge, m5.xlarge

            for total volumes size of protected instance over max_instance_size_for_medium_cleanup_worker use:
            worker_types_for_large_cleanup_worker = c5.2xlarge, m5.2xlarge
            • save the file
            • restart the CPM apache2 service by executing: sudo service apache2 reload

            Notes: 

            • All sizes are in GB
            • Instance size = cumulative size of all instance’s volumes

            Helpful?  
            Help us to make this article better
            0 0