Question : RDS and VDI on the same server?

We have RDS running on Windows Server 2008 R2 for a while and it has been working great.
Now we just configured Virtual Desktop Pools, and all of a sudden RDS stopped working. I fixed it by making the changes to the connection broker as seen in the attached picture. However, I am now a little puzzled, and am thinking that you cannot have RDS and VDI on the same server since you can only have ONE setting in the connection broker.

What is the recommended setup to have both RDS and VDI run in the same environment.
Attachments:
 
RDS Connection Broker
RDS Connection Broker
 

Answer : RDS and VDI on the same server?

As in your other Q, you could do some optimizing by stopping the iteration when you encounter a distance that is larger than the one we're checking for (since no equal one will follow from then), e.g.
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:
size_t printAllEqual(const vector<StudentAttempt>& v, const StudentAttempt& sa, stringstream& ss ) {

  vector<StudentAttempt>::const_iterator i = v.begin();
  size_t sz = 0;
  bool bFirst = true;

  while (i != v.end()) {

    if(isDistEqual(*i,sa)) {
    
      if (!bFirst) ss << ',';
      ss << i->studentName;
      ++sz;

      // we can stop here when encountering distances
      // larger than the one we're since the vector is
      // sorted in ascending order (if not, this would cause errors)
      // Higher distances will never equal ours
      if (i->distance > sa.distance) break;
    }

    ++i; 
    bFirst = false;
  }

  return sz;
}
Random Solutions  
 
programming4us programming4us