To work around this issue, increase the time out duration for PowerCLI script on vCenterServer by adding the advanced parameter
config.vpxd.userCommandTimeoutSecs with the required value.
To add the advanced parameter:
- Log in to vCenter Server through vSphere Client.
- Select Administration and click vCenter Server Settings.
- Select Advanced Settings in the settings list.
- Enter config.vpxd.userCommandTimeoutSecs in the Key field.
- Enter 600 in the Value field for increasing the time out duration to 10 minutes.
Note: The Value for config.vpxd.userCommandTimeoutSecs is set in seconds.
- Click Add
- Click OK.
Note: Restarting vCenter Server is not required to apply the new setting.