Search

3.3. Removing User Data

download PDF
Remove a former user's application and domain data if they are no longer required.

Warning

The following procedure removes all of a user's application data from the system and cannot be reversed.

Procedure 3.2. To Remove User Data:

  1. Prevent the user from creating more gears by running the following command on the broker host:
    # oo-admin-ctl-user -l username --setmaxgears 0
  2. Retrieve the user's domain and application names:
    # oo-admin-ctl-domain -l username | egrep -i '^name:|^Namespace:'
  3. Remove the user's applications by running the following commands for each application found in the previous step:
    # oo-admin-ctl-app -l username -a app1 -c stop
    # oo-admin-ctl-app -l username -a app1 -c destroy
    Use the force-destroy parameter to remove particularly troublesome applications:
    # oo-admin-ctl-app -l username -a app1 -c force-destroy
  4. Delete the user's domain:
    # oo-admin-ctl-domain -l username -c delete -n testdomain
The user's application data is now removed and the user cannot create any new applications; the account is effectively deactivated.
To reactivate a user's account, set the maximum amount of gears to a desired amount. Note that the --setmaxgears option may be restricted based on the user's configuration settings:
# oo-admin-ctl-user -l username --setmaxgears 5
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.