Public
Snippet $222 authored by Ivan Tyagov

slapos inside webrunner

root@wnd:~# slapos node
slappart19:bootstrap-monitor                   EXITED    Jun 05 06:24 AM
slappart19:certificate_authority-on-watch      RUNNING   pid 13377, uptime 1:10:31
slappart19:crond                               RUNNING   pid 13382, uptime 1:10:31
slappart19:gunicorn-graceful                   EXITED    Jun 05 06:24 AM
slappart19:gunicorn-on-watch                   RUNNING   pid 13365, uptime 1:10:31
slappart19:monitor-httpd-graceful              EXITED    Jun 05 06:24 AM
slappart19:monitor-httpd-on-watch              RUNNING   pid 13361, uptime 1:10:31
slappart19:nginx-frontend-on-watch             RUNNING   pid 13367, uptime 1:10:31
slappart19:prepareSoftware                     EXITED    Jun 05 06:24 AM
slappart19:runner-sshd-graceful                EXITED    Jun 05 06:24 AM
slappart19:runner-sshd-on-watch                RUNNING   pid 13359, uptime 1:10:31
slappart19:runner_sshkeys_authority-on-watch   RUNNING   pid 13373, uptime 1:10:31
slappart19:shellinaboxd-on-watch               RUNNING   pid 13360, uptime 1:10:31
slappart19:slaprunner-httpd-graceful           EXITED    Jun 05 06:24 AM
slappart19:slaprunner-httpd-on-watch           RUNNING   pid 13356, uptime 1:10:31
slappart19:slaprunner-supervisord-on-watch     RUNNING   pid 13357, uptime 1:10:31
slappart19:supervisord-on-watch                RUNNING   pid 13383, uptime 1:10:31
watchdog                                       RUNNING   pid 13355, uptime 1:10:31
root@wnd:~# su slapuser19
$ /bin/bash
slapuser19@wnd:/root$ cd
slapuser19@wnd:~$ slapos node
slappart1:cloudooo                    RUNNING   pid 13781, uptime 1:10:26
slappart1:xvfb                        RUNNING   pid 13782, uptime 1:10:26
slappart2:crond                       RUNNING   pid 13818, uptime 1:10:22
slappart2:kumofs_gateway              RUNNING   pid 13815, uptime 1:10:22
slappart2:kumofs_manager              RUNNING   pid 13816, uptime 1:10:22
slappart2:kumofs_server               RUNNING   pid 13817, uptime 1:10:22
slappart3:crond                       RUNNING   pid 13899, uptime 1:10:18                                                                                                                                          
slappart3:kumofs_gateway              RUNNING   pid 13882, uptime 1:10:18                                                                                                                                          
slappart3:kumofs_manager              RUNNING   pid 13883, uptime 1:10:18                                                                                                                                          
slappart3:kumofs_server               RUNNING   pid 13884, uptime 1:10:18                                                                                                                                          
slappart4:crond                       RUNNING   pid 13961, uptime 1:10:13                                                                                                                                          
slappart4:mariadb                     RUNNING   pid 13960, uptime 1:10:13                                                                                                                                          
slappart4:mariadb_update              EXITED    Jun 05 06:26 AM                                                                                                                                                    
slappart5:crond                       RUNNING   pid 14083, uptime 1:10:09                                                                                                                                          
slappart5:zeo-default                 RUNNING   pid 14082, uptime 1:10:09                                                                                                                                          
slappart6:ca                          RUNNING   pid 14157, uptime 1:10:04                                                                                                                                          
slappart6:crond                       RUNNING   pid 14159, uptime 1:10:04                                                                                                                                          
slappart6:test-ca                     RUNNING   pid 14161, uptime 1:10:04                                                                                                                                          
slappart6:zope-0-on-watch             RUNNING   pid 14156, uptime 1:10:04                                                                                                                                          
slappart7:apache                      RUNNING   pid 14389, uptime 1:09:59                                                                                                                                          
slappart7:crond                       RUNNING   pid 14392, uptime 1:09:59                                                                                                                                          
slappart7:haproxy                     RUNNING   pid 14390, uptime 1:09:59                                                                                                                                          
slappart8:ipython_notebook-on-watch   RUNNING   pid 14498, uptime 1:09:56                                                                                                                                          
watchdog                              FATAL     command is empty                                                                                                                                                   
slapuser19@wnd:~$ slapos node restart slappart6:zope-0-on-watch                                                                                                                                                    
slappart6:zope-0-on-watch: stopped                                                                                                                                                                                 
slappart6:zope-0-on-watch: started
slapuser19@wnd:~$ slapos node status
slappart1:cloudooo                    RUNNING   pid 13781, uptime 1:10:44
slappart1:xvfb                        RUNNING   pid 13782, uptime 1:10:44
slappart2:crond                       RUNNING   pid 13818, uptime 1:10:40
slappart2:kumofs_gateway              RUNNING   pid 13815, uptime 1:10:40
slappart2:kumofs_manager              RUNNING   pid 13816, uptime 1:10:40
slappart2:kumofs_server               RUNNING   pid 13817, uptime 1:10:40
slappart3:crond                       RUNNING   pid 13899, uptime 1:10:36
slappart3:kumofs_gateway              RUNNING   pid 13882, uptime 1:10:36
slappart3:kumofs_manager              RUNNING   pid 13883, uptime 1:10:36
slappart3:kumofs_server               RUNNING   pid 13884, uptime 1:10:36
slappart4:crond                       RUNNING   pid 13961, uptime 1:10:31
slappart4:mariadb                     RUNNING   pid 13960, uptime 1:10:31
slappart4:mariadb_update              EXITED    Jun 05 06:26 AM
slappart5:crond                       RUNNING   pid 14083, uptime 1:10:27
slappart5:zeo-default                 RUNNING   pid 14082, uptime 1:10:27
slappart6:ca                          RUNNING   pid 14157, uptime 1:10:22
slappart6:crond                       RUNNING   pid 14159, uptime 1:10:22
slappart6:test-ca                     RUNNING   pid 14161, uptime 1:10:22
slappart6:zope-0-on-watch             RUNNING   pid 4757, uptime 0:00:05
slappart7:apache                      RUNNING   pid 14389, uptime 1:10:17
slappart7:crond                       RUNNING   pid 14392, uptime 1:10:17
slappart7:haproxy                     RUNNING   pid 14390, uptime 1:10:17
slappart8:ipython_notebook-on-watch   RUNNING   pid 14498, uptime 1:10:14
watchdog                              FATAL     command is empty
slapuser19@wnd:~$ which slapos
/srv/slapgrid/slappart19/bin//slapos
slapuser19@wnd:~$ echo $PATH
/srv/slapgrid/slappart19/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games