Configuring Leostream for Multi

Configuring Leostream for Multi
Configuring Leostream for Multi-User Linux Servers
Unlike conventional desktops with a one-to-one mapping to users, Linux servers, such as those running the
NoMachine NX Enterprise Server software, can host multiple user sessions at a time. You can manage Linux
servers in the Leostream Connection Broker exactly as you manage Windows Remote Desktop Sessions, i.e.,
Terminal Server session.
The following example shows how to set up the Connection Broker to manage Linux sessions when using the
NoMachine NX Enterprise Server.
The following example assumes that you previously completed the following steps.
1.
The Connection Broker virtual appliance is installed in your virtualization layer (see the Leostream
Installation Guide)
2.
You have logged into the Connection Broker Administrator Web interface and entered your license key
(See “Entering Your License Key” in the Connection Broker Administrator’s Guide)
3.
You have configured your Connection Broker network settings (see “Setting Network Configuration and
Connection Broker VIP” in the Connection Broker Administrator’s Guide)
4.
You added one authentication server to your Connection Broker (see “Chapter 13” in the Connection
Broker Administrator’s Guide)
5.
The NoMachine NX software is installed and configured on the Linux server.
Step 1: Installing the Leostream Agent
In order for the Connection Broker to manage multiple users on the Linux server, you must install the Java
version of the Leostream Agent on the Linux server. For information on installing the Java version of the
Leostream Agent on Linux desktops, consult the Leostream Installation Guide.
After the Leostream Agent is installed, ensure that it points to your Connection Broker by inspecting the
/etc/leostreamagent.conf file. This file should contain the following line:
ConnectionBrokerAddress=cb_address
where cb_address is the IP address or fully qualified domain name of your Connection Broker. If the
/etc/leostreamagent.conf file does not point to your Connection Broker, edit and save the file, then
restart the Leostream Agent using the following command:
service leostreamagentd restart
Step 2: Create a Center for the Linux Server
The Connection Broker assigns only one user to a particular desktop or session, at a time. Therefore, to allow
multiple users to log in simultaneously to a Linux server, you must define multiple sessions in the Connection
Broker. You define these sessions by creating a Remote Desktop Services center for the Linux server.
Leostream defines centers as the external systems that inform the Connection Broker about desktops,
applications, sessions, and other resources (such printers, and Teradici PC-over-IP host devices) that are
available for assignment to end users.
To add a center for managing the Linux server sessions:
1
Copyright © 2002-2015 by Leostream Corporation
2
1.
Go to the > Resources > Centers page.
2.
Click on Add Center. The Add Center form opens.
3.
Select Remote Desktop Services from the Type drop-down menu. The form updates, as follows:
4.
Enter a name for the sessions in the Name edit field.
5.
Enter the IP address of the Linux server in the Hostname or IP address edit field.
6.
Enter the Leostream Agent port number in the Agent RPC port edit field. The default port is 8080. For
information on changing the default port, see “Understanding the leostreamagent.conf File” in the
Leostream Agent Administrator’s Guide. The Linux server must have a running Leostream Agent
installed.
7.
Enter the maximum number of concurrent sessions in the Maximum concurrent connections edit field.
You must provide the Connection Broker with a maximum value, even if you are using a Linux server
that does not limit the number of concurrent sessions.
8.
Select a time from the Refresh interval drop-down menu. This setting tells the Connection Broker how
often to refresh the sessions in this center. The refresh interval is the length of time between when one
refresh action is finished and the next refresh action is invoked.
9.
Click Save.
Copyright © 2002-2015 by Leostream Corporation
Step 3: Working with Linux Sessions
The Linux sessions appear as a series of entries in the list of desktops on the > Resources > Desktops page
shown in the following figure.
If the Operating System column does not display Linux, return to the > Resources > Centers page and
select the Refresh action associated with the Linux server center.
You can subsequently add or remove sessions, as follows.
1.
Go to the > Resources > Centers page.
2.
Click the Edit action associated with the center. The Edit Center form opens.
3.
Modify the number in the Maximum concurrent connections field.
4.
Click Save.
When changing the number of available sessions, the Connection Broker first deletes all existing sessions
and recreates new sessions. The Connection Broker does not disconnect users logged into any of the previous
sessions, however the session assignments are no longer displayed in the Connection Broker Web interface.
Step 4: Making a Pool of Sessions
To begin assigning the Linux sessions to users, first create a pool that contains all the sessions.
The Leostream Connection Broker defines a pool as any group of desktops, sessions, or applications.
To create a new desktop pool:
1. Go to the > Resources > Pools page, shown in the following figure.
3
Copyright © 2002-2015 by Leostream Corporation
2. Click the Create Pool link. The Create Pool form opens.
3. Enter a name for the pool in the Name edit field.
4.
Select the All Desktops pool from the Subset of Pool drop-down menu. The pool you are creating is
nested inside the selected pool.
5.
Select Centers from the Define pool using drop-down menu. The form updates to display the Center
Selection fields, shown for desktops in the following figure.
6.
Select the Linux server centers from the Available centers list.
7.
Move the center to the Selected centers list by clicking the Add highlighted items arrow.
8.
Leave the remaining items on this form with their default values, and click Save.
The pool of Linux sessions now appears on the > Resources > Pools page.
Step 5: Define Plans
After you separate your desktops into pools, define the behaviors you want to assign to the desktops in those
pools.
The Leostream Connection Broker defines a plan as a set of behaviors that can be applied to any number
of pools. This step describes three types of plans: 1) Power Control, 2) Release, and 3) Protocol.
Please consult Chapter 10 in the Connection Broker Administrator’s Guide for details on creating these plans.
4
Copyright © 2002-2015 by Leostream Corporation
This example uses the default power control and release plans, configured as shown in the following figures.
5
Copyright © 2002-2015 by Leostream Corporation
This example uses a protocol plan named NoMachine NX, shown in the following figure.
Step 6: Define a Policy
After you define your pools and plans, build policies that assign the plans to desktops.
The Leostream Connection Broker defines a policy as a set of rules that determine how desktops are
offered, connected, and managed for a user, including: what specific desktops are offered; what display
protocol is used to connect to those desktops, which Power Control and Release plans are applied to those
desktops, what USB devices the user can access in their remote desktop; and more.
To create policies:
6
1.
Go to the > Users > Policies page.
2.
Click the Create Policy link.
Copyright © 2002-2015 by Leostream Corporation
3.
Enter a name for the policy in the Name edit field. This example uses Linux Sessions.
4.
Configure the Desktop Assignments from Pools section to offer a single session from the Linux
Sessions pool, and manage that session using the plans defined in Step 5, as shown in the following
figure.
5.
Leave the remaining items on this form with their default values, and click Save.
Step 7: Creating a Role to Add Local Linux Users
If your Linux server and NX are configured to authenticate users locally on the Linux machine, you can use the
Leostream Agent to automatically create the local Linux accounts, greatly simplifying administration.
To create this type of role:
7
1.
Go to the > Users > Roles page.
2.
Select Create Role. The Create Role form opens.
3.
Enter a name for the role in the Name edit field.
4.
Select Local user (create on login) from the Log user in as drop-down menu, as shown in the following
figure.
Copyright © 2002-2015 by Leostream Corporation
5.
Click Save.
Step 8: Assigning the Role and Policy to Users
This example assumes that you previously added an authentication server to the Connection Broker. See
Chapter 13 in the Connection Broker Administrator’s Guide for instructions on adding an authentication server.
Assign the role and policy from Steps 6 and 7 to a user who is authenticated through that server, as follows.
8
1.
Go to the > Users > Assignments page.
2.
Click the Edit action associated with the appropriate authentication server.
3.
Configure the Assigning User Role and Policy section to assign the role and policy to the correct set of
users, for example:
4.
Click Save.
Copyright © 2002-2015 by Leostream Corporation
Step 9: Logging into Linux Sessions
When a user that is assigned this policy logs in to the Connection Broker, the Connection Broker offers the user
one of the Linux sessions. As soon as the user connects to that session, the Connection Broker assigns that
session to the user. When the next user logs in, the Connection Broker offers and assigns a different Linux
session. The Users column on the > Resources > Desktops page indicates which users are currently assigned to
each session, as shown in the following figure.
The Leostream Agent on the Linux server manages each session, separately. When a particular user
disconnects or logs out of their session, that user’s release plan is applied only to that session.
9
Copyright © 2002-2015 by Leostream Corporation
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising