I'm running SQL Server 2012 with High Availability Groups. I have a database in the HA Group that has multiple datafiles spread across multiple volumes. One of the volumes is getting low on storage so I would like to limit the growth of one of the datafiles on that volume. I tried this in my test HA database cluster and it seemed to work fine. I changed the maxsize of a datafile, and then failed over the Availability Group to the secondary node and looked at the properties on the data file on the secondary (new primary) node. The maxsize reflected the same maxsize setting. Appears the alter database statements are logged and sent to the secondary replica. Just wanted to check to make sure this is ok to do before I try this in production. Anyone have any experience with altering database and datafile properties of a database that is participating in a Availability Group?
Thanks in advance for any advice!