How to uninstall a Pack

2

Uninstall a pack when the pack is no longer needed or software needs to be upgraded.

Procedure:1.Use PuTTY to log in to the active management node as user root.
2.Run the following command to go to the ${BIGDATA_HOME}/om-server/om/sbin/pack directory:cd ${BIGDATA_HOME}/om-server/om/sbin/pack
3.Run the following command to uninstall Porter:./unregister_pack.sh pack name

Other related questions:
How to uninstall the plug-in?
Step 1 Run the following command to go to the plug-in installation directory: # cd /etc # cd "Huawei eSight Server Management Plug-in (for Nagios)" Step 2 Run the following command to uninstall the plug-in: # python setup.py uninstall Step 3 When the following information is displayed, determine whether to retain user data based on the site requirements: Do you want to retain user data?(Y/N) If yes, enter y and pressEnter. If no, enter n and press Enter. The system begins to uninstall the plug-in. When the uninstallation is complete, the following information is displayed: setup.py=> [info] uninstall success. Done. Step 4 Check whether the main configuration file nagios.cfg is configured correctly. 1. Run the following command to return to the Nagios user: # su - nagios 2. Run the following command to check the main configuration file nagios.cfg. $ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg NOTE /usr/local/nagios is an installation directory example. The nagios.cfg file is correct if the following information is displayed: Things look okay - No serious problems were detected during the pre-flight check 3. Run the following command to return to user root. $ exit Step 5 Run the following command to restart the Nagios service: # service nagios restart The Nagios service has restarted if the following information is displayed: Stopping nagios: done. Starting nagios: done.

How can I uninstall the SMC2.0?
For details about the SMC2.0 uninstallation method, choose Start > Control Panel > All Programs > Programs and Features > Uninstallation program and find SMC2.0 uninstallation information.

How to Uninstall Antivirus Agent Software?
1.Choose Start > All programs. Find Huawei Antivirus Agent. 2.Choose Huawei Antivirus Agent > Uninstall. On the Huawei Antivirus Agent Uninstall page that is displayed, click Yes and then click OK. 3.The Antivirus Agent Software is uninstalled SUCCEEDly.

Why cannot an AR router send trap messages

SNMP provides the trap function to control the output of trap messages. An AR router generates trap messages only when the trap function has been enabled on the AR router.

Perform the following operations to enable the trap function on an AR router:

  1. Run the system-view command to enter the system view.
  2. Run the snmp-agent trap enable command to enable the AR router to send trap messages to the NMS.
  3. Run the snmp-agent target-host trap-paramsname paramsname v1 securityname securityname [ binding-private-value ] [ trap-filterprofilename filterprofilename ] [ private-netmanager ] command to set parameters for sending trap messages.
    NOTE:
    • V200R001C01 and later versions support binding-private-value.
    • V200R002C00 and later versions support private-netmanager.
  4. Run the snmp-agent target-host trap-hostname hostname address ipv4-addr [ udp-port udp-portid ] [ public-net | vpn-instance vpn-instance-name ] trap-paramsname paramsname command to specify the destination host for receiving trap messages and error codes.
    NOTE:

    The default destination UDP port number is 162. To ensure secure communication between the NMS and managed devices, run the udp-port command to change the UDP port number to a non-well-known port number.


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