HP WBEM Services for HP-UX System Administrator Guide
If you cannot restore the files, the init_repository script will restore the files to the way they
were when you first installed HP WBEM Services. The default providers that installed with HP
WBEM Services will be intact. However, any managed objects, providers, or namespaces that
you added since you first installed HP WBEM Services will be removed. You will need to re-register
(or re-install) all the added providers.
To run the init_repository script, enter the following commands:
1. Shut down the CIM Server.
cimserver -s
2. Move the repository directory.
mv /var/opt/wbem/repository
/var/opt/wbem/repository.bak
3. Start the CIM Server.
cimserver
4. Run the init_repository script.
/opt/wbem/sbin/init_repository
The following list of errors and warnings is displayed. Ignore these warning:
PGS04838: Warning: Class CIM_ManagedElement already exists in the repository
PGS04838: Warning: Class CIM_ManagedSystemElement already exists in the repository
PGS04838: Warning: Class CIM_LogicalElement already exists in the repository
PGS04838: Warning: Class CIM_OperatingSystem already exists in the repository
PGS04838: Warning: Class CIM_System already exists in the repository
PGS04838: Warning: Class CIM_ComputerSystem already exists in the repository
PGS04838: Warning: Class CIM_UnitaryComputerSystem already exists in the repository
Removing HP WBEM Services
To remove HP WBEM Services, run the following command:
# swremove WBEMServices
When products are in your environment, which have a dependency on the file sets of HP WBEM
Services, then this command might result in an error. In this error occurs, run the following command
to remove HP WBEM Services:
# swremove -x enforce_dependencies=false WBEMServices
32 Installing and setting up HP WBEM Services