APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Posted: 2021-07-01 02:16 AM . Last Modified: 2024-03-05 11:30 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:16 AM . Last Modified: 2024-03-05 11:30 PM
Reference: http://forums.apc.com/message/38651
This thread talks about manipulating the configuration of an NMC by ssh or ftp manipulation of the file config.ini
Is the stuff described in this thread documented anywhere ?
Like being able to update as little as a single key/value pair ? And how to properly do it ?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:16 AM . Last Modified: 2024-03-05 11:30 PM
most of what i have would be in the knowledge base @ www.apc.com/site/support/index.cfm/faq/ or PDF page 75 has the most information in http://www.apcmedia.com/salestools/PMAR-8P9G2C/PMAR-8P9G2C_R2_EN.pdf
i dont think we have anything that goes over every single keyword in the file and how to use it as most should kind of be self explanatory after understanding the general configuration of the management card through something like the web UI. to assist you with understanding some of the options though, you could look at the web UI help file or the user's guide. for instance, if you want to know the valid values for something like BootMode, you could check the user's guide or the card itself to see the options (DHCP, BootP, etc). you can't just type anything in there as it will just reject invalid values.
essentially, each NMC has a config.ini file that holds the current configuration. its recommended you configure one NMC the way you want it and then download the config.ini via FTP or SSH, then you can re-upload it to other cards. It is true that you don't always need to upload the entire file and you can just update certain lines or sections.
For instance, the top section is [NetworkTCPIP]. in order for the card to accept values, it must have a section name above it. so if you just wanted to change a single keyword (the word before the = sign) you just need to put something like:
[NetworkTCPIP]
HostName=AngelasNMC
and it would apply it. if there is no change in the file for any items, nothing is changed.
for certain items like bootmode that I mentioned earlier, something called override keyword that applies. article FA156136 talks about how that works and what the purpose of it is. FA156188 could also be helpful as well as FA156117. I just searched config.ini in the kbase.
I hope this helps get you started.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:16 AM . Last Modified: 2024-03-05 11:30 PM
most of what i have would be in the knowledge base @ www.apc.com/site/support/index.cfm/faq/ or PDF page 75 has the most information in http://www.apcmedia.com/salestools/PMAR-8P9G2C/PMAR-8P9G2C_R2_EN.pdf
i dont think we have anything that goes over every single keyword in the file and how to use it as most should kind of be self explanatory after understanding the general configuration of the management card through something like the web UI. to assist you with understanding some of the options though, you could look at the web UI help file or the user's guide. for instance, if you want to know the valid values for something like BootMode, you could check the user's guide or the card itself to see the options (DHCP, BootP, etc). you can't just type anything in there as it will just reject invalid values.
essentially, each NMC has a config.ini file that holds the current configuration. its recommended you configure one NMC the way you want it and then download the config.ini via FTP or SSH, then you can re-upload it to other cards. It is true that you don't always need to upload the entire file and you can just update certain lines or sections.
For instance, the top section is [NetworkTCPIP]. in order for the card to accept values, it must have a section name above it. so if you just wanted to change a single keyword (the word before the = sign) you just need to put something like:
[NetworkTCPIP]
HostName=AngelasNMC
and it would apply it. if there is no change in the file for any items, nothing is changed.
for certain items like bootmode that I mentioned earlier, something called override keyword that applies. article FA156136 talks about how that works and what the purpose of it is. FA156188 could also be helpful as well as FA156117. I just searched config.ini in the kbase.
I hope this helps get you started.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:16 AM . Last Modified: 2024-03-05 11:30 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 02:16 AM . Last Modified: 2024-03-05 11:30 PM
Many thanks.
Those three article links are especially helpful
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.