Installing Shopping
In this lab, you will install all Shopping Central components on the 1ETRNAP server along with the Shopping Receiver on the 1ETRNCM server. In addition, the Shopping agent will be installed on all PCs using ConfigMgr.
Prepare the environment
In this exercise, you will prepare the lab environment with the necessary configuration and components required by Shopping.
Always refer to the latest product documentation (http://help.1e.com) for details of pre-requisites and system requirements for the version of Shopping you are installing. |
Understanding Shopping Users and Groups
Several components of Shopping are run with the identity of either a defined user account or a special system account (such as Network Service). Beyond the accounts used by the system, there are also roles within Shopping that define the level of access that users of the system have. These roles are assigned to AD security groups and users are added into these groups to assign them the associated role. In this task, you will review the accounts and groups that need to be created or designated for Shopping.
Installer Accounts
The installation of the various Shopping components requires specific permissions. Whichever user performs the installation of the various components requires the permissions specified below.
To install the Shopping Central server components, the installer account requires the following:
In this lab, the 1ETRN\AppInstaller account will be used to install the Shopping Central components and has already been configured with all the necessary permissions to do so, as specified in this section. |
- Local admin rights on the server that Shopping Central is being installed on
- SQL Server sysadmin rights on the Shopping Database server
Best practice is to create the Shopping2 database prior to running the installer, so the database and log files can be created at the correct size on suitable drives. If the database has already been created, the user performing the Shopping Database installation needs db_owner rights on the Shopping2 database. |
- Local admin rights on the ConfigMgr server that Shopping will connect to
- SQL Server sysadmin rights on the ConfigMgr Primary site database server that Shopping Central will connect to (the CAS in multi-site hierarchy) in order to create a SQL Login for the Shopping Central service account (this is then added as a user to the ConfigMgr database)
- Must be a member of the local SMS Admins group on the ConfigMgr server as the installer adds ConfigMgr security rights (through WMI) for the Shopping Central Service account
- Must be configured as a Full Administrator in ConfigMgr
- Must have a minimum of "Write Member" security right on the Full Shopping DB Admin Access and SMS / ConfigMgr Database Access AD groups defined during installation either through the UI or the installer properties SHOPPINGCONSOLEADMINUSERS and SHOPPINGCONSOLESMSUSERS.
To install the Shopping Receiver, the installer account requires the following:
In this lab, the 1ETRN\SCCMAdmin account will be used to install the Shopping receiver component on 1ETRNCM and that account has the necessary rights to do so. No additional configuration is required. |
- Local admin rights on the ConfigMgr Primary site server where the Receiver is being installed
- Must be a member of the local SMS Admins group on the ConfigMgr server and a member of the Full Administrators role in ConfigMgr as the installer adds ConfigMgr security rights (through WMI) for the Shopping Receiver Service account
In production environments, the ConfigMgr administrator will usually be asked to install the Shopping Receiver component. This simplifies things (in the majority of cases) as no additional accounts need to be created and no additional rights need to be granted to install the Shopping Receiver. |
Shopping Central Service account
The Shopping Central Service security principal is a Domain User specified during Shopping Central installation (through either the installer UI or using the SVCUSER and SVCPASSWORD installer properties).
In this lab environment, you will use 1ETRN\svc_ShoppingCentral as the Shopping Central Service account. |
This account requires the following permissions and configuration. Items marked * are configured by the Shopping Central installer.
On the Shopping Central server
- Log on as a service user right*
On the Shopping database
- Access to the Shopping database is managed through Database Roles (db_ShoppingConsoleAdmin and db_ShoppingConsoleUser). The installer adds the Shopping Central service user to Full Shopping DB Admin Access group, which in turn is associated with the db_ShoppingConsoleAdmin role in the Shopping database
On the ConfigMgr Primary site server (or CAS)
- db_datareader role on the ConfigMgr database*
The Shopping Central Service account will be added to the SMS/ ConfigMgr Access group defined during installation, either through the installer UI or through the installer property SHOPPINGCONSOLESMSUSERS. This group is in turn added to the db_datareader role in the ConfigMgr database. All this is taken care of by the installer, which is why the Installer Account requires "Write Member" permissions on the AD group and sysadmin role on the ConfigMgr database server. |
In Active Directory
- Requires an email account to be defined in the Email attribute of the user. This email account is used to send system emails to administrators
- If Shopping AD Integration is to be used to manage self-service of AD group membership, the Shopping Central Service account must have write access to the AD groups which are to be managed by Shopping
In this lab, the groups to be managed through Shopping are contained in a specific OU, to which the Shopping Central Service has Full Control permissions on all descendant group objects. |
If a Group Policy that enforces the Access this computer from the network local user rights setting is applied to the ConfigMgr Primary Site server that Shopping Central integrates with, this policy must be updated to include the Shopping Central service (i.e. enabling the Shopping Central service to access the ConfigMgr server remotely). If no such policies are applied to the ConfigMgr server, there is no requirement to create one (default settings for a Server grant this user right to Everyone and Users). |
Shopping Receiver Service account
The Shopping Receiver Service runs on each ConfigMgr Primary Site and primarily manages the creation of Collections and Deployments on the local site.
By default, the Shopping Receiver Service will use the local computer's NETWORK SERVICE security principal. It is best practice to create a Domain User account and use this for all Shopping Receivers. If there is an absolute requirement to use different accounts for different Primary sites (this scenario includes using the default NETWORK SERVICE account on each Receiver), it will be necessary to create a Shopping Receivers group, which will be used to grant the necessary security rights to securable objects that the receiver needs to access. |
Note that this user (or group if multiple accounts are used) must be specified first during the Shopping Central installation, either through the installer UI or using the RECEIVERACCOUNT installer property as the Central Service uses this as a means of authorizing the receiver that is connecting to it.
For each Receiver installation, the account user name and password must also be provided to install the service, through either the UI or the SVCUSER and SVCPASSWORD installer properties.
In this lab environment, you will use the 1ETRN\svc_ShoppingReceiver account as the Shopping Receiver service account. |
The Shopping Receiver account requires the following permissions. Items marked * are configured by the Shopping Receiver installer.
On each ConfigMgr Primary Site
- Log on as a service user right*
- Membership of the local SMS Admins group* (required for access to the SMS Provider)
- The following ConfigMgr Security Rights are required
Class Permission
Applications Read
Collections Full
Configuration Policy Full
Distribution Point Read
Distribution Point Group Read
Global Condition Full
Site Read
Status Messages Read
Task Sequence Package Read
Users Read
The ConfigMgr security rights will be applied using an imported security role that is preconfigured with the appropriate rights. |
- db_datareader role on the ConfigMgr database
- EXECUTE permission on the ConfigMgr database scalar functions fn_GetAppState and fnGetSiteNumber
The EXECUTE permission on the two functions above will be granted by the installer. |
The Shopping Receiver service account no longer has to have administrator privileges on client computers. Configuration Manager policy refreshes for new requests and re-shopping are now done using the Client Notification feature of Configuration Manager. |
Management Accounts and Groups
Before installing Shopping, you must define a Shopping Admin account or group in AD that will be used the first time you open the console (additional users can be added through the console).You also need to define AD groups that will be assigned to the Report Viewer and License Manager roles in the Shopping console.
Shopping Admin account/group
The Shopping Admin account or group specified during the Shopping Central Service installation (either in the UI or by the ADMINACCOUNT installer property) is initially the only security principal that has visibility of all nodes in the Shopping Admin Console and the Administration tab in the Shopping Web Portal.
During the Shopping Central installation, the Shopping Admin account (or group), is also added to the Full Shopping DB Admin Access and SMS/ConfigMgr Access groups (detailed later in this section) to provide the necessary access to the Shopping and ConfigMgr databases to perform all admin tasks.
This account (or group) must have a valid email account defined in AD.
Use a group, with an associated email Distribution List (DL) rather than a single account, as this enables Shopping administrators to be easily managed though AD group membership. |
Shopping Report Viewer account / group
The Shopping Report Viewer account or group defined during the installation of the Shopping Central Service (using either the UI or the REPORTSACCOUNT installer property) is granted permissions necessary to view the Shopping reports by the Shopping Central Service installer. Only this user (or members of the group) will see the Reporting tab on the Shopping Web Portal.
Use a group rather than a single account, as this enables access to Shopping's reporting features to be easily managed though AD group membership. |
In this lab environment, the Shopping Report Viewer group is 1ETRN\Shopping_ReportViewers. |
Shopping License Manager account / group
The Shopping License Manager account or group defined during the installation of the Shopping Central Service (using either the UI or the LICENSEMGRACCOUNT installer property) receives e-mail notifications when application license thresholds are reached. This user or group must therefore have a valid email address defined in Active Directory.
Use a group with an associated email DL rather than a single account to enable targeting of license notifications to be easily managed though AD group membership. |
Database Access groups
When a user of the Shopping Console requires access to either the Shopping database (to manage Shopping objects) or the Principal ConfigMgr Site database (to look-up Sites, Packages and Programs), they are granted access through SQL Database Roles defined (and created during the Shopping Central installation) in the respective databases. The three AD groups described below are associated with these SQL Database Roles.
Full Shopping DB Admin Access group
This group, specified during the Shopping Central Service installation using either the UI or the SHOPPINGCONSOLEADMINUSERS installer property, is associated with the db_ShoppingConsoleAdmin Database Role in the Shopping database.
The db_ShoppingConsoleAdmin database role is granted full permissions on all objects presented through the Shopping Admin Console. This allows members of the Full Shopping DB Admin Access group to manage Node Security, allowing them to define the users and groups that can access each of the nodes in the Shopping Console.
The specified Shopping Admin account / group is added to the Full Shopping DB Admin Access group during installation of the Shopping Central component.
The Full Shopping DB Admin Access group in this lab is 1ETRN\ShoppingConsole_Admins. |
Limited Shopping DB Admin Access
This group, specified during the Shopping Central Service installation using either the UI or the SHOPPINGCONSOLEUSERS installer property, is associated with the db_ShoppingConsoleUser Database Role in the Shopping database.
The db_ShoppingConsoleUser role has restricted permissions in the Shopping database necessary for managing Approvers and User and Computer Categories.
The Limited Shopping DB Admin Access group in this lab is 1ETRN\ShoppingConsole_Users. |
SMS/ConfigMgr Access
Definition of Sites and Applications in the Shopping Console require read access to the Principal ConfigMgr site database. This is provided through membership of the SMS / ConfigMgr Access group specified during the Shopping Central installation using either the UI or the SHOPPINGCONSOLESMSUSERS installer property. The specified group is associated with the db_datareader Database Role on the Principal ConfigMgr site database.
The SMS / ConfigMgr Access group in this lab is 1ETRN\ShoppingConsole_SMSUsers. |
Group Management
By default, as users or groups are granted access to a node within the Shopping console, the console adds these users or groups (under the context of the logged on user) to the relevant database access groups according to the access required for that particular node. This requires the Full Shopping DB Admin Access group to be granted full permissions on itself and the other two groups when they are first set up in AD.
This automatic group management can be disabled in the Console Settings by setting the Admin Console Manages Groups setting to False. If this is done, users and groups will need to be manually added to the appropriate groups before they attempt to use the Shopping Console. The table below lists the Admin Console Nodes and the group memberships that provide access to them.
Console Node | Full Shopping DB Access group | Limited Shopping DB Access group | SMS/ConfigMgr DB Access group |
Sites | P | | P |
Approvers | P | P | |
User Categories | P | P | |
Computer Categories | P | P | |
Applications | P | | P |
Settings | P | | |
Node Security | P | | |
Event Log | P | P | |
Ensure users and groups have email AD attribute set
Shopping uses email as the primary notification method. It is therefore important that all users that interact with Shopping, as well as some of the special accounts and groups identified in the previous task, have a valid email address defined in Active Directory.
Log on to 1ETRNDC as 1ETRN\Administrator and start Active Directory Users and Computers |
Review the following users and groups and ensure they have the specified email address defined in the General Properties tab |
As Shopping is used by most users throughout an organization, it is good practice to use an easily remembered DNS alias for the Shopping Central Web Server. This alias is then defined as the Host Header for the Shopping web site in IIS. This not only makes it easier for users to remember the site name, but also allows the web site to be moved to a different server in the future if required. |
|
Create a DNS Alias
In this lab environment, the chosen DNS alias is APPSTORE. |
Log into 1ETRNDC as 1ETRN\Administrator |
On 1ETRNDC select DNS from the Start page |
In DNS manager, expand 1ETRNDC > Forward Lookup Zones and select 1ETRN.LOCAL |
Select the Action menu and select New Alias (CNAME)… |
In the Alias name field, type APPSTORE |
|