Moka5
Moka5


Set Your Image Store via Dynamic IP Ranges   « Go Back
Table of Contents
- Summary
- Pre-Requisites
- Steps



Summary

Many organizations configure different office locations to use specific subnets. MokaFive allows you to assign clients to a specific image store based on its subnet. For example, this lets you assign clients to your San Francisco image store when they're on the west coast, and to your New York image store when they're on the east coast. Or, assign them to your onsite image store when they're in the office, and to an Amazon S3-based image store when they're logging in from home or on the road.


Pre-Requisites



Steps


How it works

There are two types of image store assignments: default image stores and IP range-based image stores. MokaFive will first check for IP range-based image stores. If none are assigned through IP ranges, then the default image store will be used.

Setting the default image store

Default image stores are set through Player Policies for each group of users. The default is pre-set to the Primary Image Store, but if you have Replica Image Stores, you can override the pre-set on a per group basis.

  • On Console, go to the Policies tab and select Player Policies
  • Select the Custom tab
  • Select the group that you want to adjust
  • Change the "Image Store to use" policy to the replica you would like the group to use by default
  • Click Save Changes.

Setting the IP range Image Store assignments

IP range assignments are effective across all groups. MokaFive will first check for IP range-based image stores. If none are assigned through IP ranges, then the default image store will be used. IP range assignments are optional. If none are specified, MokaFive will use the user's default image store.

  • Go to the Settings > Image Store IP Range Assignments page
  • Click Add IP Range
  • Enter an IP address of the subnet you wish to specify (please note that CIDR-based addressing is not currently supported)
  • Enter a subnet mask to define the range
  • Select the Image Store and click OK.

Adjusting the order of IP Ranges

When checking image store assignment for a client, MokaFive will start at the top of the IP ranges, checking for a range that applies to the client, and move down the list until it finds a match or it reaches the end of the IP range list. (If MokaFive does not find a match in the IP range list, it will use the user's default image store.) This feature allows you to pick out one or a subset of IPs, out of a broader range, that by exception will go to a different image store. This can help you with testing or to accommodate a special network situation. Select the IP range you want to adjust, and use the Top, Bottom, Up and Down buttons to move it.

What happens when a LivePC's IP changes during a session?

If someone starts a LivePC on her laptop at work and gets one IP address, then goes home without shutting down her LivePC, the MokaFive Management Server will likely detect a new IP address (e.g., her home wireless router's public IP address) at the next check-in. This new IP address will be used to assign the client to an image store.

Considerations if you are using an http proxy

To allow MokaFive Management Server to correctly see the originating IP address of the client, and your organization is using an http proxy, you should check to make sure your http proxy supports and has enabled X-Forwarded-For headers. X-Forwarded-For headers are a de facto standard for identifying the originating IP address of a client connecting through http proxies, firewalls and load balancers. It's supported by most proxy servers.