Pages

Monday, December 26, 2011

Migrate data to RSA AM 7.1


·         Backup data on current server (you can backup via operation-console or via comand):
o   Windows:
§  cd  c:/Program Files/RSASecurity/RSAAuthenticationManager/utils/
§  rsautil manage-backups -a export -r -D -f /tmp/backup.dmp 
o   Appliance:
§  Sudo su – rsaadmin
§  cd /usr/local/RSASecurity/RSAAuthenticationManager/utils/
§  ./rsautil manage-backups -a export -r -D -f /tmp/backup.dmp 
·         Copy data move to New RSA appliance  (backup.dmp and backup .secrets)
·         Import data into new server:
o   Windows:
§  cd  c:/Program Files/RSASecurity/RSAAuthenticationManager/utils/
§  rsautil setup-replication -a remove-primary  (Answer “Y” to the next Q and wait for the process to complete)
§  stop cac service cua RSA ngoai tru cac service lien quan den database
§  rsautil manage-backups -a import -r -D -f /tmp/backup.dmp -V –q
§  rsautil setup-replication -a set-primary (Answer “Y” to the next Q and wait for the process to complete)
o   Appliance:
§  Sudo su – rsaadmin
§  cd /usr/local/RSASecurity/RSAAuthenticationManager/utils/
§  ./rsautil setup-replication -a remove-primary  (Answer “Y” to the next Q and wait for the process to complete)
§  Cd ../server
§  ./rsaam stop all 
§  ./rsaam start db
§  Cd ../utils
§  ./rsautil manage-backups -a import -r -D -f /tmp/backup.dmp -V –q
§  ./rsautil setup-replication -a set-primary (Answer “Y” to the next Q and wait for the process to complete)
·         Update hosname and IP on new server:
o   Windows:
§  rsautil update-instance-node
--old-host Current_IP_Address
--new-host New_IP_Address
--instance primary
§  rsautil update-instance-node
--old-host Current_FQDN
--new-host New_FQDN
--instance primary
o   Appliance
§  ./rsautil update-instance-node
--old-host Current_IP_Address
--new-host New_IP_Address
--instance primary
§  ./rsautil update-instance-node
--old-host Current_FQDN
--new-host New_FQDN
--instance primary
·         Start service
o   Windows
§  Start all servives on services.msc
o   Appliance
§  Cd ../server
§  ./rsaam start all

2 comments:

  1. This is exactly what I needed in regards to exporting the RSA AM DB via command line and an easy to follow upgrade instructions. Nice work!

    John

    ReplyDelete