No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionAccess V100R006C20 Cloud Classroom Solution Product Documentation 10 (Single-Classroom Scenarios)

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring FusionAccess

Configuring FusionAccess

Optimizing Configuration Parameters

Scenario

This section instructs software installation engineers to optimize configuration parameters of each component of FusionAccess on the HDC server, enable Single-Account Pooled Desktop, and improve the performance of batch VM provisioning, template update, and VM shutdown restoration in the cloud class.

Prerequisites

You have obtained the script package FusionAccess_Plugin_V100R006C20SPC102.zip. For details, see Software Packages. You have obtained files under the CloudClassroom folder of this script package.

Data

Data needed is shown in Table 3-16.

Table 3-16 HDC account information

HDC User Name

Password

gandalf

Cloud12#$

root

Password set by the user when installing HDC

Procedure
  1. Upload ConfigCloudClassroom.sh under the CloudClassroom folder to the /home/FusionAccess directory on the HDC server.
  2. According to Table 3-16, log in to the HDC server as user gandalf.
  3. Run the following command and enter the password of user root as prompted to switch to user root:

    su - root

  4. Run the following command to disable user logout upon system timeout:

    TMOUT=0

  5. Run the cd /home/FusionAccess/ command and switch to the FusionAccess directory.
  6. Run the following command to automatically optimize configuration parameters of each component of FusionAccess:

    sh ConfigCloudClassroom.sh -i single
    NOTE:

    You can restore the configuration before parameter optimization by executing the sh ConfigCloudClassroom.sh -r single command as needed.

Simplifying the WI Interface

Scenario

This section describes how to simplify the WI interface by one click, so that unnecessary buttons on the interface are hidden to avoid errors caused by misoperations.

Procedure
  1. Use PuTTY to log in to the WI server as user gandalf.
  2. Run the following command and enter the password of user root to switch to user root:

    su - root

  3. Run the following command to hide unnecessary icons on the WI interface. Figure 3-27 and Figure 3-28 show the WI interface before and after simplification.

    sh /opt/WI/script/modifyCloudClass.sh

    Figure 3-27 Before simplification
    Figure 3-28 After simplification
    NOTE:

    To restore the WI interface, run the following command:

    sh /opt/WI/script/modifyCloudClass.sh restore

(Optional) Setting Up Multicast

Scenario

This section describes how to set up multicast on switches to minimize broadcast on the entire network.

NOTE:

In the single-classroom scenario, multicast is optional. Multicast needs to be configured for all switches on the network link between the student VM and the teacher VM only when the network between the student VM and the teacher VM spans the layer 3 network. This document uses aggregation switches as an example. For details about configuration scenarios, contact software installation engineers.

Prerequisites
  • You have installed FusionCompute.
  • You have created VLANs for all ports on the switch.
  • You have obtained the management IP address of the aggregation switch.
  • You have obtained the account and password for logging in to the aggregation switch.
Data

For required parameters, see specific procedures.

Procedure
  1. Log in to the aggregation switch.

    NOTE:

    In the Run dialog box, enter cmd and press Enter. In the displayed command prompt window, enter telnet IP address of the aggregation switch and enter the account and password for logging in to the aggregation switch.

  2. Run the following commands to enable the DHCP function:

    <Quidway> system-view 
    [Quidway] dhcp enable

  3. Run the following commands to set up multicast:

    igmp-snooping enable
    Multicast routing-enable

  4. Configure multicast layer 3 switching.

    NOTE:
    • Set the ports according to the actual situation. In this document, the VLAN ID 132 for students' VMs is used as an example.
    • You need to enable the following parameters for all VLANs on switches. The configuration commands vary according to switch models. This document uses S5700 series switches as an example. For other versions, perform operations based on the actual software interface.
    [Quidway] vlan 132
    [Quidway-Vlan132]  igmp-snooping enable
    [Quidway-Vlan132] quit
    [Quidway] interface vlanif 132
    [Quidway-Vlanif132] pim sm
    [Quidway-Vlanif132] igmp enable

  1. Run the quit command again to enter the common view and save the settings.

    [Quidway-Vlanif132] return
    <Quidway> save

Creating Teacher and Student Accounts

Scenario

This section describes how to create domain user groups and users on FusionAccess so that users can log in to desktops using domain accounts.

Prerequisites
  • You have configured the LiteAD domain in Domain/OU.
  • The system administrator has the domain controller management permission.
  • You have logged in to FusionAccess.
Data

Table 3-17 describes the data required for performing this operation.

Table 3-17 Data required for performing this operation

Category

Parameter

Description

Example Value

Domain user group information

Group name

  • The group name consists of digits, letters, hyphens (-), and underscores (_).
  • The group name can contain a maximum of 64 characters.

