The log rotation for V CS A seven is not as effective as previous versions. This can lead to the storage and log becoming full and the storage bundles to be excessively large. The best solution to this is to set up a more efficient log rotation using the following steps. The first step we are taking involves reducing the log rotation of the E AM service to do this. We shall use the VCENTER server shell. Firstly, we shall create a backup of the server dot XML file using the command currently on display. Once this is completed, we shall change directory to the folder containing the previously mentioned file. After which we shall use the LS command to verify a backup had indeed been created. After this.
We use the V I command to enter the text editor of the server dot XML file. Once here look for the valve class name line which is highlighted here. Once you have located the line in question, navigate towards it and enter the following parameter max days equal to your desired number of days. In this example, we shall be using 30 days once this is completed, save your changes and exit from the file through this. We shall use the WQ command upon exiting the V I editor. We shall restart the vmware E A service by entering the following command service, dash control, dash dash restart, vmware dash E AM.
As we see the service has been successfully restarted. Next, we shall correct an issue with the IM file overshoot. First, we shall take a backup of the original post degrees archive or CIS log configuration to do this. We shall use the command now being displayed on screen. Once this has been completed, we shall use the V I text editor to edit the post gray's archive or CIS log configuration file currently on display. Once inside the text editor first comment out the pre-existing text as shown now using the hashtag symbol.
Once this has been completed, you shall begin to enter the following content. Once this content has been added, you can then move to save your changes and exit from the V I editor to do this. You can use the WQ command as shown here. After exiting the V I editor, you can use the cat command on the previously mentioned file to verify that the content has indeed saved and been updated. Finally, we shall restart the or CIS log by using the following command system CTL restart or CIS log.