
March 22, 2016 at 9:28 AM
Hi Richard, here is the logging from the node:--from /var/log/messages2016-03-22T09:25:09-04:00 <2.2> ishtar-2(id17) sendmail[81680]: u2MDP8G3081680: SYSERR(root): null destination for [IPC] mailerFrom /var/log/maillog2016-03-22T09:25:09-04:00 <2.6> ishtar-2(id17) sendmail[81680]: u2MDP8G3081680: to=MAILER-DAEMON, delay=00:00:00, mailer=local, pri=31068, dsn=5.1.1, stat=User unknownThis looks like a sendmail config issue to me. We allow non-legal email address senders (the Isilon GUI sends alert emails from an invalid address).
On Monday, March 21, 2016 at 4:35:55 PM UTC-4, Richard wrote:
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
March 21, 2016 at 4:35 PM
Check /var/log/maillog for the error. It’s likely sending mail, but probably your mailer is rejecting it because it’s not sending from a legal email address. You fix that by going to /etc/mail, doing “make”, which will generate hostname.mc and hostname.submit.mc, then adding some combination of SMART_HOST, MASQUERADE_AS and MASQUERADE_DOMAIN in the hostname.submit.mc file, using the strange syntax with the “dnl” entries. Then do a "make all install restart" in /etc/mail. Or, depending on your situation you might have access to a mailer that you can configure to accept the mail as is. I really don’t like sendmail. I don’t think Isilon actually uses it, it’s just part of the FreeBSD distribution OneFS is based on.This would need to be done on every node that needs to send mail. In my case I just did node 1, where my scripts run.Looks like I’ve answered this before: https://groups.google.com/forum/#!topic/isilon-user-group/yPf439SZEiwRichard
--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
March 21, 2016 at 11:19 AM
Thanks guys this is exactly what I needed. Sendmail of course does not work by default, I am off to research that.---Don
On Monday, March 21, 2016 at 10:12:20 AM UTC-4, Richard wrote:
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
March 21, 2016 at 10:12 AM
Or you can just have one node run them by putting the command into /etc/local/crontab.local on that node. Not as robust in case of node failure, but I’m not terribly concerned about my little scripts running if I actually have a node down.
# send isi status to sysadmins every day at 9 AM
0 9 * * * root /usr/bin/isi stat | mail -s "Isilon status" sysa...@yourcompany.com
But first I would try:
echo Test | mail -s Test your...@yourcompany.com
...at the command line to make sure mail is working, depending on your particular email and dns setup you might need to modify the Isilon sendmail configuration to get a routable sending address. Which is another topic entirely.
Richard
March 21, 2016 at 9:35 AM
Donald, You can put cluster cron jobs into /etc/mcp/override/crontab.smbtime. The files format includes the username to execute the command before the command itself. Note that *every* node runs this crontab, so you’ll want to avoid having every single node generate and run the same report. If it’s a lightweight job use isi_ropc to run only on the lowest-numbered (effective ‘head’) node. If you have a bunch of heavy-duty jobs you might want to assign them to individual nodes inside the job scripts… Chrissolisi-1# isi_ropc --help Usage: isi_ropc [OPTION]... [COMMAND] Runs the passed command once per cluster no matter how many nodes it's run on. Useful for things like the newsyslog-on-ifs crontab entry, which wants to be in each nodes' crontab but should only be run once per cluster. By default, only run the node on the lowest devid. Options: -h, --help Print this message and exit -s, --hash Hash the command and use it as a lookup into the device list, effectively running the command on a random node, rather than running on the lowest devid.On Mar 21, 2016, at 9:25 AM, Donald King <donald...@gmail.com> wrote: Has anyone come up with a method to automatically generate reporting for SyncIQ jobs? I can log into node 1 and run the command "isi sync reports list --reports-per-policy 1" and it gives me a nice little snapshot of the previous night's run. But how can I get the cluster to do this automagically and email it to me? Is cron an option? I am not an experienced scripter - any help is appreciated! Thanks, -Don -- You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.