cancel
Showing results for 
Search instead for 
Did you mean: 

amf is in maintenance state - do I need it if so how can I make it online?

halit_sakca
Level 3

Dear All,

During reboot I saw;

svc.startd[8]: [ID 652011 daemon.warning] svc:/system/amf:default: Method "/lib/svc/method/amf start" failed with exit status 2.

and then I checked;

 

svc:/system/amf:default (Veritas Asynchronous Monitoring Framework (AMF) Init service)
 State: maintenance since Mon Jul 02 18:13:50 2012
Reason: Start method failed repeatedly, last exited with status 2
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /opt/VRTS/man/ -s 1M amfconfig
   See: man -M /opt/VRTS/man/ -s 1M amfstat
   See: /var/svc/log/system-amf:default.log
Impact: This service is not running.
 
within the google I see;
 
My /etc/default/amf looks like;
 
impdneilab1: vi /etc/default/amf
"/etc/default/amf" 13 lines, 234 characters
#
# AMF driver configuration file
#
# This file is sourced from amf initrc script
#
# Set the two environment variables below as follows:
#
#       1 = start or stop amf
#       0 = do not start or stop amf
#
AMF_START=0
AMF_STOP=1
 
When I run;
impdneilab1: rem_drv amf
Driver (amf) not installed.
 
1st Q: Do I have to use AMF? (I checked docs but could not understand). => I have 2xt2000, 2 jbod storage, oracle 11g2.
2nd Q: If I have to useit how can I make it online?
 
Thanks,
Halit
 
 
 

 

1 ACCEPTED SOLUTION

Accepted Solutions

kgupta1
Not applicable
Employee

Hi Halit,

Ans 1: AMF is basically asynchornous monitoring framework. It is the kernel driver for the solution that is called IMF - Intelligent Monitoring Framework

Every agent has a resource or a group of resources that it monitors. To monitor a resource, it regularly polls to check whether the resource is online or offline. This regular polling has two basic disadvantages

- state change would be detected only at monitor time (i.e. after 30 secs of 60 secs depending upon the monitor frequency)

- polling after every fixed interval uses system resource unnecessarily (even when there is no state change)

IMF is an answer to the above two disadvantages. It is recommended that one uses IMF.

 

Ans 2: Could you please perform the following steps:

Open file /etc/default/amf

Change AMF_START to "1" from "0"

Run command svcadm disable -s amf

Run svcs -l amf to verify that AMF is no more in maintainance state but in disabled state

Run command svcadm enable -s amf

Run svcs -l amf to verify that AMF is enabled

 

Please let us know in case you have any trouble.

 

Regards,

Kaushik

View solution in original post

2 REPLIES 2

kgupta1
Not applicable
Employee

Hi Halit,

Ans 1: AMF is basically asynchornous monitoring framework. It is the kernel driver for the solution that is called IMF - Intelligent Monitoring Framework

Every agent has a resource or a group of resources that it monitors. To monitor a resource, it regularly polls to check whether the resource is online or offline. This regular polling has two basic disadvantages

- state change would be detected only at monitor time (i.e. after 30 secs of 60 secs depending upon the monitor frequency)

- polling after every fixed interval uses system resource unnecessarily (even when there is no state change)

IMF is an answer to the above two disadvantages. It is recommended that one uses IMF.

 

Ans 2: Could you please perform the following steps:

Open file /etc/default/amf

Change AMF_START to "1" from "0"

Run command svcadm disable -s amf

Run svcs -l amf to verify that AMF is no more in maintainance state but in disabled state

Run command svcadm enable -s amf

Run svcs -l amf to verify that AMF is enabled

 

Please let us know in case you have any trouble.

 

Regards,

Kaushik

halit_sakca
Level 3

thanks, amf is online.

regards,

Halit