Prerequisites for installing the BigFix DEX application
This topic provides information on the prerequisites applicable for installing the BigFix DEX application.
Before you begin
- Windows server version must be 2019 or above.
- SQL server version must be 2019 or above.
- IIS should be installed and configured on to the DEX server. To cross check if IIS is installed or not press Window+R the type inetmgr in the run option and click enter. If nothing is populating that means IIS is not configured in the system.
About this task
Perform the below steps to configure the prerequisites:
Procedure
-
To configure the IIS, perform the below steps:
- Supported version of .NET Hosting Bundles, framework, SDK required for the all the MyXalytics components on to the DEX server. These bundles, framework, SDK are available on the Microsoft Official website. The currently supported version is mentioned below and all the Hosting Bundles and SKD’s need to installs Links are mentioned in the version below just click on the versions to download.
- Open the PowerShell window.To open PowerShell on Windows type PowerShell into the search bar.
To launch the PowerShell console, right-click on the Windows PowerShell application in the list and select Run as administrator.
WinRM should be enabled on the machine (the system in which we are going to install the application as well as the other systems/machines where the other subcomponents like DME service/Metric service/Web API/schedular service will install.).
DEX server’s IPs need to be added as trusted host to allow remote communication with DEX server during the installation process.How to enable: Run the below command as per given sequence. where IP address is the IP of DEX Prod Application Server.- Enable-PSRemoting
Set-Item wsman:\localhost\Client\TrustedHosts -value <IP Address>
- For Single Server:
Set-Item wsman:\localhost\Client\TrustedHosts -value 10.1.xxx.xx
- For multiple server:
Set-Item wsman:\localhost\Client\TrustedHosts -value '10.1.xxx.xx,10.1.xxx.xx'
Note: The above command will override the already configured IPs under trusted hosts list.- For Single Server:
- Create TEMP folder in C: drive if it does not exist.
- DEX Server’s Port should be free and accessible for use (for that we need to go to the IIS of the server and check the ports which are not in use only those need to be added)
- DEX Server should have a valid service account(integration account) with Admin privileges to establish the connectivity. User should be part of administrative group.
- DEX database instance should have a local SQL/Domain account with sysadmin privileges.
- To get the mailer we need to configure the SMTP relay in each MyXa server (App/Web) but its not a blocker.
- For AD integration the user should know the domain name. AdUserid and AdPassword is optional.
- The Service/Local account should have user right "Log on as a service."How to do:
- Press Windows+R and type in
Secpol.msc
. - Press enter to launch the Local Security Policy Management Console.
- Go to .
- Right click on the Log on as a service policy and select Properties.
- Click the Add User or Group button and type in the desired account name.
- Click OK.
- Press Windows+R and type in
-
BigFix source database must be renamed to 'BFInsights' for the DEX system to
start collecting DEX scores and other metrics.
In case the name of BigFix source DB is different then DEX will not collect the score and metrices data. To overcome the issue, we must run the below query in MYXA DME config database
USE MXDMEConfig Update SourceTable SET SourceQuery=REPLACE(SourceQuery,'BFInsights.dex.','BigFixSourceDBName.dex.') FROM sourcetable WHERE vcTableID IN (SELECT vcSourceTableID FROM JobMaster WHERE jobname LIKE '__dex%' AND active='Y')
In above query,
MXDMEConfig
is the name of the MyXa DME config database and 'BigFixSourceDBName' is the name of Bigfix source database. -
In order to collect the DEX scores and other metrics from the BigFix, the
BigFix database 'BFInsights' and the DEX databases need to be hosted on the same
database server. In case 'BFInsights' database and DEX databases are on
different servers then configure the bridge between these databases by following
two steps:
- Create a linked server setup
- Update the source query of DEX ETL jobs through below query
USE MXDMEConfig UPDATE SourceTable SET SourceQuery=REPLACE(SourceQuery,'BFInsights.dex.','[MyRemoteServer\SQL2018].[BFInsights].dex.') FROM sourcetable WHERE vctableid in (SELECT vcsourcetableID FROM Jobmaster WHERE jobname LIKE '__dex%' AND active='Y')
In the above query,MXDMEConfig
is the name of the MyXa DME config database and MyRemoteServer\SQL2018 is the name of the link server. -
The URL Rewrite module must be installed in IIS of the
machine where MyXa web application is deployed. To verify whether the
URL Rewrite module is installed or not, open the IIS
manager in the machine where MyXa web application is to be deployed. Click on
the machine name in left pane and check whether ‘URL Rewrite’ module is
available in the IIS section in right pane. If it does not appear in the IIS
section, you must download the binary from below link and install in the
machine.
URL Rewrite : The Official Microsoft IIS SiteNote: Make sure that you install the binary as per your machine configuration (x86/x64) from the above link.