Summary: This article contains step-by-step instructions on how to copy the current configuration of Cayosoft Administrator from Production to Test server.
Applies to: Cayosoft Administrator 7.0.0 or later
ID: KB20200417-1
Note 3: If you want to move your production, please read this KB: https://support.cayosoft.com/hc/en-us/articles/360015557952--DB-backup-and-maintenance#MovingCayosoftAdministratortoanewserver
-
On the Test server install the same version of Cayosoft Administrator as on Production server
-
Stop the Cayo Admin service
-
On the Production server:
-
Open the Cayosoft Administrator Configuration console
-
Navigate to Home > Configuration > Settings > Configuration Databases
-
Export the encryption key (Make note of the password)
-
Stop the CayoAdminService service
-
In File Explorer navigate to C:\Program Files\Cayo Software\AdminAssistant
-
Copy all files listed as Database in C:\Program Files\Cayo Software\AdminAssistant\ on the Production server to C:\Program Files\Cayo Software\AdminAssistant\ on the Test server
(Replace the files on the Test Server with the files from the Production server)
-
- On the Test server:
- Run the script below to disable all extensions. You will specify different connection accounts and enable them later:
#Script to disable Office 365 extension
Add-Type -Path "C:\Program Files\Cayo Software\AdminAssistant\System.Data.SQLite.dll"
$con = New-Object -TypeName System.Data.SQLite.SQLiteConnection
$con.ConnectionString = "Data Source=C:\Program Files\Cayo Software\AdminAssistant\Cayo.PolicyManager.db"
$con.Open()
$sql = $con.CreateCommand()
$sql.CommandText = "UPDATE 'extStatusesDb' SET 'enabled'=0 WHERE extId in ('Office365Ext', 'PM.Ext.AD', 'PM.Ext.ADLDS', 'PM.Ext.ExchangeOnPrem', 'PM.Ext.LyncOnPerm')"
$sql.ExecuteNonQuery()
##
- Start the CayoAdminService
-
Open the Cayosoft Administrator Configuration Console
-
Navigate to Home > Configuration > Settings > Configuration Databases
-
Import the encryption key (Use the password you made note of the in step 2.3)
-
Navigate to Home > Configuration > Connected Systems Extensions
-
Check Extension is enabled for each extension that you need to use
-
For each extension specify connection account that is different from the account used for the same extension on the Production server
Important: During installation, each Standalone Server must be configured to connect to the platforms to be managed by service accounts specific to that server. For example, if you have two different servers each of which will be used to manage Office 365, two separate service accounts must be used. In other words, each Cayosoft Server should have its own set of service accounts for all managed platforms: Active Directory, Microsoft Office 365, Exchange Server on-premise, and Microsoft Skype Server on-premise. -
Don't forget to grant consent for Office 365 connection account
-
Save changes
-
Navigate to Home > Configuration > Web Portal > Web Portal Settings
-
In Server URL specify the new server URL
-
If Self-Service Password Reset solution was enabled, provide an encryption password used to protect data stored in Active Directory. For that:
-
Navigate to Home > Configuration > Web Portal > Web Actions > Common
-
Select the Self-Service - Password Self-Service Enrollment Details rule
-
Enter the encryption password, configured on the initial Service, to the Password to encrypt data in AD setting
-
-
Close the console and restart the CayoAdminService.
Comments
0 comments
Please sign in to leave a comment.