testgroup

Domain user information

Domain user account and password

The domain user account consists of digits, letters, hyphens (-), and underscores (_), and can contain a maximum of 20 characters.

The password must conform to the following rules:

  • Contain at least one uppercase letter (A to Z), one lowercase letter (a to z), one digit (0 to 9), one space, or one special character (~!@#$%^&*()-_=+\|{};:'",<.>/?).
  • Follows principles in the password policy.

Username:

testuser01

Password:

Huawei@123

Procedure

Creating a domain user group

  1. On FusionAccess, choose System Management > Domain Controller Management > Domain User Group Management.
  2. Click Create User Group.
  3. Enter a name for the user group to be created, as shown in Figure 3-29.

    Figure 3-29 Creating a domain user group

  4. Click OK.

Creating a user

  1. Choose System > Domain Controller Management > Domain User Management.
  2. Click Create User. The domain user creation page is displayed, as shown in Figure 3-30.

    Figure 3-30 Creating a user

  3. Configure information about the domain user to be created based on Table 3-18.

    Table 3-18 User information

    Category

    Description

    Username

    Enter the name of the domain user.

    Password

    Enter the password of the domain user.

    Confirm

    Enter the password of the domain user again.

    Account Options

    • User must change password at next logon: If this option is selected, User cannot change password and Password never expires cannot be selected.
    • User cannot change password: If this option is selected, User must change password at next logon cannot be selected.
    • Password never expires: If this option is selected, User must change password at next logon cannot be selected.
    • Account is disabled: If this option is selected, the user is locked and no account expiration time can be set.
    NOTE:

    Select Password never expires and User cannot change password for students' VMs.

    Account Expires

    • Never: If this option is selected, no account expiration time can be set.
      NOTE:

      Select Never for students' VMs.

    • End of: If this option is selected, Never cannot be selected. The configured time must be later than or the same as the current time.

    User Group

    Set the group to which a user belongs.

    NOTE:

    By default, domain users are added to group Domain Users of the AD. This domain user group cannot be removed.

    Mailbox

    Set an email address. Only one email address is supported.

    Description

    Set domain user description.

  4. Click OK.

Configuring a Domain Password Policy

  1. Choose System > Domain Controller Management > Domain Password Policy.
  2. Configure the domain password policy, as shown in Figure 3-31.

    Figure 3-31 Domain password policy

  3. Click OK.

Creating a VM Group and a Desktop Group

Scenario

This section describes how to create a VM group and a desktop group on FusionAccess to manage VMs in different VM groups in a unified manner.

Prerequisites

You have logged in to FusionAccess.

Procedure

Creating a VM group

  1. On FusionAccess, choose Desktop.
  2. In the navigation pane on the left, click VM Group.
  3. In the right pane, click Create VM Group.

    The VM Group page is displayed.

  4. Set necessary parameters and click Finish, as shown in Figure 3-32.

    The system displays a message indicating that the VM group is created successfully.

    Figure 3-32 Creating a VM group
    • Service type: Select VDI.
    • VM group name: Set this parameter as planned.
    • VM group type:
      • Teacher's VM: Select Full Copy.
      • Student's VM: Select Full Memory or Linked Clone.

  5. To view information about the newly created VM group, click Return to VM Group List.

Creating a student desktop group

  1. On FusionAccess, choose Desktop.
  2. In the navigation pane on the left, click Desktop Group.
  3. In the right pane, click Create Desktop Group.

    The Create Desktop Group page is displayed.

  4. Set the required parameters and click Finish, as shown in Figure 3-33.

    The student desktop group is created.

    When creating a student desktop group, you need to select Support System Restoration and set Prestarted in peak time and Prestarted in off-peak time to the number of VMs used in the classroom.

    Figure 3-33 Student desktop group

    The parameters are as follows:

    • Desktop: Set this parameter as planned.
    • Desktop group name: This parameter is user-defined.
    • Desktop group type: Select Dynamic Pool.
    • VM Type: Select Full Memory or Linked Clone.
    • Desktop group VM action: Select Support System Restoration.
    • Maximum supported VMs: Set this parameter as planned.

Creating a teacher desktop group

  1. In the right pane, click Create Desktop Group.

    The Create Desktop Group page is displayed.

  2. Set the required parameters and click Finish, as shown in Figure 3-34.

    The teacher desktop group is created.

    Figure 3-34 Teacher desktop group

Configuring Session and Duplicate Display Policies

Scenario

This section describes how to configure the session and duplicate display policies on FusionAccess.

  • Session policy: After this policy is enabled, the system will automatically disconnect the VM when the VM is locked for a certain period of time. Resources of the VM are allocated to other users, which improves resource utilization.
  • Duplicate display policy: After the policy is enabled, the teacher can initiate a duplicate display request on the teacher's VM to display his or her screen to all students, or allow a student to display his or her screen to other students and the teacher.
Prerequisites

You have logged in to FusionAccess.

Procedure
  1. Perform the following operations based on the policy type and object:

    • Configuring the duplicate display policy on teachers' VMs, go to Step 2.
    • Configuring the duplicate display policy on students' VMs, go to Step 10.
    • (Optional) Configuring a session policy for the student desktop group, go to Step 19.

Configuring the duplicate display policy on teachers' VMs

  1. On FusionAccess, click Desktop.
  2. In the navigation pane on the left, choose Policy Management > Create Policy Group.
  3. On the Create Policy Group page, set a value for Policy Group Name, retain the default values for other parameters, and click Next.
  4. On the Specify Policies page, click Display.
  5. Set Duplicate Display to Enable, and click Show Advanced Settings.
  6. Set Duplicate Display Mode to One-to-Many, as shown in Figure 3-35.

    Figure 3-35 Duplicate Display

  7. Click Next.

    Specify the teacher desktop group as the target to which the policy applies.

  8. Click Save.

    The configuration is complete.

Configuring the duplicate display policy on students' VMs

  1. On FusionAccess, click Desktop.
  2. In the navigation pane on the left, choose Policy Management > Create Policy Group.
  3. On the Create Policy Group page, set a value for Policy Group Name, retain the default values for other parameters, and click Next.
  4. On the Specify Policies page, click Display.
  5. Set Duplicate Display to Enable, and click Show Advanced Settings.
  6. Set Duplicate Display Mode to One-to-Many, as shown in Figure 3-36.

    Figure 3-36 Duplicate display

  7. Click Next.

    Specify the student desktop group as the target to which the policy applies.

  8. Click Save.

    Apply the settings to the new dynamic pool.

  9. Click Save.

    The configuration is complete.

(Optional) Configuring a session policy for the student desktop group

NOTE:

If resources need to be reused on students' VMs, configure a session policy. You are advised to set the screen lock waiting duration to one-class duration.

  1. On FusionAccess, click Desktop.
  2. In the navigation pane on the left, choose Policy Management > Create Policy Group.
  3. On the Create Policy Group page, set a value for Policy Group Name, retain the default values for other parameters, and click Next.
  4. On the Specify Policies page, click Session and configure the session policy according to Figure 3-37.

    Figure 3-37 Creating a policy group

  5. Click Next.

    Specify the student desktop group as the target to which the policy applies.

  6. Click Save.

    Apply the settings to the new dynamic pool.

  7. Click Save.

    The configuration is complete.

Configuring Dynamic Pool Bind Time

Scenario

This section describes how to configure Dynamic Pool Bind Time for a VM on FusionAccess to ensure that the VM is bound to the current user within a specified period after the VM is shut down, restarted, or deregistered.

Prerequisites

You have logged in to FusionAccess.

Procedure
  1. On FusionAccess, choose System > Initial Configuration > Desktop Components.
  2. On the Desktop Component page, click .
  3. On the page that is displayed, set Dynamic Pool bind time (Min) to 5, as shown in Figure 3-38.

    Figure 3-38 Desktop Component

  4. Click OK.

    The binding time is set.

Periodically Restoring VMs

Scenario

This section describes how to create a scheduled task on FusionAccess to periodically shut down the VMs and clear the personal settings on the VMs.

Prerequisites

You have logged in to FusionAccess.

Data

For required parameters, see specific procedures.

Procedure
  1. On FusionAccess, choose Task > Scheduled Task > Shut Down VM, as shown in Figure 3-39.

    Figure 3-39 Shut Down VM

  2. In the displayed dialog box, input Task name and set Triggering mode to By week.
  3. Set the following parameters based on the site requirements, as shown in Figure 3-40. Then, click Next.

    Figure 3-40 Set Triggering Time
    • Triggering mode: Select By week, and then select Monday to Friday.
    • Start Time: Set this parameter based on the site requirements.
    • End mode: Select Manually Stop.
    • Advanced Settings: Do not select Repeat Task Execution.

  4. Set Select Mode to Desktop Group, and select the student desktop group that requires periodic VM restoration.

    NOTE:

    Periodic VM restoration needs to be configured only for the desktop group to which student VMs belong.

  5. Click Next.
  6. Select VMs in the running state in Policy Group 1, and click Submit.

    The VM can be periodically restored.

Translation
Download
Updated: 2019-04-25

Document ID: EDOC1100010651

Views: 25963

Downloads: 162

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next