cd /
test -f /etc/init.d/DisabledMonTier-AgentNode && mv /etc/init.d/DisabledMonTier-AgentNode /etc/init.d/MonTier-AgentNode
montier_env_uninstall.sh
rm -fr /shared/* /logs/* /data/* /installs/* /app/custom /app/elasticsearch_nodes /app/sources /app/utils /app/version /app/scripts /app/flume /etc/sysconfig/MonTier /etc/profile.d/montier-profile.sh /etc/init.d/MonTier-* /data2*/* /data3*/* /data4*/*
for i in {1..10}; do echo "Attempt $i"; rpm -qa | grep -i -e montier -e product-logo | xargs --no-run-if-empty -I rrr rpm -e rrr; done;
|