This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
# | |
# Sample script to gather, merge and sort mmfs.log files | |
# from nodes listed in file /tmp/gpfs.allnodes | |
# | |
# /tmp/gpfs.allnodes has been created by the user of this script | |
# and contains the host names of the nodes that the | |
# mmfs.log files are required from. No blank lines. | |
# | |
# Output file is called: /tmp/logs.sorted on node script is executes from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ksh | |
#Connected - echo basic info | |
echo "# munin node at `hostname`" | |
#watchdog timestamp | |
WD_TIME=$(perl -e 'print time') | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Tested with AIX 6.1 TL 8(6100-08-00-0000) and TL 6 (6100-06-01-1043) with Active Directory on 2008R2 domain controllers at the 2003 functional level. | |
Prerequisites: | |
DNS: A and PTR records for AIX host in Windows DNS server. | |
AD: Computer object matching AIX hostname in Active Directory. | |
AD: A target OU that will contain AIX objects. | |
AD: At least one “Unix enabled” user in the target OU. (Separate document) | |
AD: A service account user that will be used for LDAP binds to AD. | |
AIX: Ensure that the `hostname` command returns the FQDN of the AIX server. |
NewerOlder