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:23] – [Using SYSU] walkeradminchange_ip_details_permanent [2023/03/21 20:20] (current) walkeradmin
Line 24: Line 24:
 \\  \\ 
  
- +<file>
- +
- +
-<sxh [xml][; options for SyntaxHighlighter]>+
 ##### 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 217: Line 214:
 [SERVER] [SERVER]
 type = machine type = machine
-# IBM-COMMON (for all IBM servers), HP-COMMON (for all HP servers) for other brands inherit SERVER-COMMON+ 
 +IBM-COMMON (for all IBM servers), HP-COMMON (for all HP servers) for other brands inherit SERVER-COMMON
 inherit = SERVER-COMMON inherit = SERVER-COMMON
 # uncomment, below “kcmdline” empty attribute incase of virtual environment! # uncomment, below “kcmdline” empty attribute incase of virtual environment!
Line 223: Line 221:
 # Number of disks used by VSPP Storage: # Number of disks used by VSPP Storage:
 storage.disks = 4 storage.disks = 4
 +
 +</file>
 +\\ 
 +==== Change IP Details ====
 +\\ 
 +There are a few sections we need to change to make IP Address changes that are permanent. The main three sections we are interested in are:
 +\\ 
 +\\ 
 +[AIO]\\ 
 +[MNG]\\ 
 +[VIDEO]\\ 
 +\\ 
 +\\ 
 +The IP Address details are split across these three sections.
 +\\ 
 +\\ 
 +==== [MNG Section] ====
 +\\ 
 +First check the [MNG] section.
 +<sxh [xml][; options for SyntaxHighlighter]>
 +[MNG]
 +type = network
 +name = management
 +network = 192.168.27.0
 +netmask = 255.255.255.0
 +next_hop = 192.168.27.254
 </sxh> </sxh>
 +Here we specify the network and netmask settings. The main part here is the 'network' section:
 +\\ 
 +    network = 192.168.27.0
 +\\ 
 +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
 +</sxh>
 +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:///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>
 +\\ 
 +\\ 
 +
change_ip_details_permanent.txt · Last modified: 2023/03/21 20:20 by walkeradmin