Sysvol sync temporarily stop

Hi, This is my scenario:
Ucs-Master
Ucs-Backup
Ucs-Slave1
Ucs-Slave2
Usc-Slave3

sysvol are synchronized between all UCS servers

Now I’ve to delete all actual PolicyDefinitions to upgrade at new 2004-PolicyDefinitions.
rm -r /var/lib/samba/sysvol/**********.intranet/Policies/PolicyDefinitions on Master doesn’t not working beacuse other ucs servers continue writing its .admx, than I cannot clean dir.

Is it possible temporarily stop sync to clean and replace PolicyDefinitions contents?

rg
Christian

Thank you @externa1
I’ve build a ansible job to clean dir:

- hosts: all

  tasks:
    - name: Remove Files from All Servers
      file:
        state: absent
        path: "/var/lib/samba/sysvol/cdlmvenezia.intranet/Policies/PolicyDefinitions/"
1 Like
Mastodon