NosDB OpenSource Guide ¢â‚¬› ... ¢â‚¬› nosdb-opensource-guide.pdf¢  2019-01-14¢  NosDB OpenSource Guide

  • View
    5

  • Download
    0

Embed Size (px)

Text of NosDB OpenSource Guide ¢â‚¬› ... ¢â‚¬›...

  • Copyright © 2005-2016 Alachisoft

    NosDB OpenSource Guide Version 1.3

  • NosDB OpenSource Guide

    Copyright © 2005-2016 Alachisoft | 1

    Table of Contents Introduction to NosDB ........................................................................................................................................................................ 4

    1.1. Edition Comparison .................................................................................................................................................................... 5

    Installing NosDB ................................................................................................................................................................................................. 7

    Database Server Requirements ........................................................................................................................................................ 8

    2.1. Hardware Requirements ........................................................................................................................................................... 8

    2.2. Software Requirements ............................................................................................................................................................. 8

    Install NosDB ........................................................................................................................................................................................... 9

    3.1. Interactive Windows Installation ........................................................................................................................................... 9

    3.2. Scripted Installation .................................................................................................................................................................. 20

    Getting Started with NosDB ....................................................................................................................................................................... 21

    Open Firewall TCP Port for Clients ............................................................................................................................................... 22

    4.1. Configuration Server Port ...................................................................................................................................................... 22

    4.2. Management Port ..................................................................................................................................................................... 22

    Accessing Database Cluster across Domains ........................................................................................................................... 23

    5.1. Using Runas Command .......................................................................................................................................................... 23

    Configuring and Using PowerShell in NosDB .......................................................................................................................... 24

    6.1. Load NosDB Assembly ............................................................................................................................................................ 24

    6.2. To Run Scripts ............................................................................................................................................................................. 24

    6.3. Navigating in PowerShell Console ..................................................................................................................................... 25

    Using NosDB Stress Test Tool ........................................................................................................................................................ 28

    Configuring Database Clusters and Shards ........................................................................................................................................ 29

    Database Clusters ................................................................................................................................................................................ 30

    8.1. Create Database Cluster ......................................................................................................................................................... 30

    8.2. Connect to Existing Database Cluster ............................................................................................................................... 31

    8.3. Disconnect from Cluster ......................................................................................................................................................... 32

    8.4. Remove Database Cluster ...................................................................................................................................................... 32

    Shards....................................................................................................................................................................................................... 33

    9.1. Add Shard ..................................................................................................................................................................................... 33

    9.2. Remove Shard............................................................................................................................................................................. 34

    9.3. Start Shard ................................................................................................................................................................................... 35

    9.4. Stop Shard .................................................................................................................................................................................... 35

    Configuring Databases .................................................................................................................................................................................. 36

    Databases .......................................................................................................................................................................................... 37

    10.1. Create New Database .............................................................................................................................................................. 37

    10.2. Configure Database Properties ............................................................................................................................................ 37

  • NosDB OpenSource Guide

    Copyright © 2005-2016 Alachisoft | 2

    10.3. Drop Database............................................................................................................................................................................ 38

    Collections ......................................................................................................................................................................................... 39

    11.1. Create Collection ....................................................................................................................................................................... 39

    11.2. Drop Collection .......................................................................................................................................................................... 39

    Indexes ................................................................................................................................................................................................ 40

    12.1. Create Index ................................................................................................................................................................................ 40

    12.2. Drop Index ................................................................................................................................................................................... 40

    Configuring Security ....................................................................................................................................................................................... 41

    Security Concepts ........................................................................................................................................................................... 42

    13.1. Logins ............................................................................................................................................................................................. 42

    13.2. Roles and Users .......................................................................................................................................................................... 42

    Logins .................................................................................................................................................................................................. 44

    14.1. Add Login ......................................................................................................................................................................