Hi Raj,

Yes, there's lot many things to take care about, for non-cass guy, link is
an eye opener :)

create snapshots from all nodes in cluster

schema backup

incremental backups

cleanup and restore schema, snapshots and backups

If moving to new cluster, then configure initial_tokens from old cluster

if the new cluster is not of same size, then some more different actions

use-cases are very dynamic, where in some cases need manual commands.

Regards,
Yatin

On Wed, Aug 12, 2015 at 5:33 AM, Raj Reddy <[email protected]> wrote:

> Hi Yatin,
>
> The script does not follow the full procedure of restoring from snapshot
> and according to
>
> http://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_backup_restore_c.html
> ,
> different things need to be done in different scenarios.. I think complex
> cassandra operations like
> adding/removing/replacing nodes should involve manual intervention..
>
> I would prefer we don’t put this ‘incomplete' script on the target..
>
> regards,
> -Raj
>
> On Aug 11, 2015, at 4:31 AM, yatin kumbhare <[email protected]>
> wrote:
>
> this script should be placed under 'contrail-provisioning-tools" package.
>
> The script is missing from SConscript [
> https://review.opencontrail.org/#/c/12920/ ]
>
> I guess, the contrail-packages will pick up this script.
>
> Correct my understanding, if it's not valid.
>
> Regards,
> Yatin
>
> On Fri, Aug 7, 2015 at 9:49 AM, yatin kumbhare <[email protected]>
> wrote:
>
>> The script at
>>
>>
>> https://github.com/Juniper/contrail-controller/blob/master/src/config/utils/cass-db-restore.sh
>>
>> The code location says /utils,  hence, we should bring that to
>> /opt/contrail/utils location.
>>
>> Which contrail repo, we should look into for this work?
>>
>> Regards,
>> Yatin
>>
>> On Thu, Aug 6, 2015 at 10:47 PM, Ashish Ranjan <[email protected]> wrote:
>>
>>>
>>> I see the issue. Raj could you guide Naveen.
>>>
>>> (We should fix the doc or put the correct script in /opt/contrail/utils.
>>> I see cass-db-restore.sh is there.)
>>>
>>> Ashish
>>>
>>> ------------------------------
>>> *From:* Dev <[email protected]> on behalf of NAVEEN R
>>> K REDDY <[email protected]>
>>> *Sent:* Wednesday, August 5, 2015 11:20 PM
>>> *To:* [email protected]
>>> *Subject:* [opencontrail-dev] Cassandra backup and restore
>>>
>>> Hi All
>>>
>>> I have gone through the below mentioned link for the Cassandra backup
>>> and restoring.
>>>
>>>
>>> https://techwiki.juniper.net/Documentation/Contrail/Contrail_Controller_Feature_Guide/Optimizing_Contrail/110_Saving_and_Restoring_Configurations
>>>
>>> I tried for the cass-db-restore-v4.sh script, but not able find it.
>>>
>>> Can anyone point me to the location of that script ?
>>>
>>>
>>> Thanks,
>>> Naveen.
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
>>>
>>>
>>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to