This article explains why httpd and httpd-gk is not running on the secondary node in chassis cluster. J-Web management can be performed only on the primary node for the 0 redundancy group. The daemons referenced by J-Web do not run on the secondary node, so you will not find httpd and httpd-gk on the secondary node.
When checking the system process with the command, ‘show system processes extensive’ on the secondary node in a chassis cluster, httpd and httpd-gk are shown. But these processes are not shown in the output of 'show system processes extensive no-forwarding' .
‘show system processes extensive’
'show system processes extensive no-forwarding'
{secondary:node1} root@SRX-node1> show system processes extensive | match http 1521 root 1 76 0 13696K 5984K select 0 0:07 0.00% httpd-gk 2071 nobody 1 76 0 8892K 3584K select 0 0:02 0.00% httpd {secondary:node1} root@SRX-node1> show system processes extensive no-forwarding last pid: 15101; load averages: 0.17, 0.13, 0.09 up 10+01:48:07 21:27:29 118 processes: 26 running, 79 sleeping, 2 zombie, 11 waiting Mem: 136M Active, 95M Inact, 1000M Wired, 160M Cache, 112M Buf, 580M Free Swap: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1099 root 15 76 0 994M 64340K select 0 2693.9 1045.61% flowd_octeon_hm 22 root 1 171 52 0K 16K RUN 0 202.6H 84.96% idle: cpu0 24 root 1 -20 -139 0K 16K RUN 0 71:26 0.00% swi7: clock 1106 root 1 76 0 12408K 5744K select 0 38:07 0.00% license-check 5 root 1 -16 0 0K 16K rtfifo 0 31:40 0.00% rtfifo_kern_recv 1644 root 1 76 0 27708K 10656K select 0 18:31 0.00% mib2d 1088 root 1 76 0 115M 17972K select 0 17:05 0.00% chassisd 23 root 1 -40 -159 0K 16K WAIT 0 10:49 0.00% swi2: netisr 0 1100 root 1 76 0 15724K 3604K select 0 10:13 0.00% shm-rtsdbd 1089 root 1 76 0 12600K 4900K select 0 9:50 0.00% alarmd 1126 root 1 76 0 13856K 6696K select 0 7:02 0.00% jsrpd 1645 root 2 76 0 23408K 9128K select 0 6:33 0.00% pfed 1104 root 1 76 0 25276K 16312K select 0 5:25 0.00% utmd 49 root 1 -16 0 0K 16K psleep 0 5:25 0.00% vmkmemdaemon 1085 root 1 76 0 3308K 1380K select 0 4:34 0.00% bslockd 1103 root 1 76 0 13716K 6224K select 0 3:43 0.00% rtlogd 26 root 1 -16 0 0K 16K - 0 3:37 0.00% yarrow 1643 root 1 76 0 16100K 8888K select 0 3:01 0.00% snmpd 18 root 1 171 52 0K 16K RUN 4 2:50 0.00% idle: cpu4 15 root 1 171 52 0K 16K RUN 7 2:50 0.00% idle: cpu7 17 root 1 171 52 0K 16K RUN 5 2:50 0.00% idle: cpu5 12 root 1 171 52 0K 16K RUN a 2:49 0.00% idle: cpu10 13 root 1 171 52 0K 16K RUN 9 2:49 0.00% idle: cpu9 14 root 1 171 52 0K 16K RUN 8 2:49 0.00% idle: cpu8 16 root 1 171 52 0K 16K RUN 6 2:49 0.00% idle: cpu6 11 root 1 171 52 0K 16K RUN b 2:49 0.00% idle: cpu11 19 root 1 171 52 0K 16K RUN 3 2:48 0.00% idle: cpu3 20 root 1 171 52 0K 16K RUN 2 2:48 0.00% idle: cpu2 1105 root 3 76 0 13744K 4752K select 0 2:07 0.00% wland 21 root 1 171 52 0K 16K RUN 1 2:07 0.00% idle: cpu1 1647 root 1 76 0 7944K 3092K select 0 1:41 0.00% irsd 2 root 1 -8 0 0K 16K - 0 1:34 0.00% g_event 1642 root 1 76 0 33872K 7904K select 0 1:24 0.00% dcd 4 root 1 -8 0 0K 16K - 0 1:20 0.00% g_down 41 root 1 20 0 0K 16K vnlrum 0 1:18 0.00% vnlru_mem 3 root 1 -8 0 0K 16K - 0 1:09 0.00% g_up 1636 root 1 76 0 9200K 3360K select 0 1:02 0.00% ppmd 1639 root 1 76 0 16860K 6156K select 0 1:02 0.00% smid 39 root 1 20 0 0K 16K syncer 0 0:59 0.00% syncer 1084 root 1 76 0 2280K 888K select 0 0:48 0.00% watchdog 1102 root 1 76 0 30424K 8676K select 0 0:42 0.00% idpd 1090 root 1 76 0 13288K 5004K select 0 0:32 0.00% craftd 1638 root 1 76 0 13044K 6052K select 0 0:31 0.00% bfdd 54 root 1 -8 0 0K 16K mdwait 0 0:15 0.00% md0 38 root 1 -16 0 0K 16K psleep 0 0:15 0.00% bufdaemon 42 root 1 -16 0 0K 16K sdflus 0 0:12 0.00% softdepflush 1637 root 1 76 0 8572K 3520K select 0 0:10 0.00% ksyncd 40 root 1 -4 0 0K 16K vlruwt 0 0:10 0.00% vnlru 46 root 1 -16 0 0K 16K psleep 0 0:09 0.00% vmuncachedaemon 1091 root 1 76 0 38600K 22300K select 0 0:08 0.00% mgd 853 root 1 8 0 2676K 888K nanslp 0 0:07 0.00% cron 12767 root 1 76 0 49220K 16656K select 0 0:06 0.00% cli 781 root 1 76 0 12836K 4824K select 0 0:05 0.00% eventd 1646 root 1 76 0 22128K 7792K select 0 0:05 0.00% dfwd 9 root 1 171 52 0K 16K pgzero 0 0:03 0.00% pagezero 8 root 1 -16 0 0K 16K psleep 0 0:02 0.00% pagedaemon 761 root 1 76 0 2396K 1148K select 0 0:01 0.00% usbd 1 root 1 8 0 1700K 852K wait 0 0:01 0.00% init 44 root 1 4 0 0K 16K pfeacc 0 0:01 0.00% if_pfe_listen 47 root 1 4 0 0K 16K pfeacc 0 0:01 0.00% if_pic_listen0 31 root 1 -48 -167 0K 16K WAIT 0 0:01 0.00% swi0: uart 1101 root 1 76 0 18476K 5252K select 0 0:01 0.00% appidd 1641 root 1 8 0 23620K 8776K nanslp 0 0:00 0.00% nsd 12768 root 1 76 0 38652K 7784K select 0 0:00 0.00% mgd 3064 root 1 8 0 22340K 6024K nanslp 0 0:00 0.00% kmd 1094 root 1 76 0 6084K 1996K select 0 0:00 0.00% inetd 1127 root 1 139 0 9804K 3088K select 0 0:00 0.00% sdxd 190 root 1 -8 0 0K 16K mdwait 0 0:00 0.00% md1 33 root 1 8 0 0K 16K usbevt 0 0:00 0.00% usb0 3143 root 1 8 0 4260K 1716K wait 0 0:00 0.00% login 3196 root 1 20 0 5064K 3052K pause 0 0:00 0.00% csh 1640 root 1 139 0 8068K 2768K select 0 0:00 0.00% relayd 1086 root 1 84 0 2716K 1268K select 0 0:00 0.00% tnetd 15101 root 1 76 0 24264K 1964K CPU0 0 0:00 0.00% top 946 root 1 -8 0 0K 16K mdwait 0 0:00 0.00% md2 1670 root 1 4 0 0K 16K pslave 0 0:00 0.00% peerproxy02200001 1671 root 1 4 0 0K 16K pslave 0 0:00 0.00% peerproxy01200001 0 root 1 -8 0 0K 0K WAIT 0 0:00 0.00% swapper 956 root 1 -8 0 0K 16K mdwait 0 0:00 0.00% md3 7 root 1 8 0 0K 16K - 0 0:00 0.00% thread taskq 32 root 1 8 0 0K 16K dwcint 0 0:00 0.00% dwc0 48 root 1 4 0 0K 16K purge_ 0 0:00 0.00% kern_pir_proc 50 root 1 8 0 0K 16K - 0 0:00 0.00% nfsiod 0 45 root 1 4 0 0K 16K dump_r 0 0:00 0.00% kern_dump_proc 10 root 1 -16 0 0K 16K ktrace 0 0:00 0.00% ktrace 6 root 1 8 0 0K 16K - 0 0:00 0.00% kqueue taskq 43 root 1 76 0 0K 16K sleep 0 0:00 0.00% netdaemon 34 root 1 8 0 0K 16K usbtsk 0 0:00 0.00% usbtask 51 root 1 8 0 0K 16K - 0 0:00 0.00% nfsiod 1 52 root 1 8 0 0K 16K - 0 0:00 0.00% nfsiod 2 53 root 1 8 0 0K 16K - 0 0:00 0.00% nfsiod 3 29 root 1 -12 -131 0K 16K WAIT 0 0:00 0.00% swi9: +
28 root 1 -12 -131 0K 16K WAIT 0 0:00 0.00% swi9: task queue 30 root 1 -16 -135 0K 16K WAIT 0 0:00 0.00% swi8: + 25 root 1 -24 -143 0K 16K WAIT 0 0:00 0.00% swi6: vm 27 root 1 -28 -147 0K 16K WAIT 0 0:00 0.00% swi5: cambio 36 root 1 -32 -151 0K 16K WAIT 0 0:00 0.00% swi4: ip6mismatch+ 35 root 1 -36 -155 0K 16K WAIT 0 0:00 0.00% swi3: ip6opt ipopt 37 root 1 -44 -163 0K 16K WAIT 0 0:00 0.00% swi1: ipfwd
This is expected behavior. The httpd and httpd-gk are not running on the secondary node. When using the command 'show system processes extensive' on secondary node, the output shows the processes on both nodes.
'show system processes extensive'
{secondary:node1} root@SRX-node1> show system processes extensive node0: -------------------------------------------------------------------------- last pid: 18287; load averages: 0.08, 0.08, 0.08 up 10+01:51:16 21:31:02 144 processes: 25 running, 107 sleeping, 1 zombie, 11 waiting Mem: 234M Active, 127M Inact, 1024M Wired, 159M Cache, 112M Buf, 428M Free Swap: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1351 root 15 76 0 994M 64132K select 0 2694.8 1038.62% flowd_octeon_hm 22 root 1 171 52 0K 16K RUN 0 201.2H 84.18% idle: cpu0 24 root 1 -20 -139 0K 16K RUN 0 82:32 0.00% swi7: clock ... node1: -------------------------------------------------------------------------- last pid: 15111; load averages: 0.09, 0.09, 0.08 up 10+01:51:34 21:30:56 118 processes: 25 running, 80 sleeping, 1 zombie, 12 waiting Mem: 136M Active, 95M Inact, 1000M Wired, 160M Cache, 112M Buf, 580M Free Swap: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1099 root 15 76 0 994M 64340K select 0 2694.5 1044.82% flowd_octeon_hm 22 root 1 171 52 0K 16K RUN 0 202.6H 82.67% idle: cpu0 24 root 1 -20 -139 0K 16K WAIT 0 71:27 0.00% swi7: clock 1106 root 1 76 0 12408K 5744K select 0 38:08 0.00% license-check ...
The result of the command below actually shows the process on both nodes that match http:
{secondary:node1} root@SRX-node1> show system processes extensive | match http 1521 root 1 76 0 13696K 5984K select 0 0:07 0.00% httpd-gk 2071 nobody 1 76 0 8892K 3584K select 0 0:02 0.00% httpd
If you want to check the process on node1 only, specify the node in the command:
{secondary:node1} root@SRX-node1> show system processes extensive node 1 | match http
J-Web management can be performed only on the primary node for the 0 redundancy group. The daemons referenced by J-Web do not run on the secondary node. You will not find the httpd and httpd-gk on the secondary node.