Pre-requisite
https://docs.128technology.com/docs/about_supported_platforms/#minimum-platform-specifications
| RESET THE LAB |
---|
| |
Pre-requisite |
|
---|
| sudo install128t |
|
|
Step 1 | Configure Conductor | Username: admin Password: 128Tadmin | Configuration > Authority > Routers > Select nycconductor1
Coordinates= +40.7128-074.0059/ ( New York City )
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 | VALIDATE and SAVE
---|
Step 2 | Deploy 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 Repo | sudo yum install https://yum.128technology.com/installer/repo.rpm -y |
install: 128T-installer | sudo yum install 128T-installer -y |
Steo 3 | Configure 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 |
---|
| 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 |
---|
|
title | sudo dmidecode -t 1 |
---|
collapse | true |
---|
|
[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 Specifiedt128@conductor ~]$ more client_cert.pem
-----BEGIN CERTIFICATE-----
MIIDkT . . . +zaVNNY=
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
MIIEv . . . ivdAdJ0a35GA==
-----END PRIVATE KEY-----
[t128@conductor ~]$
| sudo install128t |
|
|
---|
| use the certificate
|
|
|
| 128status.sh Code Block |
---|
title | 128status.sh |
---|
collapse | true |
---|
| [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
: | >>>>>>>>>>>>>>>>>>>>>>>>>Novalue UUID: 19AF69CB-5FF0-4401-AA9E-9EC9009ACD93type=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 | SKUNumber: Not SpecifiedFamily:RedHatEnterpriseLinux
[t128@datacenter-router-1 ~]$ | sudo systemctl enable salt-minion sudo systemctl start salt-minion |
Step 4 | Watch Installation |
---|
Username: admin Password: 128Tadmin | Configuration > Router > bosdc1 > node1 Expand Associated Asset ID Select datacenter1 | VALIDATE & COMMIT
Image Removed
journalctl -f ( on the conductor and the router ) | Conductor to control itself | Configuration > Authority > Router > Conductor > Node con
Select the Associated Asset ID: conductor
Image Removed
show assets repeat show assets Code Block |
---|
|
---|
|
admin@node1.nycconductor1# show assets
Mon 2020-12-21 07:02:20 UTC
=============== ======= ============= ============== ========= ========
Routerfind: ‘/etc/128technology/config-exports’: Permission denied
find: ‘/etc/128technology/salt/pki/master’: Permission denied
check_critical_files: FAIL owner+perms for 2/13 files
: |
NodeAssetId 128T Version /etc/salt/pki/minion/minion.pem is missing!
: |
StatusErrors==================================================================bosdc1node1datacenter14.2.0-2.el7 running/etc/salt/pki/minion/minion.pub is missing!
check_ssh_to_peer: |
0nycconductor1node1peer IP in global.init!
check_ssh_to_conductor: WARN Skipping; node is a |
4.2.0-2.el7conductor.
==================================
1/18 tests: |
running0Completedin0.94 seconds
admin@node1.nycconductor1#
GUI | Image Added
Username: admin Password: 128Tadmin
|
Step 2 |
|
---|
|
|
|
|