blob: 212da09a27f37cce9a6a06b0ba77b8f1ebaf9c27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
1. Add new webapp/slot.
2. Assign a sub domain to the webapp/slot.
3. Assign an SSL certificate to the webapp/slot address.
4. Create a new AD group e.g "Tango DEV".
5. Create a new database e.g "Tango_DEV".
6. Synchronize the DB schema.
7. Synchronize the DB data.
8. Execute the following script for adding the AD group to the new database:
(Login to the DB using an AD account first e.g roy@twine-s.com)
CREATE USER [Tango DEV] FROM EXTERNAL PROVIDER
GO
ALTER ROLE db_datareader ADD MEMBER [Tango DEV];
GO
ALTER ROLE db_datawriter ADD MEMBER [Tango DEV];
GO
8.1 Create the backup user using the following script
CREATE USER [BackupUser] FOR LOGIN [BackupUser] WITH DEFAULT_SCHEMA=[dbo]
GO
EXEC sp_addrolemember N'db_owner', N'BackupUser'
EXEC sp_addrolemember N'db_accessadmin', N'BackupUser'
EXEC sp_addrolemember N'db_securityadmin', N'BackupUser'
EXEC sp_addrolemember N'db_backupoperator', N'BackupUser'
EXEC sp_addrolemember N'db_datareader', N'BackupUser'
EXEC sp_addrolemember N'db_datawriter', N'BackupUser'
8.2 Create the Tango web application user (for token based authentication)
CREATE USER [Tango] FROM EXTERNAL PROVIDER WITH DEFAULT_SCHEMA=[dbo]
GO
EXEC sp_addrolemember N'db_datareader', N'Tango'
EXEC sp_addrolemember N'db_datawriter', N'Tango'
9. Create a new storage blob container for the machine studio versions.
10. Create a new storage blob container for the PPC versions.
11. Populate the webapp/slot settings with the proper information.
12. Add a new enum value to Tango.Web\DeploymentSlot.cs
13. Publish MachineService to the new webapp/slot.
|