User Tools

Site Tools


change_ip_details_permanent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
change_ip_details_permanent [2017/02/28 13:34] walkeradminchange_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 234: Line 236:
 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 250: Line 254:
 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. 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. Now check the [VIDEO] section.
Line 264: Line 270:
     network = 10.10.0.0     network = 10.10.0.0
 \\  \\ 
-In this example the VIDEO network is 10.10, the last two octets are specified elsehwere+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:///var/sysu/repos/centos6.6, file:///var/sysu/repos/fabrix_sw 
 +apps = syspu, dns, manager, postgres, gui, storage, streamer, graphite, riemann, mon_agent 
 +nic = MNG|ETH2, VIDEO|ETH3 
 +pod = aio-pod 
 +</sxh> 
 +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</color> to load the edited configuration. 
 +\\  
 +    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</color> to apply the network part of the system.ini 
 +\\  
 +    sysu network.config 
 +\\  
 +You can see the available options for sysu by using <color red>sysu tab tab</color> 
 +\\  
 +\\  
 +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) 
 +\\  
 +<file> 
 +[root@aio103 ~]# monit summary 
 +monit: Cannot translate 'aio103' to FQDN name -- Temporary failure in name resolution 
 +The Monit daemon 5.3.2 uptime: 1h 18m
  
 +Remote Host 'java'                  Not monitored
 +Remote Host 'udp-tftpserver'        Not monitored
 +Process 'syspu-ui'                  Not monitored
 +Process 'go-syspu'                  Not monitored
 +Process 'Streamer'                  Not monitored
 +Process 'Storage'                   Not monitored
 +Process 'snmpd'                     Not monitored
 +Process 'service_server'            Not monitored
 +Process 'riemann'                   Not monitored
 +Process 'postgresql9'               Not monitored
 +Process 'ntpd'                      Not monitored
 +Process 'named'                     Not monitored
 +Process 'mon_agent'                 Not monitored
 +Process 'Manager'                   Not monitored
 +Process 'httpd'                     Not monitored
 +Process 'memcached'                 Not monitored
 +Process 'carbon-cache'              Not monitored
 +Process 'statsd'                    Not monitored
 +System 'system_aio103'              Not monitored
 +</file>
 +When you see <color red>Not monitored</color> this also means not started. To start everything use the following:
 +\\ 
 +    monit start all
 +\\ 
 +This will kick of all the processes, to check the process status you can again use <color red>monit summary</color>
 +\\ 
 +<file>
 +[root@aio103 ~]# monit summary
 +The Monit daemon 5.3.2 uptime: 1h 19m
  
 +Remote Host 'java'                  Online with all services
 +Remote Host 'udp-tftpserver'        Online with all services
 +Process 'syspu-ui'                  Running
 +Process 'go-syspu'                  Running
 +Process 'Streamer'                  Running
 +Process 'Storage'                   Running
 +Process 'snmpd'                     Running
 +Process 'service_server'            Running
 +Process 'riemann'                   Running
 +Process 'postgresql9'               Running
 +Process 'ntpd'                      Running
 +Process 'named'                     Running
 +Process 'mon_agent'                 Running
 +Process 'Manager'                   Running
 +Process 'httpd'                     Running
 +Process 'memcached'                 Running
 +Process 'carbon-cache'              Running
 +Process 'statsd'                    Running
 +System 'system_aio103'              Running
 +[root@aio103 ~]# sysu edit
 +No changes were made , nothing to do
 +</file>
 +\\ 
 +\\ 
  
- 
- 
- 
- 
- 
- 
- 
- 
- 
-<sxh [xml][; options for SyntaxHighlighter]> 
-</sxh> 
change_ip_details_permanent.1488288885.txt.gz · Last modified: 2023/03/09 22:35 (external edit)