Categories
Knowledge Support Support exacqVision Server Categories Products

Adding or Replacing Hard Drives with exacqVision EL Servers Running Ubuntu 10.04 or earlier (Legacy)

Steps:

  1. Unplug the system to power it down. Install the new disks and start the system.
  2. After the system starts, log out of the Linux user account by selecting Start, Quit, and Logout. Log in as an Administrator.
  3. Close the exacqVision Client. Run the disk partition utility from Start, System, Administration, and Partition Editor. If prompted for a password, use the Administrator account password.
  4. At the top-right corner of the partition utility, open the Device drop-down menu.
    • Note the name of the device about 2GB or 4GB; this is the Linux flash drive that must NOT be altered for any reason.
    • Note the name of the other devices that are about the same size as the disk drives installed; if the system has a functional primary disk, skip to step 7 only on the new disk.
  5. Start Terminal Serivces from Start, Accessories, and Terminal.
    Note: The commands included in the following steps are applicable to Ubuntu 10.04. Changes for Ubuntu 8.04 are noted.
  6. For the first system disk only, perform the following steps:
    • Create a disk label by typing the following, where “X” is the device letter identified in step 4b:

      sudo parted -s /dev/sdX mklabel gpt

    • Create a 20GB swap partition by typing the following:

      sudo parted -s /dev/sdX mkpart primary linux-swap 0 20000 sudo mkswap -L swap /dev/sdX1

    • Create a 10GB export partition by typing the following:
      Note: Change ext4 to ext3 if on Ubuntu 8.04.

      sudo parted -s /dev/sdX mkpart primary 20000 30000 sudo mkfs.ext4 -L /mnt/export /dev/sdX2

    • Find the remaining free space by typing the following:

      sudo parted -s /dev/sdX unit MB print free

    • Create a data partition on the rest of the disk by typing the following, where “XXXX” is the free disk space identified in step 6d.
      Note: Change ext4 to ext3 if on Ubuntu 8.04.

      sudo parted -s /dev/sdX mkpart primary 30000 XXXX sudo mkfs.ext4 -L /mnt/edvr/1 /dev/sdX3

  7. For the second system disk only, complete the following steps:
    • Create a disk label by typing the following, where “X” is the device letter identified in step 4b:
      sudo parted -s /dev/sdX mklabel gpt
    • Find the remaining free space by typing the following:
      sudo parted -s /dev/sdX unit MB print free

    • Create a data partition on the rest of the disk by typing the following, where “XXXX” is the free disk space identified in step 7b:
      Note: Change ext4 to ext3 if on Ubuntu 8.04.

      sudo parted -s /dev/sdX mkpart primary 00000 XXXX
      sudo mkfs.ext4 -L /mnt/edvr/2 /dev/sdX1
      sudo mkdir /mnt/edvr/2


  8. If a new disk is being installed (instead of simply replacing a disk), label the directory in the file system:
    • Open the file system label file with a simple text editor:
      sudo nano /etc/fstab
    • Arrow down to the first blank line and add an entry for the new disk:
      Note: Change ext4 to ext3 if on Ubuntu 8.04. For the first disk only: LABEL=/mnt/edvr/1 /mnt/edvr/1 ext4 defaults 0 0 For the second disk only: LABEL=/mnt/edvr/2 /mnt/edvr/2 ext4 defaults 0 0
    • Press CTRL-X and then press Y to save the changes.
  9. Refresh the partiaion labels by typing the following: sudo udevadm trigger
  10. Remount all partitions by typing the following: sudo mount -a
  11. Create directories on the export paritition by typing the following:
    • sudo mkdir /mnt/export/admin
      sudo chown admin /mnt/export/admin
      sudo mkdir /mnt/export/user
      sudo chown user /mnt/export/user

  12. Restart the exacqVision service by typing the following:
    sudo/etc/init.d/edvrserver restart
  13. Restart the system and confirm the drive operation in the exacqVision Client as shown in the figure. All systems should have /mnt/edvr/0 (the flash operating system drive). Then /mnt/edvr/1 is the first disk drive, followed by any additional drive, all of which should be shown in green.

<br>

Categories
Knowledge Support Support Categories exacqVision Webservice Products

Configuring ExacqVision Web Services on a Linux system (Legacy)

Versions 2.10 to 7.8

To configure exacqVision Web Services older than version 7.8 on a Linux system, complete the following steps (instructions for previous versions can be found at the end of this article):

<br>

  1. Install the exacqVisionWebService.deb file.
  2. In a Terminal window, type the following to ensure the service starts every time the system is started: sudo /usr/local/exacq/webservice/service.sh automatic
  3. Type the following to start the Web Server: sudo /usr/local/exacq/webservice/service.sh start
  4. You should now be able to open a web browser on the server and type http://127.0.0.1 as the URL to access the Web Service. Click on the Web Service Configuration link in the bottom-right corner.
  5. Enter the username admin and the password admin256 to log in.
  6. Open the Servers page to add exacqVision servers or change settings for current servers. Click on Update Configuration and then confirm to restart the Web Service after each configuration change.
  7. You can change the Web Service listen port on the Basic Service Configuration tab.

<br>

Versions 2.10 or earlier

To configure exacqVision Web Service version 2.10 or earlier on a Linux system, complete the following steps:

<br>

  1. Install the exacqVisionWebService.deb file.
  2. In a Terminal window, type the following: sudo /usr/local/exacq/webservice/service.sh stop. (If you see an “unable to resolve host” message, disregard it.)
  3. Enter admin256 for password. When you enter the password, characters are not displayed on the screen; simply type the password and press Enter.
  4. Type the following: sudo gedit /etc/webservice.conf.
  5. Leave the IP address and port the same in this field.
  6. If you want the Web Server to log in automatically without requiring a username and password, change PassthroughEnabled=0 to =1. Then enter the username and password that you would like to use. Be sure this is a valid user and password in the exacqVision software.
  7. Click Save and close the text editor.
  8. In the Terminal, type the following to ensure the service starts everytime the system is started: sudo /usr/local/exacq/webservice/service.sh automatic
  9. Type the following to start the Web Server: sudo /usr/local/exacq/webservice/service.sh start

<br>

You should now be able to open a web browser on the server and type http://127.0.0.1 as the URL to open a login page (or passthrough page) with the option to run the simple or advanced interface.

<br>