Change snapsync policy for dSource using CLI

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Is there a way to change snapSync policy from CLI.
Photo of Imran

Imran

  • 240 Points 100 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Adam Bowen

Adam Bowen, Official Rep

  • 17,420 Points 10k badge 2x thumb
Absolutely. It is the Policy namespace. Go to http://<IP of Delphix Engine>/api and look at the Policy namespace.
Photo of Adam Bowen

Adam Bowen, Official Rep

  • 17,420 Points 10k badge 2x thumb
Oops. I misread your question as API. :)
Photo of Srish Sriram

Srish Sriram, Employee

  • 1,280 Points 1k badge 2x thumb
Hi Syed,

Yes, it is possible to change a SnapSync policy from the Delphix CLI interface. From the main interface, enter "policy" to navigate to the policy interface. From there, you can enter the command "select (policy name)" to view details regarding the SnapSync policy. You can modify policy details here. If you would like to modify the policy schedule, you can do so by performing the command "select scheduleList", then modifying the information in that interface.

I hope that's clear. Feel free to let me know if you need any clarification.

Thanks,

Srish
Photo of Imran

Imran

  • 240 Points 100 badge 2x thumb
I don't want to update policy. I want dSource to use different policy for snapSync but I want to make this change using CLI instead of GUI. GUI has bug where it cuts policy display list.
Photo of Srish Sriram

Srish Sriram, Employee

  • 1,280 Points 1k badge 2x thumb
Hi Syed,

Sorry, I misunderstood your question. You can also change SnapSync policies from the policy interface in the CLI. Enter "policy" to enter the policy interface, then enter the command "select (policy)" to choose the policy you wish to apply.

From there, enter "apply". Enter the command "set target=(object you would like to change the policy of)". Use the "commit" command to finalize the policy change.
Photo of Imran

Imran

  • 240 Points 100 badge 2x thumb

Thanks. It works