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
| -bash-4.1# hostname | |
| db201.c45063.blueboxgrid.com | |
| -bash-4.1# time ping -c1 app201.c45063.blueboxgrid.com | |
| PING app201.c45063.blueboxgrid.com (67.214.216.163) 56(84) bytes of data. | |
| 64 bytes from app201.c45063.blueboxgrid.com (67.214.216.163): icmp_seq=1 ttl=62 time=0.151 ms | |
| --- app201.c45063.blueboxgrid.com ping statistics --- | |
| 1 packets transmitted, 1 received, 0% packet loss, time 0ms | |
| rtt min/avg/max/mdev = 0.151/0.151/0.151/0.000 ms |
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
| before_fork do |server, worker| | |
| # No need for master process to hold a connection | |
| defined?(ActiveRecord::Base) and | |
| ActiveRecord::Base.connection.disconnect! | |
| # Kill off the old master | |
| old_pid = "#{server.pid}.oldbin" | |
| if File.exists?(old_pid) && server.pid != old_pid | |
| begin | |
| Process.kill("QUIT", File.read(old_pid).to_i) |
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
| [root@app10 /]# dig financials.dcs.in.gov @199.91.168.70 -trace | |
| ;; Warning, ignoring invalid type race | |
| ; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6_2.3 <<>> financials.dcs.in.gov @199.91.168.70 -trace | |
| ;; global options: +cmd | |
| ;; Got answer: | |
| ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 27159 | |
| ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 | |
| ;; QUESTION SECTION: |
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
| rsyslog_pid = value_for_platform_family( | |
| 'rhel' => '/var/run/syslogd.pid', | |
| 'debian' => '/var/run/rsyslogd.pid', | |
| ) | |
| monit_check 'rsyslog' do | |
| check_id rsyslog_pid | |
| group 'system' | |
| start '/etc/init.d/rsyslog start' | |
| stop '/etc/init.d/rsyslog stop' |
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
| [root@ds0235 cache]# pwd | |
| /vz/template/cache | |
| You have new mail in /var/spool/mail/root | |
| [root@ds0235 cache]# du -hs * | |
| 5.7G 066f7e8c-d00b-4f5a-94ae-15eb0324dfed | |
| 8.0G 1210a16c-2917-4773-8789-7e5c797fa0f4 | |
| 4.7G 1e9173f3-b9f0-4b98-936a-ec1ba1627284 | |
| 5.6G 20b76320-f648-423f-b370-e14672bdbb11 | |
| 5.5G 2223a55f-b4d9-4a92-9722-be836872c26b | |
| 5.7G 29bc4802-572b-4fb8-aef7-4217b884955f |
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
| [root@ds836 ~]# tw_cli /c0 show | |
| Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy | |
| ------------------------------------------------------------------------------ | |
| u0 RAID-1 DEGRADED - - - 931.312 W OFF | |
| u1 RAID-10 INOPERABLE - - 16K 1862.62 Ri ON | |
| VPort Status Unit Size Type Phy Encl-Slot Model | |
| ------------------------------------------------------------------------------ | |
| p0 OK u0 931.51 GB SATA 0 - WDC WD1002FBYS-02A6 |
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
| [root@ds1203 ~]# for ctid in `vzlist -a | awk 'NR > 1 { print $1 }'`; do vzctl exec $ctid hostname; vzctl exec $ctid curl -s -I www.ibm.com; done | |
| inserm01.c44031.blueboxgrid.com | |
| HTTP/1.1 302 Found | |
| Date: Thu, 23 Jan 2014 03:46:40 GMT | |
| Cache-Control: max-age=301 | |
| Expires: Thu, 23 Jan 2014 03:51:41 GMT | |
| Content-Type: text/html | |
| Expires: Fri, 01 Jan 1990 00:00:00 GMT | |
| Pragma: no-cache | |
| Cache-Control: no-cache, must-revalidate |
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
| Ashburn v4 | |
| ================ | |
| 199.91.168.0/22 | |
| 199.182.120.0/22 | |
| 173.247.96.0/21 | |
| Ashburn v6 | |
| =================== | |
| 2607:F700:8000::/33 |
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
| - - 199.91.170.69 | |
| - - 199.91.170.132 | |
| - - 199.91.170.50 | |
| - - 199.182.120.56 | |
| - - 173.247.96.10 | |
| - - 199.91.171.26 | |
| - - 199.91.170.222 | |
| - - 199.91.170.105 | |
| - - 199.91.171.21 | |
| - - 199.91.171.22 |
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
| - - 199.182.120.10 | |
| - - 199.182.120.9 | |
| - - 199.182.120.11 | |
| - - 199.182.120.8 | |
| - 199.182.120.16 | |
| - - 199.182.120.13 | |
| - - 199.182.120.17 | |
| - - 199.182.120.14 | |
| - - 199.182.120.146 | |
| - 199.182.120.19 |