You deploy Cora SeQuence applications using PowerShell.
Cora SeQuence applications should be deployed by IT Administrators or DevOps engineers who are familiar with PowerShell.
All Cora SeQuence functions support common parameters.
For more information about common parameters, see this page.
Before you begin
Before you deploy the Cora SeQuence application, make sure that:
The database is ready.
The required deployment package is accessible locally, over a network share, or web location.
The server is setup with the following requirements:
- The Windows Server is setup with Windows Server 2016 and later.
- Required software:
- .NET Framework Runtime 4.7.2
- SQL 2017 System CLR type
- The required roles and features have been installed.
For the complete list of required roles and features see this article.
It is recommended to install the roles and features and required software in advance. If these requirements have not been installed prior to the deployment, the deployment script attempts to silently install them.
Deploying applications involves the following main steps:
|1||Installing PowerShell modules|
|2||Deploying the application|
|3||Configuring bindings—required only the first time you deploy a site|
|4||Configure authentication for site applications|
Install PowerShell modules on the target server
You install the PowerShell modules on the target server in this location:
c:\Program Files\WindowsPowerShell\Modules. Perform this procedure once per target server. You can install the modules using NuGets CLI or PowerShell.
Click here to download a sample PowerShell script.
Deploy the application
- On the target machine, open Windows PowerShell, and then run the following function:
Install-CoraSeQuenceApplication with the SourcePath parameter pointing to the deployment package location.
Install-CoraSeQuenceApplication -SourcePath "http://mycomputer.local/Administration.zip"
Use the Verbose parameter when running the PowerShell functions.
- Repeat step 1 for every application that you want to deploy.
- To set the connection to the database for all the deployed applications, run the following function:
Set-CoraSeQuenceConnectionString with the following parameters: SQLServer, Database, and EncryptedCredentials, if you use SQL authentication to connect to the database.
Set-CoraSeQuenceConnectionString -SQLServer "dev1234\CoraSeQuence" -Database "CoraSeQuenceDB" -EncryptedCredentials "08090808808008808"
After the deployment process completes, the applications are located at these default locations:
C:\Program Files\Genpact Digital\Cora SeQuence\[ServiceName]
Refer to the
.appinfofile located under the application's folder for information on the deployed application. The
.appinfoprovides a list of all the modules included in the application and their versions.
Configure site bindings
You need to change the default site bindings after you deploy a site for the first time.
Following are the default bindings:
|Host Name||<SiteName>.<Computer FQDN>|
Where SiteName can be CoraSeQuenceFlowtime or CoraSeQuenceAdministration.
To expedite the deployment process, create a deployment script that includes the required binding settings and other required functions.
Configure authentication for site applications
- After you deploy a site application—Flowtime and Administration, run the following function:
Set-CoraSeQuenceSiteAuthentication -SiteType Administration -AuthenticationType Forms
You need to activate product licenses after you deploy the Administration site for the first time.
For more details, see the Activate your Cora SeQuence license section of this article.
- To verify that the deployment was successful, do one of the following:
- For site applications: Navigate to the site to verify that it runs properly.
- For service applications: Start the service to verify that it runs properly.
After you deploy the required applications, you may need to perform any of the following procedures: