FANDOM


All servers:

If the server has full redundancy, Windows update should run with automatic updates on the week day number of its server number. For example App1 updates on Monday, App2 updates on Tuesday. SQL1 updates on Monday, SQL2 updates on Tuesday. Servers without full redundancy should


Application Servers (OAppN)Edit

First server:

Install Window Server 2008 Data Centre Edition x64

Join active directory domain



Running Bitcoind as a service: http://social.technet.microsoft.com/Forums/en-US/winserverMigration/thread/98a97aee-c62b-4683-94ab-3777899cf7de/

C:\Windows\system32>sc create bitcoind binPath= c:\windows\system32\srvany.exe DisplayName= "Bitcoin Daemon (SrvAny)"

[SC] CreateService SUCCESS

Create AD user "Bitcoin Daemon". Set startup to automatic.

Create config in C:\Users\BitcoinDaemon\AppData\Roaming\Bitcoin\bitcoin.conf:

---

testnet=1

server=1

rpcuser=user

rpcpassword=password

rpcport=8502

rpcallowip=10.*

---



Add windows firewall exception on app server for bitcoin daemon.



Web deploy: install recommended iis 7 package.


Installation of SCEEdit


---

Installation of SQL Server clusterEdit

For each computer in the cluster and witness: * Install Windows Server 2008 R2 * Install SQL Server 2008 R2 ** One AD user for each role (SQAgent, SQLBrowser, SQLUser) ** Do not enabled mixed mode * Open TCP 5022 for mirroring in Windows Firewall * Add database to primary SQL server * Backup database with: `BACKUP DATABASE [Olive] TO DISK = N'\osql2\sql backup temp\backup.bak' WITH NOFORMAT, NOINIT, NAME = N'Olive-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 GO

BACKUP LOG [Olive] TO DISK = N'\osql2\sql backup temp\backuplog.bak' WITH NOFORMAT, NOINIT, NAME = N'Olive-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 GO * Copy database and log backup to mirror * Restore database on mirror with:RESTORE DATABASE [Olive] FROM DISK = N'\osql2\sql backup temp\backup.bak' WITH NORECOVERY

RESTORE LOG [Olive] FROM DISK = N'\osql2\sql backup temp\backuplog.bak' WITH NORECOVERY

-- The NORECOVERY is the only custom arg! -- this means not to make the database online after the restore -- else the transaction logs cannot roll forward` * On primary, right click database and choose Properties, then click Mirroring and Configure Security * Keep standard port (5022) for primary, secondary, witness * Use username SQLUser



----





Installation process of environment



Use base Windows Server 2008 image (includes integration tools and updates)

Create computers with dynamic ram 1500-3000 and connect each one to Olive XXXX network (private network), differential disks

Assign 4 CPU cores to each virtual machine

Create extra NIC for firewall servers (TMG) and connect it to WAN

Set "Enable MAC spoofing" on both adapters for each TMG server

Rename computers first

Create domain controllers with default options

Set upstream DNS servers in each DC

Join computers in domain

Disable UAC, disabled FW for Domain network

FW

Install TMG with default options (unrestricted none), create cert in AD

For each additional TMG, add it to array (http://technet.microsoft.com/en-us/library/dd440981.aspx )

Create groups Oapp, OWeb, OFW, onso, osceo, osql

Create allow DNS to ONS from protected nets

Create allow DNS from ONS to External (internal wont go through TMG)

Add NLB (right click enable NLB in Tasks and then unicast, right click network in Networking and choose NLB)

Create VPN (range 10.10n.0.1 - 10.10n.0.1 where n is firewall number), L2TP with key "olive"

Add rule to allow any PING (system settings "ICMP (Ping)")

Ping the virtual IP from the Hyper-V host (seriously). NLB should now be working

Add OSCE to system policy's system center operations....

Add SCE agent manually, use management group <SCESERVERNAME>_MG

Enable manual installations in Settings on SCE

SCE

Needs 2500 MB ram minimum

Create SCE user with domain admin in domain users

Enable WinRM in Serv. Manager

Ensure internet connectivity before add role

Install Report Viewer 2008 from web

Add role "WSUS"

Cancel WSUS wizard

Restart computer

Start SCE install (upgrade WSUS)

Disabled BITS for WSUS because of TMG errors: http://www.wsuswiki.com/ContentFileDownloadFailedAccessDeniedNoHTTP



App

Add role "Web Server" with default options

Download Web Platform installer

Install Recommended Configuration for IIS, .NET 4, Web Deploy 2.1

Need to add application server role and then run aspnet_regiis -i from framework dir

Web

Need to install mvc from web platform installer

SQL

Unsure why had problems with mirroring. Worked when i specified all 3 users as OLIVE\SQLService and configured once wothout witness and then with witness.

To be inspected by SCE: http://technet.microsoft.com/en-us/library/dd767431.aspx (And other good stuff)

See http://technet.microsoft.com/en-us/library/cc756809(WS.10).aspx for granting local logon

Disabled Administrator user in Domain Users

SQL When mirroring, make sure to leave the user



----------



Install WSUS 3.0 SP2 from http://www.microsoft.com/downloads/info.aspx?na=41&srcfamilyid=a206ae20-2695-436c-9578-3403a7d46e40&srcdisplaylang=en&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fB%2f0%2f6%2fB06A69C3-CF97-42CF-86BF-3C59D762E0B2%2fWSUS30-KB972455-x64.exe

Install report viewer from

http://go.microsoft.com/fwlink/?LinkId=70410



Pasted from <http://technet.microsoft.com/en-us/library/cc708488(WS.10).aspx>


Configure IIS like stated in http://technet.microsoft.com/en-us/library/cc720452(WS.10).aspx



---



2.1: ns1 (tmg ems, dhcp, dns, ad dc1)

2.2: ns2



3.1: app1 (published with isa farm)

3.2: app2



4.1: web1 (published with isa farm)

4.2: web2



5.1: sql1 (replication? Node stuff, might need 3 sql)

5.2: sql2



6.1 sce1



Localadmintemppassword9750



Resotre: Passwordtorestore9150



Pizzawith1onion



BitcoinDaemon User: 7cEat65QmrG4NDXSj4Zk

SCE simeN188



Mac for isa exts: 02-bf-51-5e-c3-8c

Sql serviceuser



Witness aUcNuTTNRGxR6cN4Fn7B????whats this



Sql TineMelk1

SQL NEW (Beta) BMWV43qjJKyuy5Bz9V5d

SQLDefaultAction fHuN6v4XtfrQ6WDMcTax

OliveService TjXpEhKsykXcgGXAWN28

SQLDiscovery x2mADCqEYANJ6p9VqBVk

SQLMonitor UAkuVrNWGeygzPUd32uB

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.