change_ip_details_permanent
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
change_ip_details_permanent [2017/02/28 13:28] – walkeradmin | change_ip_details_permanent [2023/03/21 20:20] (current) – walkeradmin | ||
---|---|---|---|
Line 23: | Line 23: | ||
This will load the system.ini into Vi. | This will load the system.ini into Vi. | ||
\\ | \\ | ||
- | <sxh [xml][; options for SyntaxHighlighter]> | + | |
+ | <file> | ||
##### system Topology #### | ##### system Topology #### | ||
## all parameters marked with green should be changed with relevant site configuration ## | ## all parameters marked with green should be changed with relevant site configuration ## | ||
Line 220: | Line 221: | ||
# Number of disks used by VSPP Storage: | # Number of disks used by VSPP Storage: | ||
storage.disks = 4 | storage.disks = 4 | ||
- | </sxh> | + | |
+ | </file> | ||
\\ | \\ | ||
==== Change IP Details ==== | ==== Change IP Details ==== | ||
Line 227: | Line 229: | ||
\\ | \\ | ||
\\ | \\ | ||
- | [AIO] | + | [AIO]\\ |
- | [MNG] | + | [MNG]\\ |
- | [VIDEO] | + | [VIDEO]\\ |
\\ | \\ | ||
\\ | \\ | ||
The IP Address details are split across these three sections. | The IP Address details are split across these three sections. | ||
\\ | \\ | ||
+ | \\ | ||
+ | ==== [MNG Section] ==== | ||
\\ | \\ | ||
First check the [MNG] section. | First check the [MNG] section. | ||
Line 244: | Line 248: | ||
next_hop = 192.168.27.254 | next_hop = 192.168.27.254 | ||
</ | </ | ||
- | Here we specify the network and netmask settings. | + | Here we specify the network and netmask settings. |
- | + | \\ | |
+ | | ||
+ | \\ | ||
+ | This is saying our management address is on the 192.168.27 subnet, the .0 means we are not specifying this octet in this section. | ||
+ | \\ | ||
+ | \\ | ||
+ | ==== [VIDEO Section] ==== | ||
+ | \\ | ||
+ | Now check the [VIDEO] section. | ||
+ | <sxh [xml][; options for SyntaxHighlighter]> | ||
+ | [VIDEO] | ||
+ | type = network | ||
+ | name = video | ||
+ | network = 10.10.0.0 | ||
+ | netmask = 255.255.0.0 | ||
+ | next_hop = 10.10.255.254 | ||
+ | </ | ||
+ | Here we are specifying the VIDEO interface subnet, the main part is the network section again. | ||
+ | \\ | ||
+ | network = 10.10.0.0 | ||
+ | \\ | ||
+ | In this example the VIDEO network is 10.10, the last two octets are specified elsewhere. | ||
+ | \\ | ||
+ | ==== [AIO Section] ==== | ||
+ | \\ | ||
+ | Now check the [AIO] section. | ||
+ | <sxh [xml][; options for SyntaxHighlighter]> | ||
+ | [AIO] | ||
+ | type = stateful | ||
+ | default_gateway = MNG | ||
+ | os = CENTOS6.6.P30.3-X86_64 | ||
+ | machine = SERVER | ||
+ | site = FX-SITE | ||
+ | node.aio1 = aio103, MNG-20, VIDEO-20.1 | ||
+ | repos = file:/// | ||
+ | apps = syspu, dns, manager, postgres, gui, storage, streamer, graphite, riemann, mon_agent | ||
+ | nic = MNG|ETH2, VIDEO|ETH3 | ||
+ | pod = aio-pod | ||
+ | </ | ||
+ | There are a few configuration items here, but the main points are as follows: | ||
+ | \\ | ||
+ | node.aio1 = aio103, MNG-20, VIDEO-20.1 | ||
+ | \\ | ||
+ | Here the first part relates the actual VSPP chassis we are on (node.aio1 = aio103) and the next two parts are the final octets of our IP Addresses for Management (MNG) and Video. | ||
+ | \\ | ||
+ | MNG-20, VIDEO-20.1 | ||
+ | \\ | ||
+ | MNG-20 sets the last octet of our Management address to 20 (so 192.168.27.20) | ||
+ | \\ | ||
+ | VIDEO-20.1 sets the last two octets of our VIDEO address to 20.1 (so 10.10.20.1) | ||
+ | \\ | ||
+ | \\ | ||
+ | ==== Save and Apply settings ==== | ||
+ | \\ | ||
+ | Once you have edited (this is Vi remember) and saved the file, you will need to do the following: | ||
+ | \\ | ||
+ | \\ | ||
+ | Use <color red>sysu sketch</ | ||
+ | \\ | ||
+ | sysu sketch | ||
+ | \\ | ||
+ | You will see a lot of text as the unit is configured, keep an eye out for any failures. | ||
+ | \\ | ||
+ | \\ | ||
+ | Next use <color red>sysu network.config</ | ||
+ | \\ | ||
+ | sysu network.config | ||
+ | \\ | ||
+ | You can see the available options for sysu by using <color red>sysu tab tab</ | ||
+ | \\ | ||
+ | \\ | ||
+ | Now use sysu apps.config to start the apps | ||
+ | \\ | ||
+ | sysu apps.config | ||
+ | \\ | ||
+ | \\ | ||
+ | ==== Using Monit ==== | ||
+ | \\ | ||
+ | Monit is like the command service in linux, it can start and stop (among other things) the VSPP processes. | ||
+ | \\ | ||
+ | \\ | ||
+ | To check the status of VSPP use: | ||
+ | \\ | ||
+ | monit summary | ||
+ | \\ | ||
+ | You will see an output similar to the following (the status might differ) | ||
+ | \\ | ||
+ | < | ||
+ | [root@aio103 ~]# monit summary | ||
+ | monit: Cannot translate ' | ||
+ | The Monit daemon 5.3.2 uptime: 1h 18m | ||
+ | Remote Host ' | ||
+ | Remote Host ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | System ' | ||
+ | </ | ||
+ | When you see <color red>Not monitored</ | ||
+ | \\ | ||
+ | monit start all | ||
+ | \\ | ||
+ | This will kick of all the processes, to check the process status you can again use <color red> | ||
+ | \\ | ||
+ | < | ||
+ | [root@aio103 ~]# monit summary | ||
+ | The Monit daemon 5.3.2 uptime: 1h 19m | ||
+ | Remote Host ' | ||
+ | Remote Host ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | Process ' | ||
+ | System ' | ||
+ | [root@aio103 ~]# sysu edit | ||
+ | No changes were made , nothing to do | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | <sxh [xml][; options for SyntaxHighlighter]> | ||
- | </ |
change_ip_details_permanent.1488288515.txt.gz · Last modified: 2023/03/09 22:35 (external edit)