I don't know whether to laugh or cry. This was supposed to be a simple task, and previous experience with the above process on HFA91 was a nightmare (I still have the grey hair logs from 6 months ago). We had to run reset_gw at least twice (consistently, both on R77.30 and R80.40 gateways), and from what I understand the process still leaves bits on the gateway, it knows it's VSX (i.e. vsx stat runs) so it's not exactly a fresh box. I've also had issues running vsx_util reconfigure following a reset_gw due to some leftover bits on the gateway under the context directory (/opt/Cpshrd-[version]/CTX/CTX000nn/stuff).
# reset_gw
Cleaning database [Error]
Reset Gateway operation terminated
# reset_gw
Cleaning database Error: There is a static or default route by name for interface wrp1
Error: Invalid MTU. Allowed MTU range is 68-16000
Error: libdb_do_transaction: connection closed during operation
Error: Couldn't connect to /tmp/xsets: Connection refused
Removing VSX directories [OK]
Reset Gateway operation finished successfully
I have also rebuilt the environment in several labs (both physical and virtual) using vsx_util reconfigure several times, which was successful when the customer's MDS was running R77.30. Since the MDS upgrade to R80.40 the process consistently fails - either the final step of the operation times out (after an hour or so and many Virtual Systems), or when it succeeds the Virtual Systems on the gateway have No Trust regardless of all documented SIC reset processes (including sk168393). This is another ongoing issue that TAC or PS have not been able to resolve, they say it's hardware related and FWIW have sent us new 7k's to rebuild the lab. Same process, expecting a different result? There's a term for that.
This being the case, I'm not willing to run vsx_util reconfigure if it will result in a worse situation than we are in now.
Admittedly the customer is running HFA91, which was the latest at the time we upgraded the MDS and staged the new gateways. It's critical infrastructure under strict change control so hotfixes are not a simple process, but since I have a major migration next week to the new cluster (the one where I cannot delete the VS) I think we'll have to do an emergency change to upgrade management (4 multi-domain servers) and the gateways, before I even consider running reset_gw or vsx_util reconfigure.
I budgeted 2 hours to build the VS and run the tests, it will probably end up being several days coordinating changes with emergency CAB and rebuilding things.