Первый пост

Хочу проверить вставку кода …

1 Создаем общюю шапку и одновременно чистим старый лог:
# echo "Status $DATE :" > $LOG
# arcconf getconfig 1 ad | egrep "Controller Model" >> $LOG
# echo. >> $LOG
# echo LOCATION1 >> $LOG
# echo LOCATION2 >> $LOG
# echo LOCATION3 >> $LOG
# echo LOCATION4 >> $LOG
# echo LOCATION5 >> $LOG
# echo. >> $LOG
# echo "-------------------------------------------" >> $LOG
# echo. >> $LOG

1.1 Проверяем состояние контроллера и логических устройств:
# echo ----------------------------------------------------------------------
# echo Controller information
# echo ----------------------------------------------------------------------
# echo.
# arcconf getconfig 1 ad | egrep "Controllers found|Controller Status|Controller Model|Temperature|Automatic Failover|Logical devices/Failed/Degraded"

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″ />
<title>WordPress.com</title>
<link rel=”profile” href=”http://gmpg.org/xfn/11” />
<link rel=”pingback” href=”http://wordpress.com/xmlrpc.php” />
<meta name=”msapplication-TileImage” content=”/wp-content/themes/h4/tabs/images/wpcom-logo-144.png”/>
<meta name=”msapplication-TileColor” content=”#0074a2″/>
<meta name=”application-name” content=”WordPress.com”/>
<meta name=”msApplication-PackageFamilyName” content=”AutomatticInc.WordPress.com_9ejavqh8rasr8″/>
<meta name=”msApplication-ID” content=”App”/>
<meta http-equiv=”x-ua-compatible” content=”IE=10″>
<script type=”text/javascript”>
/* <![CDATA[ */
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s