NiceDcv construction process-bottom layer Red Hat and nicedcv Red Hat

Source: Internet
Author: User
Tags yum repolist

NiceDcv construction process-bottom layer Red Hat and nicedcv Red Hat

Nice Dcv installation and deployment documentation

1. Install the rendering Server System

The rendering Server is a server with a high-performance physical graphics card installed.

This test uses the RHEL6.0 _ x64 system. During the installation process, choose to install the KVM virtualization platform, Desktops, and Development software packages.

Installation Process:

After the installation is complete, you can configure the system IP address using the command line or graphical interface (setup), and configure the network to automatically connect.


2. Install the Nvidia graphics card driver on the rendering server.

Download the corresponding linux video card driver from the official website. (In this example, the test machine is HP Z420, And the Nvidia graphics card is configured.) Use winscp to upload the graphics card driver (. run file) to the linux system directory such as/home directory. The video card driver must be installed in command line mode.

Modify/Etc/inittabFile, so that the next boot can enter the command line mode:


Add the last lineId: 5: initdefault:"5 to 3. After the restart, the system enters the command line mode by default, and does not need to be restarted yet. The driver cannot be installed successfully only in command line mode, because the third-party nvidia driver nouveau is still running and is in conflict with the official driver. The next step is to disable nouveau.

Disable nouveau, add nouveau to the blacklist, and edit the blacklist file:
Vi/etc/modprobe. d/blacklist. conf

AddBlacklist nouveauAnd save.

Adding nouveau to the blacklist alone is not enough because rhel 6 has integrated nouveau into the initialization file initramfs-x-x.img, so you must regenerate the initialization file to disable nouveau:

[Root @ leelee] mv/boot/initramfs-2.6.32-220.el6.i686.img/boot/initramfs-2.6.32-220.el6.i686.img.bak(Note: The backup here is necessary. If the file generation fails, the system cannot be started and can be recovered)

[Root @ leelee] dracut-v/boot/initramfs-2.6.32-220.el6.i686.img

(Note: The RHEL7 video card driver cannot disable this method. x windows


Ln-sf/lib/systemd/system/Multi get)/etc/systemd/system/default.tar tget



Restart to enter the command line mode. After the restart, the system will undergo initialization for a long time and the beautiful aperture will disappear. After these steps, the nouveau driver has been disabled.

Install the video card driver. Go to the driver installation package directory and run the command as root:

