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).
Installing FusionCompute

Installing FusionCompute

Installing the Host and VRM

See the FusionSphere V100R00xCxx Product Documentation (Server Virtualization, FusionCompute V100R00xCxx) at http://support.huawei.com/enterprise/en/cloud-computing/fusionsphere-pid-9823560/doc.

  • VRM specifications: 8 vCPUs, 8 GB memory, 80 GB disk space.
  • When installing VRM and creating storage, select the local storage. You do not need to enable storage virtualization.
  • Use two local SAS disks to create a RAID 1 group. Install the CNAs, VRM, FusionAccess, TCM, and emergency disks to the SAS disks. Other ID disks and templates are stored on the SSD.
  • Domain 0 specifications:
    • For a single classroom with 60 VMs, you need to set the Domain 0 specifications to 10 vCPUs and 115,712 MB (113 GB) memory.
    • If the Domain 0 specifications are set incorrectly, run the following command to modify the configuration:

      /usr/sbin/modifyUVPSpec.sh -u 10 -m 115712M -i 0M

      After the modification, run the reboot command to restart the CNA node.

Special Requirements for Installing FusionSphere

Domain 0 specifications of a full memory virtual cluster:

Optimizing FusionCompute Components

Scenario

This section provides guidance on how to modify parameters on VRM VMs for better concurrency performance.

Data

Data needed is shown in Table 3-10 and Table 3-11.

Table 3-10 VRM account information

VRM Username

Password

gandalf

Huawei@CLOUD8

root

Huawei@CLOUD8!

Table 3-11 CNA account information

CNA Username

Password

gandalf

Huawei@CLOUD8

root

Password set by the user when installing CNA

Procedure
  1. Use PuTTY to log in to the VRM VM as user gandalf, and switch to user root.
  2. Run the following python script:

    python /opt/galax/vrm/tomcat/script/vdi_modify_vrm_cfg.py 
    set minPoolSize=100 maxPoolSize=200 TASK_MAX_POOL_SIZE=150 TASK_MIN_POOL_SIZE=120 TASK_SCHEDULE_INTEVAL=400 IOTailorVolume_CNAPending=2 IOTailorVolume_DSPending=2 useLinkCopyForIOTailor=1 copyVolumeThreadDelay=1 IOT_CreateVm_Pending=1 IOT_StartVm_Pending=1 IOT_HaVm_Pending=1 IOT_StopVm_Pending=1 IOT_RebootVm_Pending=1 IOT_DeleteVm_Pending=1 IOT_MigrateVm_Pending=25 IOT_CloneVm_Pending=1 IOT_HibernateVm_Pending=120 IOT_WakeUpVm_Pending=120 IOT_CreateVm_Release_Interval=1 IOT_HaVm_Release_Interval=1 IOT_RebootVm_Release_Interval=1 IOT_CloneVm_Release_Interval=1 StorageStartVM_Pending=1 IOtailorInnerCopy_CNAPending=5 IOtailorInnerCopy_DSPending=5

  3. Run the reboot command to restart the VRM VM.
  4. Use PuTTY to log in to the CNA node as user gandalf, and switch to user root.
  5. Run the following python script:

    python /opt/galax/eucalyptus/ecs_scripts/vdi_modify_cna_cfg.py 
    set START_VM_PERIOD=0 SEND_ALARM_FLAG_FOR_DETTACH_VSA=0 type=vrm enable_scrub_memory_flag=0 max_workers=100 max_event_workers=100 enable_xenstore_concurrent_write_flag=1 timeout=0 bootscrub=0  IS_CLOUD_CLASS_ROOM="true" enable_uvpcgp_optimise_flag=1 enable_check_bridge_flag=1 qemu_cpu_cfs_percent=-1 quota-maxrate-activate=false PAUSE_FOR_ATTACH_VIF=0

  6. Run the reboot command to restart the CNA node.

Creating a Local RAM Disk

Scenario

This section describes how to create a local RAM disk on FusionCompute for provisioning full memory desktops.

Prerequisites
  • The Domain 0 specification requirements of the full memory cluster in FusionSphere have been met.
  • You have installed PuTTY.
Data

For required parameters, see specific procedures.

Procedure

Enabling the local RAM disk

  1. Log in to FusionCompute.
  2. On FusionCompute, click Computing. In the navigation tree, choose site > full memory cluster > host. For example, site > MemoryCluster > CNA01.

    NOTE:

    When using the full memory desktop feature, you must create separate clusters. In this step, the full memory cluster must be a separate full memory cluster and the local RAM disk function must be enabled for all hosts in the cluster.

  3. On the host page, choose Configuration > Storage Resource.

    The Storage Resource page is displayed.

  4. Check whether there is the Create Local Ramdisk button on top of the page.

    NOTE:

    In some FusionCompute versions, the Create Local Ramdisk button is displayed as an icon. Move the mouse cursor to the icon for check.

  5. In the navigation tree, choose site > full memory cluster.
  6. Choose Configuration > Basic Configuration > Control Cluster Resource.
  7. Choose Basic Configuration > Local Ramdisk and select Enable.

    NOTE:

    To disable the local RAM disk function, ensure that no local RAM disk is deployed on all hosts in the cluster and set Local Ramdisk to Disable.

  8. Click OK.
  9. Click OK.

    All hosts in the cluster can use the local RAM disk function.

Creating a local RAM disk

  1. On FusionCompute, click Computing. In the navigation tree, choose site > full memory cluster > host.
  2. On the host page, choose Configuration > Storage Resource and click Create Local Ramdisk.

    The Create Local Ramdisk page is displayed.

  3. Configure the parameters shown in Figure 3-3 based on the numbers of VMs and templates to be deployed on the host. Calculate the memory size, device size, and volume quantity using the Full Memory VM Configuration Calculation Tool.

    NOTE:

    There may be 1 GB difference between the available memory displayed in the figure and the memory calculated. Ignore this difference. Configure the larger value.

    Figure 3-3 Creating a local RAM disk

  4. Set the data store type of ID disk and Emergency disk to Local.
  5. Click OK.

    A local RAM disk is created.

Adding a storage device

  1. In the navigation tree, choose site > full memory cluster > host.
  2. Choose Configuration > Storage Device and click Scan.

    Wait until the scanning is complete.

  3. On the Data Store tab page, click Add.
  4. Select the local RAM disk created in Step 12, enter Name, Description, and Storage Mode, and add a data store as prompted.

    NOTE:
    • If the CNA and VRM optimization configuration items or Domain 0 specifications change, delete the RAM disk and create another one. Otherwise, the changes will not take effect.
    • On the page of some versions, users need to select Format or Not as required.

Translation
Download
Updated: 2019-04-25

Document ID: EDOC1100010651

Views: 26142

Downloads: 162

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