Hey folks,
This is a guide I wrote for internal setup of a K1000 Replication. While the Server creation wont apply to everyone because of our particular structure, it has some information at the end about setting up the share. So I left it in.
When setting up remote site replication for the K2000 system you also need the files of the K1000 available to be used when the system calls for it. Since the RSA server only takes care of the K2000 replication we need to replicate the contents of the K1000. I like to do this by setting up a Win2k8 R2 server to contain the files and handle the replication. Below are the steps you’ll go through to prepare the Server and get replication started. If anyone has any questions I'll do my best to answer them! If you want to set up a K200 RSA as well be sure to check out my other blog post "How to Setup a K2000 RSA on an ESX Server"
Server Creation
- Connect to the ESX Server of the site you want to set up for Replication and choose to create a new VM.
- Leave Typical Configuration selected and choose Next.
- Input the name following this naming scheme: <SITE>VMK1REP (i.e. KOVMK1REP, INVMK1REP)
- Select the datastore you’ll use and click Next.
- You’ll want to double check with the system admin or IT manager to make sure you’re good to carve out 300GB+ for this Replication Server.
- In the Guest Operating System Page Choose Windows -> Microsoft Windows Server 2008 R2 (64bit) and click Next.
- Leave network as the default and click Next.
- Change the Virtual Disk Size to 300GB and choose Thin Provision then click Next.
- Finish creating the new VM and edit the settings.
- Change the Network Adapter’s Network Label to Server, if available. (That is specific to our infrastructure) Set CD/DVD drive to Datastore ISO File. Choose browse for the ISO file. You may have to look into the datastores to find the Windows 2008 R2 server ISO. Choose it, and then check “Connect at power on” at the top.
- Power on the VM and open the console.
- This will likely be very slow until we can setup remote desktop.
- Start the Server 2008 installation. Select Windows Server 2008 R2 Standard (Full Installation) and click Next. Accept the license terms and click Next. Choose Custom (advanced) and select Disk 0. Then click Next, windows will then install.
- After the install Windows will ask you to change the password.
- At the initial Configuration tasks do the following:
- Licensing will automatically come down for the server, skip that field. (This is specific to our Infrastructure, you may need to put in a license)
- Set the time zone and double check the time with Google for that location
- Set the IP as static, if needed you can put in a ticket and assign it to the network engineer to get an IP address. Enter the IP, Subnet Mask, and Default Gateway in. For DNS see below.
- Primary DNS: IP address of local DC (i.e. KOVMDC01)
- Secondary DNS: HQ DNS server
- Enter in the Server Name (As created in Step 3) as the Computer Name and join it to the Zeeco domain.
- Before Restarting I like to go ahead and set up Remote Desktop.
- Click the Remote Tab in System Properties and select the second option “Allow Connections from computers running any…”
- This will prompt you to edit the firewall settings. Click “Windows Firewall with Advanced security” to do this.
- At the bottom of the Overview Pane in the middle choose “Windows Firewall Properties.”
- Change the Firewall State to Off for Domain, Private and Public profiles. Click OK and hit Alt–F4 to close the Firewall window.
- Click OK on the Remote Desktop Firewall Exception prompt and choose “Select Users”
- Click Add (Alt-d) and add Domain Admins and Local Support. Click OK to close the window and restart the server.
- Log back in through the console and install VMware Tools
- Right click <SITE>VMK1REP in vSphere and choose Guest -> Install VMware Tools. This will pull up an autorun box where you’ll click to run the setup. Follow the prompts to finish. This will require a restart.
- Log in through Remote Desktop
- Click “Download and Install Updates” under (2) Update this Server.
- Click “Let me choose my settings” then Set Important updates to “Download updates but let me choose whether to install them.” Check “Give me recommended updates…” and click OK.
- Click Install Now to get the first round of updates installed. Install all the updates.
- Once you’ve completed the initial tasks open up Windows Explorer on the C:\ drive create a folder called “<K1NAME>k1000Replication” and Share it with the following users: <KACE Service account> (Read/Write access)
- On your local computer click start -> and type in \\<ServerName>\ to make sure you can see the folder you just shared.
- Back on your machine, Log in to the K1000 Admin console and navigate to Settings -> K1000 Agent. Click Single Machine Provisioning.
- Input the IP Address for the Server. Use the domain administrator info for the domain, username, and password. Click Run Now when it’s ready. You can click “Refresh” at the bottom to see when it’s finished.
K1000 Replication
- Log in to the K1000 Admin console and navigate to Distribution -> Replication. Then Select Choose Action -> Add New Item. Follow the steps below to enter the proper fields.
- Replication Machine: Find the Replication machine you provisioned above.
- Uncheck “Failover to K1000”
- Destination Path: C:\<Replication Server>
- Destination Path User: <Domain>\<KACE service Account>
- Destination Path Password: <Service Account Password>
- Label: Select the label for the particular site you’re creating this server for (i.e. LOC – KO IP Subnet for Korea, LOC – IN IP Subnet for India)
- If you don’t have a label for this group save the Share as is and navigate to Home -> Label -> Label Management -> Choose Action -> Add New Label
- Names should follow this naming scheme LOC (for Location) – <SITE> IP Subnet (see 1.6 for examples)
- Input <Site name> IP Subnet (172.XX) for the notes
- Check Computer Inventory and click Save.
- Go to Label -> Smart Label. Click on one of the LOC – <SITE> IP Subnet’s and choose Duplicate.
- Assign it to the Static label you created and change the IP subnet in the SQL code. They should be on the last two lines. Click Save.
- Download Path: \\<replication server>\<ServerName>k1000Replication (The folder you created in the above step 14).
- i.e. \\kovmk1rep\bavmk1000Replication
- Download Path User (and Password): Same as 1.4 and 1.5
- Make sure Replication On (hi) is on for the entire field. Hi Bandwidth is 200000 and Lo Bandwidth is 100000. Replicate App and Dell Packages.
- Input: <Site> K1000 Replication in the notes and hit Save.
- Double check all your settings.
- Check Replication Enabled and click Save.
Comments