SymptomsIt is necessary to synchronize multiple PBA-E stores in a batch. Such necessity may occur in order to reapply new settings or due to other reasons.
Resolution1. Use the following command in order to synchronize all stores, registered in PBA-E:
# SSMROOT=~bm; ssm -D start ascript /usr/local/bm/scripts/syncall.asc
2. Use following command to synchronize selected stores, which ids are listed in the file stores.txt:
# cat stores.txt | while read line; do echo "Syncing store "$line; SSMROOT=~bm; ssm -D start ascript /usr/local/bm/scripts/sync_store.asc $line; echo "Done"; done
File stores.txt is supposed to contain id of the stores to synchronize as in the following example:
# cat stores.txt