Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Pre-requisite

https://docs.128technology.com/docs/about_supported_platforms/#minimum-platform-specifications



Configuration > Authority > Routers > Select nycconductor1

Coordinates=  +40.7128-074.0059/   ( New York City )

VALIDATE and SAVE

[t128@datacenter-router-1 ~]$ sudo dmidecode -t 1 # dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.4 present. Handle 0x0100, DMI type 1, 27 bytes System Information Manufacturer: Red Hat Product Name: KVM Version: RHEL 7.0.0 PC (i440FX + PIIX, 1996) Serial Number: Not Specified

t128@conductor ~]$ more client_cert.pem
-----BEGIN CERTIFICATE-----
MIIDkT . . . +zaVNNY=
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
MIIEv  . . . ivdAdJ0a35GA==
-----END PRIVATE KEY-----
[t128@conductor ~]$

VALIDATE & COMMIT

Image Removed

Configuration > Authority > Router > Conductor > Node con

Select the Associated Asset ID: conductor

Image Removed

admin@node1.nycconductor1# show assets Mon 2020-12-21 07:02:20 UTC =============== ======= ============= ============== ========= ======== Router

RESET THE LAB

Pre-requisite

sudo install128t


Step 1Configure ConductorUsername: admin
Password: 128Tadmin

Configuration > Authority  > Routers section

ADD Routers

Name: bosdc1

Inter-node Security: Internal

Configuration > Authority  > Routers section > bosdc1

ADD Nodes

Name: node1

Role: combo

Standalone Combo or HA of Combos

Step 2Deploy your 128T DataCenter Router USing ZTP

copy the certificate to release.mkdir sudo yum install https://yum.128technology.com/installer/repo.rpm

sudo yum install 128T-installer


sudo mkdir -p /etc/pki/128technology
$ wget https://yum.128technology.com/file/vi client_cert.pem
$ sudo mv client_cert.pem /etc/pki/128technology/release.pem

sudo yum update ??????

sudo yum upgrade ?????

install 128T Installer Reposudo yum install https://yum.128technology.com/installer/repo.rpm -y
install: 128T-installersudo yum install 128T-installer -y
Steo 3Configure Salt-Minion with Asset-Id


sudo vi /etc/salt/minion

Add at the end of the file :

  • Press G to go to the end of the file.
  • Press o to insert more text.
Code Block
title/etc/salt/minion
grains:
  node-ip: 127.0.0.1
include:
- /etc/128technology/salt/minion
log_level_logfile: debug
master:
- 192.168.7.99
master_tries: -1
tcp_authentication_retries: -1
transport: tcp

sudo vi /etc/salt/minion_id

insert:    datacenter1

Code Block
titlesudo dmidecode -t 1
collapsetrue

sudo install128t




use the certificate





128status.sh

Code Block
title128status.sh
collapsetrue
[t128@conductor ~]$ 128status.sh 
---------------------------
128status.sh version 0.0.6:
---------------------------
check_rpm_signed:             PASS 128T-4.2.0-2.el7 signed with 725a97071b515174
check_time_jumps:             PASS 15:50:26 UTC, 15:50:26 UTC           
check_global_init:            PASS Valid json format /etc/128technology/global.init
check_local_init:             PASS Valid json format /etc/128technology/local.init
check_json_env_schema:        WARN Cannot be performed on 128T > 4.1.5 (jsonschema)
check_procmgr_list_init:      PASS Valid json format /etc/128technology/processManagerProcessList.json
check_listen_ports:           PASS Check Listen Ports: 930, 12222, 830, 2181
check_zed_status:             WARN UNMATCHED LOG: Starting PDS with configured servers, ZED inactive
check_zk_ruok:                PASS Zookeeper 4 letter RUOK
check_zk_status:              PASS Connections: 18, Mode: standalone (ZED match)
check_zk_nodes:               PASS All 10 required zk nodes exist
check_zk_node_proc_config:    PASS 15/15 /state/node/<node>/processes/<process> paths have config
 :                             
>>>>>>>>>>>>>>>>>>>>>>>>>
 
No
 
value
  Node conductor1; 
UUID: 19AF69CB-5FF0-4401-AA9E-9EC9009ACD93
type=conductor
check_nonzk_ruok:             PASS All FLW 15 processes returned IMOK       
Wake-up Type: Power Switch

check_zk_connections:         PASS All FLW 15 processes are ZK connected    
SKU

Number: Not Specified
check_free_memory:           
Family:
 
Red
PASS 
Hat
6380/7821MB 
Enterprise
Free 
Linux
Memory
[t128@datacenter-router-1 ~]$
sudo systemctl enable salt-minion
sudo systemctl start salt-minion
Step 4Watch Installation
Username: admin
Password: 128Tadmin

Configuration > Router > bosdc1 > node1 

Expand Associated Asset ID

Select datacenter1

journalctl -f    ( on the conductor and the router )Conductor to control itself

show assets

repeat show assets

Code Block
titleshow assets
find: ‘/etc/128technology/config-exports’: Permission denied
find: ‘/etc/128technology/salt/pki/master’: Permission denied
check_critical_files:         FAIL owner+perms for 2/13 files
 :                           
Node
    
Asset
 
Id 128T Version
 /etc/salt/pki/minion/minion.pem is missing!
 :     
Status
    
Errors
 
===============
 
=======
 
=============
 
==============
 
=========
 
========
  
bosdc1
          
node1
   
datacenter1
   
4.2.0-2.el7 running
/etc/salt/pki/minion/minion.pub is missing!
check_ssh_to_peer:         
0
  
nycconductor1
 WARN No 
node1
peer IP in global.init!
check_ssh_to_conductor:       WARN Skipping; node is a 
4.2.0-2.el7
conductor.
==================================
1/18 tests:          
running
        
0
 FAIL 
Completed
 
in

0.94 seconds admin@node1.nycconductor1#
[t128@conductor ~]$ 


GUI

Image Added


Username: admin
Password: 128Tadmin


Step 2