(Note: Nvidia Installation Process

1. Install gcc

2. Install kernel-devel

3. The system will prompt the software not sign and Baidu search.



After installation, the system prompts whether to automatically configure the X settings during installation. If you select "Accept", you can save the trouble of manual configuration in the future.




















After the driver is installedInittabFile Modified back:


Put the last line"Id: 3: initdefault:"3 to 5.


After you restart the system, you will see the nvidia logo. after entering the desktop, you can configure the menu, indicating that the video card driver has been installed successfully.

After the driver is installed, You need to enable the nvidia driver to run:


As follows:


Restart linux


3. Configure the RHEL 6.0 yum Source

Configure the linux yum source so that the system can automatically search for and call the dependency package when installing the software. Other methods can be used to configure the yum source, in this example, copy the linux CD file to the yum directory and regenerate it. repo file. Put the disc and open the terminal:

Attach a CD/MntDirectory:Mount/dev/cdrom/mnt



Copy/MntTo/YumDirectory:Cp-af/mnt /*.

CreateDvd. repoFile:Vim/etc/yum. repos. d/dvd. repo

Add the following content:


Name = dvd

Baseurl = file: // yum

Enable = 1

Gpgcheck = 0

Save and exit

Check whether the yum source is configured:Yum repolist all




4. Install Nice custom vncserver on the rendering Server

To install vncserver, you must install it on the local console. Remote Installation Using ssh may cause unknown problems. Upload using winscp SoftwareNice... IsoTo System/TmpDirectory

Create a nice directory and mount iso:



Mount-o loop nice... Iso/nice

Cd/nice-- Enter the installation package directory

Install the nice custom vncserver package:

Yuminstall vnc-VE4_5_1_r28001-x64_linux.rpm-- Install vcnserver Software

Vi/etc/hosts-- Modify the hosts file and add a linux system resolution

Vncserver-- Enable the vnc Server




5. Configure Nicevncserver license for the rendering Server

The command is as follows:

Vnclicense-add H7HN4-34NCV-XT2PB-N2633-S776A (Test license)

6. Install Nicedcvserver on the rendering Server

Cd/niceEnter the installation package directory

Yuminstall nice_dcv_server ..... RpmInstall both 32-bit and 64-bit

Modify the DCV configuration file:



7. Configure Nicedcvserver license for the rendering Server

Upload the license. lic license file to the system directory, for example:/Home

Go to the license directory:/Opt/nice/dcv/license

UseCpCommand to copy the license file to this directory:

DCV includes the RepriseLM server channel init script that can be installed on your system to automatically start. The script can be/Opt/nice/dcv/etc/init. d/rlmCopy/Etc/init. d/Directory, and then useChkconfigCommand to enable.

Copy a file:

Cp-a/opt/nice/dcv/etc/init. d/rlm/etc/init. d/


Chkconfigrlm on


Servicerlm start



Enable dcvserver:


Note: because the location of the nice dcv2013 dcvrenderingserver is changed, the preceding Method for enabling the Service is incorrect./opt/nice/bin/dcvrenderingserver start

You can. Remember to start every restart!



If the rotation window of the test program appears, the server is successfully installed and the 3D application can be run.

Rendering Server installation is complete.

8. Configure the KVM bridge network

In this example, the KVM platform and virtual machine are installed on the rendering server as the 3D Application Server (win7_x64 system and 3D application software are installed on the virtual machine ), because the application server must configure the Virtual Machine Nic as the bridge mode for external communication, you need to modify the NIC configuration of the rendering Server linux and change the NIC to the KVM virtual switch.

ConfigurationBridgeInternet access

Create a bridge
In the/etc/sysconfig/network-scripts directory, create a ifcfg-br0 file whose type is set to Bridge:
[Root @ etone ~] # Cat/etc/sysconfig/network-scripts/ifcfg-br0
DEVICE = br0
TYPE = Bridge
BOOTRPOTO = static
ONBOOT = yes

Bridge a physical interface to a bridge
Modify eth0 content (this server uses eth0 to access the Internet), remove its IP information, and add "BRIDGE = br0" to BRIDGE it to br0; if it is a dual or multi-nic, modify as follows:
[Root @ etone ~] # Cat/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE = eth0
HWADDR = 00: 1e: c9: f0: b6: a7
ONBOOT = yes
TYPE = Ethernet
# DNS1 =
BRIDGE = br0

Restart the network service of a physical machine

Service network restart

View the current bridging status (one virtual machine is running)
[Root @ etone ~] # Brctl show

9. Install the Application Server (KVM virtual machine)

The Application Server is a linux/windows system that installs 3D applications and shares rendering server graphics card resources.

Use the virt-manager Command to call up the KVM management tool and install the win7 virtual machine as the application server. Process: omitted. It should be noted that you can check whether the network can be switched to br0 during the installation process.

After installation:

Shows how to install KVM:



10. Install 3D applications on the Application Server

Install 3D applications such as AutoCAD2012 on virtual machines. Installation Process: omitted.

11. Install dcvserver on the Application Server

Copy the nice dcv installation package to the Application Server (kvm Virtual Machine-win7_x64 system ):

Click Next and next to install the SDK. During the installation process, you will be prompted to enter the license or connect to the license server, and you will be directed to the license. lic file to continue the installation.

Host: Enter the rendering Server IP address, or you can modify it after installation:

After the installation is complete, enable dcvserver, open the cmd command line on the application server, and enter the following commands in sequence:

Dcvadmin-- Call Nice command line tool (environment variables are configured on your own when installing dcvserver)

Dcvadmin enable -- enable dcv

Dcv on -- start dcv

Dcvtest -- Test dcv

The following interface indicates that the configuration is successfully installed.

Application Server installation is complete.



There is also a construction method:

Xenserver is used for underlying management of virtual machines, server-side servers, and windows clients.

The HVM is required for this operation prompt is displayed when the VM is installed. Cause: bios vt-x is not enabled!






Source: <strong>


From Weizhi note (Wiz)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.