Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeRDark
sed -i 's#/usr/bin/numactl --membind=1 --cpunodebind=1#/\/usr\/bin\/numactl --membind=0/d' /etc/init.d/MonTier-es-raw-trans-Node-3 
sed -i '/\/usr\/bin\/numactl --membind=0/d' /etc/init.d/MonTier-es-raw-trans-Node-4 
sed -i '/.*daemon --user $ES_NODE_USER.*/i \         numa="/usr/bin/numactl --membind=2 --cpunodebind=2#g2"' /etc/init.d/MonTier-es-raw-trans-Node-3
sed -i 's#/usr/bin/numactl --membind=1 --cpunodebind=1#/.*daemon --user $ES_NODE_USER.*/i \         numa="/usr/bin/numactl --membind=3 --cpunodebind=3#g3"' /etc/init.d/MonTier-es-raw-trans-Node-4

To verify the NUMA configuration for all services, execute the following command:

...