ESC イメージを再利用する D-MONA。2 種類のランタイム動作を表示できます。1 つは一般的な ESC 展開で予想されるすべての動作を表示でき、もう 1 つは D-MONA が提供する機能を示します。
D-MONA のランタイム動作は、展開時に VM に指定されるデイゼロ設定によって制御されます。デイゼロ設定の詳細については、「D-MONA Day 0 設定」を参照してください。
D-MONA Day 0 設定
次の例は、D-MONA の SSH VM アクセス設定を示しています。
<configuration>
<dst>--user-data</dst>
<file>file:///opt/cisco/esc/esc-config/dmona/iser-data.template</file>
<variable>
<name>vm_credentials</name>
<val>REPLACED_WITH_GENERATED_PWD</val>
</variable>
</configuration>
vm_credentials は、D-MONA への SSH アクセスのために暗号化されたパスワードを管理者に渡します。
次の例は、D-MONA ESC 証明書の設定を示しています。
<configuration>
<dst>/opt/cisco/esc/moan/dmona.crt</dst>
<data>$DMONA_CERT</data>
</configuration>
次の例は、D-MONA アプリケーションのユーザデータ設定を示しています。
<configuration>
<dst/opt/cisco/esc/mona/config/application-dmona.properties</dst>
<file>file:///opt/cisco/esc/esc-config/dmona/application-dmona.template</file>
<variable>
<name>monitoring.agent</name>
<val>true</val>
</variable>
<variable>
<name>monitoring.agent.vim.mapping</name>
<val>true</val>
</variable>
<!—Used to enable Basic Authentication for communication with the D-MONA Application.->
<variable>
<name>security_basic_enabled</name>
<val>true</val>
</variable>
<variable>
<name>security_user_name</name>
<val>REPLACED_WITH_USER_NAME</val>
</variable>
<variable>
<name>security_user_password</name>
<val>REPLACED_WITH_USER_PASSWORD</val>
</variable>
</configuration>