NetScaler practice / log ns.log to the serial console and ssh

7:50 PM
NetScaler practice / log ns.log to the serial console and ssh -

To enable logging of NetScaler to all consoles (serial and ssh) issues the following lines:

  • create alias "nslogtoshell" to enable logging to the console: "the /etc/syslog.conf.orig cp /etc/syslog.conf shell aliases, shell chmod 666 / etc / syslog.conf; echo shell 'local0 * * >> /etc/syslog.conf;. killall -9 syslogd shell; shell / usr / sbin / syslogd -b 127.0.0.1 -n -v -v -8; shell cp / etc / syslog.conf / nsconfig / "
  • create alias" nologtoshell "to disable the connection to the console: alias" cp shell /etc/syslog.conf.orig / etc / syslog.conf; killall -9 syslogd shell; shell / usr / sbin / syslogd -b 127.0.0.1 -n -v -v -8 shell cp /etc/syslog.conf / nsconfig / "
  • enable logging of NetScaler CLI using nslogtoshell
  • off the NetScaler CLI connection using nologtoshell
Previous
Next Post »
0 Komentar