How Can I Determine Whether Resources Exist in the Recycle Bin of ServiceCenter

8

【Product�?
ManageOne ServiceCenter

【Version�?
3.0.5, 3.0.7, 3.0.8, and 3.0.9

【Question�?
How can I determine whether resources exist in the recycle bin of ServiceCenter?

【Answer�?
If there are a large number of VDCs on ServiceCenter, you cannot determine whether resources in each VDC exist in the recycle bin. You can run the database query command to check whether resources exist in the recycle bin.

Step 1 Log in to the ServiceCenter active node as user galaxmanager.

Step 2 Run the following command to enter the engineering mode:
gotoEngineerMode

Step 3 Run the following command to check whether the resources exist in the recycle bin:
su -l dbadmin -c "gsql -W Manager@123 -c \"select * from ssp.tbl_recover_resource;\""
Check the command output. If the command output contains 0 records, no resource is in the recycle bin.

----End

Other related questions:
How Do I Change the Frozen Period of the ServiceCenter Recycle Bin
【Product�? ManageOne ServiceCenter 【Version�? 3.X 【Question�? How do I change the frozen period of the ServiceCenter recycle bin? 【Answer�? Step 1 Use PuTTY to log in to the ServiceCenter node. Use user galaxmanager and the API network floating IP address to log in to the ServiceCenter node. The default password is Huawei@CLOUD8. Use the management IP address for login if ServiceCenter is deployed in single-node mode. Step 2 Run the following command to disable PuTTY logout upon system timeout: TMOUT=0 Step 3 Run the following command to change the frozen period of the recycle bin: confDelayTimeSwitch t t indicates the frozen period. The unit is hour. The value is an integer in the range from 0 to 168. The default value is 24. If the following information is displayed, the frozen period has been changed. Modify the freezing period successfully. ----End

How to empty the recycle bin of a WLAN device
To empty the recycle bin of a WLAN device, run the following command: reset recycle-bin Description: After you run the delete xxx command in the user mode, files are placed in the recycle bin directory and still occupy the storage space. You can run the dir /all command to display all the file information, including information about the deleted files (identified by [ ]) which can be restored using the undelete command. To completely remove the files from the recycle bin, run the reset recycle-bin command. Files deleted using the delete command without the /unreserved parameter will be placed in the recycle bin.

How to delete the files in the recycle bin
Using the reset recycle-bin [ filename ] command, you can delete the files in the recycle bin. The files in the recycle bin cannot be restored after being deleted.

How to clear the recycle bin of an S series switch
For S series switches (except S1700 switches), run the following command to clear the recycle bin:
<HUAWEI> reset recycle-bin
Note: The delete XXX command in the user view only moves files to the recycle bin, but does not release the storage space. You can run the dir/all command to view information about all files, including deleted files in the recycle bin marked in brackets ([ ]). These files can be restored using the undelete command. To permanently delete these files from the recycle bin, run the reset recycle-bin command. The files that are deleted using the delete command without the /unreserved parameter are saved in the recycle bin.

An Internal Error Is Reported When I Delete a VM That Has Passed the Frozen Period from the ServiceCenter Recycle Bin
【Product�? ManageOne ServiceCenter 【Version�? 3.0.9 【Fault Type�? Resource management fault 【Symptom�? An internal error is reported when a VM that has passed the frozen period is deleted from the recycle bin. 【Fault Locating�? Possible cause: The VM is directly deleted from FusionSphere OpenStack. Check method: Use PuTTY and the reverse proxy IP address to log in to the FusionSphere OpenStack server as user fsp. The default password is Huawei@CLOUD8. Run the nova list --all-t command to query all VMs. Conclusion: The VM to be deleted in the ServiceCenter recycle bin does not exist on FusionSphere OpenStack. 【Troubleshooting Procedure�? In the recycle bin of ServiceCenter, click the recovery icon of the VM where the error occurs. The VM is successfully deleted from the recycle bin. 【Suggestions and Summary�? Directly perform operations such as creating and deleting VMs on ServiceCenter, other than on FusionSphere OpenStack. ----End

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top