Changes

From SME Server
Jump to navigationJump to search
More NMC configuration
Line 53: Line 53:  
The NMC default configuration searches for an IP address using BOOTP and DHCP. It expects a device specific cookie to be returned with the DHCP response, so even if you create a local hostname in ''Server-manager - Hostnames and Addresses'', initial install will fail. Use the APC ''Device IP Configuration Wizard'' to discover the UPS and assign IP/Subnet/Gateway settings. You can then access the UPS configuration in a browser using the IP given.
 
The NMC default configuration searches for an IP address using BOOTP and DHCP. It expects a device specific cookie to be returned with the DHCP response, so even if you create a local hostname in ''Server-manager - Hostnames and Addresses'', initial install will fail. Use the APC ''Device IP Configuration Wizard'' to discover the UPS and assign IP/Subnet/Gateway settings. You can then access the UPS configuration in a browser using the IP given.
   −
Make your settings via the web browser interface.  
+
The network TCP/IP settings will be set to ''manual'' with the values provided in the wizard above. To use DHCP in future goto the ''Administration - Network Tab'' and under TCP/IP select ''DHCP'' for configuration and press ''Next''. On the following page deselect the tick box against ''Require vendor specific cookie to accept DHCP Address'' and ''Apply''. DHCP configuration via the Hostnames and addresses panel in Server-manager should now work.
   −
The network TCP/IP settings will be set to ''manual'' with the values provided in the wizard above. To use DHCP in future goto the ''Administration - Network Tab'' and under TCP/IP select ''DHCP'' for configuration and press ''Next''. On the following page deselect the tick box against ''Require vendor specific cookie to accept DHCP Address'' and ''Apply''. DHCP configuration via the Hostnames and addresses panel in Server-manager should now work.
+
Make any other settings you require via the web browser interface.
{{Note box|msg=The /sbin/apctest utility will not work across the network using the ''snmp'' or ''pcnet'' UPSTYPE as it does not have write access. Yo will therefore need to make the necessary configuration settings via the APC UPS web browser interface}}
+
{{Note box|msg=The /sbin/apctest utility will not work across the network using the ''snmp'' or ''pcnet'' UPSTYPE as it does not have write access. You will therefore need to make the necessary configuration settings via the APC UPS web browser interface}}
 
=====UPSTYPE snmp=====
 
=====UPSTYPE snmp=====
 +
For this UPSTYPE to work you will need to make some changes to the NMC via the web browser interface first
 +
 +
Under the ''Administration'' and ''Notification'' tabs goto ''SNMP Trap Receivers'' and press ''Add Trap Reciever''. On the next page add the IP address of your SME server that will be monitoring the UPS and ensure ''SNMP v1'' is selected, ''Community'' is ''public'' and ''Authenticate traps'' is ''enabled''. Now press ''Apply''.
 +
 
Edit /etc/apcupsd/apcupsd.conf and set the following
 
Edit /etc/apcupsd/apcupsd.conf and set the following
 
  UPSCABLE ether
 
  UPSCABLE ether
 
  UPSTYPE snmp
 
  UPSTYPE snmp
 
  DEVICE ''ipaddress'':161:APC:public
 
  DEVICE ''ipaddress'':161:APC:public
 +
{{Note box|msg=''ipaddress'' is the IP address assigned to the UPS. The default port is ''161'', default vendor is ''APC'' and default community is ''public''}}
 
Make any other changes required and save the file.
 
Make any other changes required and save the file.
{{Note box|msg=''ipaddress'' is the IP address assigned to the UPS. The default port is ''161'', default vendor is ''APC'' and default community is ''public''}}
+
 
Continue as above in the ''Configure apcupsd'' section
+
Continue as above in the ''Configure apcupsd'' section - but note the requirements in the ''snmp and pcnet Killpower'' section below.
 
=====UPSTYPE pcnet=====
 
=====UPSTYPE pcnet=====
 
For this UPSTYPE to work you will need to make some changes to the NMC via the web browser interface first
 
For this UPSTYPE to work you will need to make some changes to the NMC via the web browser interface first
   −
Under the UPS tab, goto ''PowerChute - Configuration''. Enter an ''Authentication Phrase'' (This must be at least 15 characters long to be valid)
+
Under the ''UPS'' tab, goto ''PowerChute - Configuration''. Enter an ''Authentication Phrase'' (This must be at least 15 characters long to be valid)
 
such as  
 
such as  
 
  My hidden auth phrase
 
  My hidden auth phrase
 
and ''Apply''
 
and ''Apply''
   −
Now under ''PowerChute - Clients'' press ''Add Clients''. On the subsequent page add the IP address of your server that will be momitoring the UPS and ''Apply''
+
Now under ''PowerChute - Clients'' press ''Add Clients''. On the subsequent page add the IP address of your SME server that will be monitoring the UPS and ''Apply''
    
Edit /etc/apcupsd/apcupsd.conf and set the following
 
Edit /etc/apcupsd/apcupsd.conf and set the following
Line 79: Line 84:  
  UPSTYPE pcnet
 
  UPSTYPE pcnet
 
  DEVICE ''ipaddress'':apc:''AuthPhrase''
 
  DEVICE ''ipaddress'':apc:''AuthPhrase''
 +
{{Note box|msg=''ipaddress'' is the IP address assigned to the UPS. The default user is ''apc'' (and apparently can't be changed), and the ''AuthPhrase'' is the Authentication Phrase as set above}}
 
Make any other changes required and save the file.
 
Make any other changes required and save the file.
{{Note box|msg=''ipaddress'' is the IP address assigned to the UPS. The default user is ''apc'' (and apparently can't be changed), and the ''AuthPhrase'' is the Authentication Phrase as set above}}
+
 
Continue as above in the ''Configure apcupsd'' section
+
Continue as above in the ''Configure apcupsd'' section - but note the requirements in the ''snmp and pcnet Killpower'' section below.
 +
=====snmp and pcnet Killpower=====
    
===Usage of apcupsd===
 
===Usage of apcupsd===

Navigation menu