aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netdisco/files/pkg-message.in
blob: a4a96fcdc2ccb38601cd94a4110519a296e269e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
------------------------------------------------------------------------
Netdisco has been installed.

In order to get up and running, there are a few more steps to complete:

    1) Examine all the configuration files in %%ETCDIR%%,
       and modify them to suit your needs. 
       (check diff to the .sample if upgrading)

    2) You should consider downloading a fresh OUI database
       # fetch -o %%DATADIR%%/oui.txt http://standards.ieee.org/develop/regauth/oui/oui.txt

    3) Run the following to create and initialise the netdisco database:
       # perl %%DATADIR%%/sql/pg --init
    OR (if upgrading)
    3bis) Check %%DOCSDIR%%/ChangeLog and
       %%DOCSDIR%%/UPGRADE%% and act accordingly
       (databases upgrades are in %%DATADIR%%/sql)

    4) Add an initial admin user: 
       # su %%NETDISCO_USER%% -c "netdisco -u"

    5) Import the OUI database: 
       # su %%NETDISCO_USER%% -c "netdisco -o"

    6) Edit %%ETCDIR%%/netdisco.crontab and change
       center_network_device to one of your core routers/switches. Then
       install the crontab:
       # crontab -u %%NETDISCO_USER%% %%ETCDIR%%/netdisco.crontab

    7) Add netdisco_enable="YES" to /etc/rc.conf, and then run
       # service netdisco start

    8) Apache must be stopped/started (a graceful restart won't work)
------------------------------------------------------------------------