Changes

stoney cloud: Resetting your Test-Environment

1,647 bytes added, 12:15, 12 February 2015
Now you reset the LDAP server with the the previously created backup:
<source lang="bash">
cp /root/stoney-cloud-reset/OpenLDAPmasterBackup.ldif.2015-02-12 /var/backup/ldap/vm-test-01.int.stoney-cloud.org/.
/usr/sbin/restoreOpenLDAPmaster.sh
</source>
You'll be led through the restore process:
<source lang="bash">
The following machines have an existing OpenLDAP backup:
###################################################################################################
total 4
drwxr-sr-x 4 root vm-storage 74 25. Dez 2013 .
drwx--S--- 5 root vm-storage 81 2. Apr 2014 ..
drwxr-sr-x 2 root vm-storage 4096 12. Feb 03:00 vm-test-01.int.stoney-cloud.org
drwxr-sr-x 2 root vm-storage 92 12. Feb 03:00 vm-test-02.int.stoney-cloud.org
 
Please enter the machine from which you want to restore from:
vm-test-01.int.stoney-cloud.org
 
The following OpenLDAP backups exist:
###################################################################################################
total 1100
drwxr-sr-x 2 root vm-storage 4096 12. Feb 03:00 .
drwxr-sr-x 4 root vm-storage 74 25. Dez 2013 ..
-rw------- 1 root vm-storage 735229 11. Feb 10:26 OpenLDAPmasterBackup.ldif.2015-02-10
-rw------- 1 root vm-storage 192334 11. Feb 13:36 OpenLDAPmasterBackup.ldif.2015-02-11
-rw------- 1 root vm-storage 193662 12. Feb 11:55 OpenLDAPmasterBackup.ldif.2015-02-12
 
Please enter the date of the backup to restore in the form of YYYY-DD-MM (for example: 2007-10-15):
2015-02-12
</source>
 
The LDAP server has now been restored to the state from 2015-02-12, the indices have been created and the LDAP server has been started.
 
== Start the Web Server ==
Start the Web server on the Primary-Master-Nodes:
<source lang="bash">
/etc/init.d/apache2 start
</source>
[[Category: Installation]]
[[Category: stoney cloud]]
SLB, editor, reviewer
3,368
edits