Sample configuration

In the following configuration, the NotifierMngr agent is configured to run with two resource groups: NicGrp and Grp1. NicGrp contains the NIC resource and a Phantom resource that enables VCS to determine the online and offline status of the group. See Phantom agent for more information on verifying the status of groups that only contain OnOnly or Persistent resources such as the NIC resource. You must enable NicGrp to run as a parallel group on both systems.

Grp1 contains the NotifierMngr resource (ntfr) and a Proxy resource (nicproxy), configured for the NIC resource in the first group.

In this example, NotifierMngr has a dependency on the Proxy resource.

Note   Only one instance of the notifier process can run in a cluster. The process cannot run in a parallel group.

The NotifierMngr resource sets up notification for all events to the SnmpConsole: snmpserv. In this example, only messages of SevereError level are sent to the SmptServer (smtp.example.com), and the recipient (vcsadmin@example.com).

AIX configuration

system north

system south

group NicGrp (

SystemList = { north, south }

AutoStartList = { north }

Parallel = 1

)

Phantom my_phantom (

)

NIC NicGrp_en0 (

Enabled = 1

Device = en0

NetworkType = ether

)

group Grp1 (

SystemList = { north, south }

AutoStartList = { north }

)

Proxy nicproxy(

TargetResName = "NicGrp_en0"

)

NotifierMngr ntfr (

PathName = "/opt/VRTSvcs/bin/notifier"

SnmpConsoles = { snmpserv = Information }

SmtpServer = "smtp.your_company.com"

		SmtpRecipients = { "vcsadmin@your_company.com" = SevereError 
}
 

)

ntfr requires nicproxy

// resource dependency tree

//

// group Grp1

// {

// NotifierMngr ntfr

// {

// Proxy nicproxy

// }

// }

HP-UX configuration

system north

system south

group NicGrp (

SystemList = { north, south}

AutoStartList = { north }

Parallel = 1

)

Phantom my_phantom (

)

NIC NicGrp_en0 (

Device = lan0

NetworkHosts = { "166.93.2.1", "166.97.1.2" }

)

group Grp1 (

SystemList = { north, south }

AutoStartList = { north }

)

Proxy nicproxy(

TargetResName = "NicGrp_en0"

)

NotifierMngr ntfr (

SnmpConsoles = { snmpserv = Information }

SmtpServer = "smtp.your_company.com"

		SmtpRecipients = { "vcsadmin@your_company.com" = SevereError 
}
 

)

ntfr requires nicproxy

// resource dependency tree

//

// group Grp1

// {

// NotifierMngr ntfr

// {

// Proxy nicproxy

// }

// }

Linux configuration

system north

system south

group NicGrp (

SystemList = { north, south}

AutoStartList = { north }

Parallel = 1

)

Phantom my_phantom (

)

NIC NicGrp_eth0 (

Enabled = 1

Device = eth0

)

group Grp1 (

SystemList = { north, south }

AutoStartList = { north }

)

Proxy nicproxy(

TargetResName = "NicGrp_eth0"

)

NotifierMngr ntfr (

SnmpConsoles = { snmpserv = Information }

SmtpServer = "smtp.your_company.com"

		SmtpRecipients = { "vcsadmin@your_company.com" = SevereError 
}
 

)

ntfr requires nicproxy

// resource dependency tree

//

// group Grp1

// {

// NotifierMngr ntfr

// {

// Proxy nicproxy

// }

// }

Solaris configuration

system north

system south

group NicGrp (

SystemList = { north, south}

AutoStartList = { north }

Parallel = 1

)

Phantom my_phantom (

)

NIC NicGrp_en0 (

Enabled = 1

Device = en0

NetworkType = ether

)

group Grp1 (

SystemList = { north, south }

AutoStartList = { north }

)

Proxy nicproxy(

TargetResName = "NicGrp_en0"

)

NotifierMngr ntfr (

SnmpConsoles = { snmpserv = Information }

SmtpServer = "smtp.example.com"

SmtpRecipients = { "vcsadmin@example.com" = SevereError }

)

ntfr requires nicproxy

// resource dependency tree

//

// group Grp1

// {

// NotifierMngr ntfr

// {

// Proxy nicproxy

// }

// }