Install CCS components and register CCS Manager
This step includes installing CCS Application Server and CCS Manager, and then registering the new CCS Manager with the Application Server.
Perform the following steps to install the CCS components and register CCS Manager:
Install CCS Application Server
Consider the following prerequisites before you install CSS Application Server:
- The operating system, credentials, passphrases, and other environment settings on the machine where you want to restore CCS Application Server must be the same as the previously used CCS Application Server.
- All the shared locations must be accessible to the CCS Service user. The installation also must use the same CCS Service user account that was used in the previous CCS Application Server.
- For restoring a CCS Application Server deployment, use a temporary SQL Server.
Configure the CCS_Suite.xml file
Note
: Ensure that valid CCS licenses are available at <NetworkShared>\Ansible_FreshSilentInstall\CCSLicenses\.
Before you install, make sure to update the
CCS_Suite.xml
file, which is available in the automation folder, Ansible_FreshSilentInstall
, as shown in the following examples:Before you install, also make sure to update the<Settings Name="Licenses"><License File="C:\Ansible_FreshSilentInstall\CCSLicenses\*"></License></Settings><Settings Name="CSI.TargetPathPageActivity"><Property Name="Target path" Value="C:\Program Files (x86)\Symantec\CCS\Reporting and Analytics"></Property><Property Name="Cache path" Value="C:\ProgramData\Symantec\CSM-RA\MediaCache"></Property></Settings><Property Name="User name" Value="Domain\UserName>"></Property><Property Name="SQL Server" Value="SQL_Server_Host\InstanceName"></Property>
secureConfig.enc
file on the Ansible host machine as shown in the following example using the ansible-vault edit secureConfig.enc
command:
Before you install, make sure to open the Ansible inventory host file atbecome_user: <NetworkLocationUserName> become_pass: <NetworkLocationPassword> apsusername: <ApplicationServerServiceAccountUserName> apspassword: <ServiceAccountPassword> EMSPassphrase:<EncryptionManagmentServicePassPhrase> APSPassphrase:<AppServerServicePassPhrase> EMSUserName: <EncryptionManagementServiceAccountUserName> EMSPassword: <EncryptionManagementServicePassword>
/etc/ansible/hosts
, uncomment the IP of the Application Server machine and save it. You may run the vim /etc/ansible/hosts
command.
Run the following command on the Ansible host machine in which you want to install CCS Application Server:
ansible-playbook CCS_APS_Install.yml -e @secureConfig.enc -e 'winhost=<IPAddressApplicationServer>'
Added SQL Server Always On support for CCS databases
The CCS installer supports the SQL Server Always On feature. After the CCS database is created on SQL Server, you can take a Full backup of the CCS databases and configure SQL Server Always On for CCS production database (CSM_DB) and reporting database (CSM_Reports).
Generate a new certificate for the new CCS Manager
Before you generate a certificate, make sure to update the
secureConfig.enc
file on the Ansible host machine as shown in the following example using the ansible-vault edit secureConfig.enc
command.dpscertpassword: <CCSMangerCertificatePassword> signature_algorithm: "sha1RSA" keysize: "2048" organization: <OrganizationName>
Run the following command on the Ansible host to generate a new certificate for the CCS manager, which will be used to register with the newly restored Application Server:
ansible-playbook Generate_Cert.yml -e @secureConfig.enc -e 'ccsinstall_path="C:\\Program Files (x86)\\Symantec\\CCS\\Reporting and Analytics" ccsbackup_path="\\\\Network shared CCSBackup_Folder Path" ccsmanager_host="CCSManagerhostname"'
Install CCS Manager
For a standalone CCS Manager deployment, make sure to complete the following steps:
- Open the Ansible inventory host file, uncomment the IP of the CCS Manager, and save the file.
- Generate a CCS Manager certificate on the Application Server system. See Generate a new certificate for the new CCS Manager.
- Copy the CCS Manager certificate to theAnsible_FreshSilentInstallfolder.
- Edit theCCSManager.xmlfile, which is available in the automation folder, Ansible_FreshSilentInstall, and add the CCS manager certificate path as shown in the following example:<Settings Name="CSI.BladeParametersPage"> <Property Name="Server port number" Value="5600" /> <Property Name="Certificate file path" Value="C:\Ansible_FreshSilentInstall\<CCSManagerCertificateName>" /> <Property Name="RU Package Path" Value="" /> </Settings>
- Edit thesecureConfig.encfile and provide the CCS Manager certificate password as followsdpscertpassword: <CCSMangerCertificatePassword>
- Run the following command on the Ansible host machine to install the CCS Manager on the remote machine:ansible-playbook CCS_Manager_Install.yml -e @secureConfig.enc -e 'winhost=<CCSManagerhostname>'
Register the new CCS Manager with the Application Server using a given role
Before you register, make sure to open the Ansible inventory host file, uncomment the IP of the Application Server, and save the file. Also, you can change the values of the following keys based on your requirement for the CCS manager role and data source configurations as listed in the following example:
- ccsmanager_role: Data Collection Service, Load Balancer Service, Data Evaluation Service, Reporting Service, External Data Connector Service
- datasource: CSV File, Database using ODBC Connection, Directory Server (LDAP), Exchange Data Collector, VMware Data Collector
- ccsmanager_site: Change the value if you want to use or create any other site other thanDefault site
secureConfig.enc
file on the Ansible host machine using the ansible-vault edit secureConfig.enc
command, and then run the following command shown as an example:ansible-playbook RegisterCCSMgr.yml -e @secureConfig.enc -e 'ccsinstall_path="C:\\Program Files (x86)\\Symantec\\CCS\\Reporting and Analytics" ccsmanager_host="<CCSManagerhostname>" ccsmanager_site="Default Site" ccsmanager_role="Load Balancer Service, Data Collection Service" ccsmanager_port=5600 datasource="CSV File" reportingsyncserver="<reportingCCSManagerhostname>"'