Friday, June 5, 2015

Isilon - Sysctl commands

sysctl commands are equivalent of registry in windows environment. Changes Unix kernel runtime parameters. sysctl commands changes one node's kernel at a time. It doesn't survive reboot. changes will be lost after reboot.

sysctl [option] <name> [=value]
sysctl -a  list all sys controls
sysctl -d  descritpion of sysctl
sysctl -Na
sysctl <sysctl_name>=value    eg:  sysctl kern.nswbuf=2048
set cluster wide  isi_for_array -s sysctl <sysctl_name>=value


Temporary vs Persistent sysctl settings
Temporary sysctl changes are not applied to sysctl.conf configuration file
Persistent sysctl changes can be done by updating sysctl.conf configuration file on each node
isi_sysctl_cluster command updates each node and makes persistent

Setting persistent sysctl procedure

Back up conf file
touch /etc/mcp/override/sysctl.conf && cp /etc/mcp/override/sysctl.conf /etc/mcp/override/sysctl.conf.bkul
isi_sysctl_cluster sysctl_name=value
verify change  cat /etc/mcp/override/sysctl.conf

No comments:

Post a Comment