You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install-upgrade/install.md
+32-17Lines changed: 32 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,13 @@ The main steps to install Fabric are:
33
33
1. Boot them into ONIE Install Mode to have them automatically provisioned
34
34
35
35
## Build Control Node configuration and Installer
36
-
Hedgehog has created a command line utility, called `hhfab`, that helps generate the wiring diagram and fabric configuration, validate the supplied configurations, and generate an installation image (.img) suitable for writing to a USB flash drive or mounting via IPMI virtual media. The first `hhfab` command to run is `hhfab init`. This will generate the main configuration file, `fab.yaml`. `fab.yaml` is responsible for almost every configuration of the fabric with the exception of the wiring. Each command and subcommand have usage messages, simply supply the `-h` flag to your command or sub command to see the available options. For example `hhfab vlab -h` and `hhfab vlab gen -h`.
36
+
Hedgehog has created a command line utility, called `hhfab`, that helps generate the wiring diagram and fabric configuration,
37
+
validate the supplied configurations, and generate an installation image (.img or .iso) suitable
38
+
for writing to a USB flash drive or mounting via IPMI virtual media. The first `hhfab` command to
39
+
run is `hhfab init`. This will generate the main configuration file, `fab.yaml`. `fab.yaml` is
40
+
responsible for almost every configuration of the fabric with the exception of the wiring. Each
41
+
command and subcommand have usage messages, simply supply the `-h` flag to your command or sub
42
+
command to see the available options. For example `hhfab vlab -h` and `hhfab vlab gen -h`.
37
43
38
44
### HHFAB commands to make a bootable image
39
45
@@ -42,7 +48,8 @@ Hedgehog has created a command line utility, called `hhfab`, that helps generate
42
48
1. ensure the correct boot disk (e.g. `/dev/sda`) and control node NIC names are supplied
43
49
1.`hhfab validate`
44
50
1.`hhfab build --mode iso`
45
-
1. There are two options for the format of the bootable media. ISO and IMG. An ISO is best suited to use with IPMI based virtual media. The img file is designed for writing to a removable USB drive.
51
+
1. There are two options for the format of the bootable media: ISO and USB. An ISO is best suited to use with IPMI based
52
+
virtual media. The USB file is designed for writing to a removable USB drive. USB is the default.
46
53
47
54
The installer for the fabric is generated in `$CWD/result/`. This installation image is named `control-1-install-usb.iso` and is 7.5 GB in size. Once the image is created, you can write it to a USB drive, or mount it via virtual media.
48
55
@@ -55,14 +62,14 @@ The installer for the fabric is generated in `$CWD/result/`. This installation i
55
62
1. Insert the USB to your machine
56
63
1. Identify the path to your USB stick, for example: `/dev/sdc`
57
64
1. Issue the command to write the image to the USB drive
1. Unmount the disk `diskutil unmount disk5`, the disk is specific to your environment
65
-
1. Write the image to the disk: `sudo dd if=./control-1-install-usb.iso of=/dev/disk5 bs=4k status=progress`
72
+
1. Write the image to the disk: `sudo dd if=./control-1-install-usb.img of=/dev/disk5 bs=4k status=progress`
66
73
67
74
68
75
There are utilities that assist this process such as [etcher](https://etcher.balena.io/).
@@ -94,37 +101,45 @@ This control node should be given a static IP address. Either a lease or statica
94
101
95
102
### Configure Management Network
96
103
97
-
The control node is dual-homed. It has a 10GbE interface that connects to the management network. The other link called `external` in the `fab.yaml` file is for the customer to access the control node via their building IT network. The management network is for the command and control of the switches that comprise the fabric. This management network can be a simple broadcast domain with layer 2 connectivity. The control node will run a DHCP and small http servers. The management network is not accessible to machines or devices not associated with the fabric. The following diagram illustrates 3 networks for the control node. A "Local IT" network that is used for command and control or IPMI. The other network is exclusive to Hedgehog, the best solution is a dedicated network switch, but a private exclusive vlan is potentially workable.
104
+
The control node is dual-homed. It has a 10GbE interface that connects to the management network.
105
+
The other link called `external` in the `fab.yaml` file is for the customer to access the control
106
+
node via their local IT network. The management network is for the command and control of the
107
+
switches that comprise the fabric. The management network can be a simple broadcast domain with
108
+
layer 2 connectivity. The control node will run a DHCP and a small http server. The management
109
+
network is not accessible to machines or devices not associated with the fabric. The following
110
+
diagram illustrates 3 network connections for the control node. A "Local IT" network that is used
111
+
for IPMI and ssh access to the control node operating system. The other network is exclusive to
112
+
the control node, the best solution is a dedicated network switch, but a private exclusive vlan is
113
+
potentially workable.
114
+
98
115
```mermaid
99
-
graph LR
116
+
flowchart LR
100
117
101
-
N1[IPMI]
102
-
N2[SSH access to Operating system]
103
-
N3[HH Exclusive Network]
104
-
C1[Control Node]
105
118
S1([Spine 1])
106
119
S2([Spine 1])
107
120
L1([Leaf 1])
108
121
L2([Leaf 2])
109
122
L3([Leaf 3])
110
123
L4([Leaf 4])
111
124
112
-
subgraph itnet [Local IT Network]
113
-
N1 <--> C1
114
-
N2 <--> C1
125
+
subgraph ctrlnet [Fabric Control Network]
126
+
C1[Control Node]
115
127
end
116
128
117
-
subgraph hhnet [HH Network Mangement]
118
-
C1 <--> N3
129
+
subgraph localnet [Local IT Network]
130
+
N1[IPMI]
131
+
N2[SSH access to operating system]
132
+
N1 <--> C1
133
+
N2 <--> C1
119
134
end
120
135
136
+
121
137
S1 & S2 <--> L1 & L2 & L3 & L4
122
138
123
-
hhnet <--> S1 & S2 & L1 & L2 & L3 & L4
139
+
ctrlnet <-..-> S1 & S2 & L1 & L2 & L3 & L4
124
140
125
141
```
126
142
127
-
128
143
### Fabric Manages Switches
129
144
130
145
Now that the install has finished, you can start interacting with the Fabric using `kubectl`, `kubectl fabric` and `k9s`, all pre-installed as part of the Control Node installer.
0 commit comments