Process - Cleanup Postgres Server 1.0

Product Version

2.2

Product To Version


Status

final

1 Process

DescriptionThe process cleanup_pgserver removes a simple PostgreSQL-server (installed before using Process - Setup Postgres Server 1.0) and according data. The process is intended to be used by CI processes, in order to reset a machine back into initial state.

Warning

Never run this process on production systems, since all data will definitely be deleted.

Example: cleanup postgresql server
ANSIBLE_LIBRARY=<path to Ansible4IOM>/modules/ \
ANSIBLE_ROLES_PATH=<path to Ansible4IOM>/roles/ \
ansible-playbook -i <path to inventory file>/inventory \
<path to Ansible4IOM>/processes/cleanup_pgserver.yml

1.1 Steps

The process consists of the following steps:

  1. pgserver_cleanup
    1. Remove postgreSQL service, server and data.

1.2 Background Information

Process cleanup_pgserver removes a PostgreSQL server. The process is controlled by variables defined in roles/pgserver_config/defaults.

Have a look into the according file, to get information about which variables are available.

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets