Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Change the name of your PNS Virtual Appliance

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forย 
Showย ย onlyย  | Search instead forย 
Did you mean:ย 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • Change the name of your PNS Virtual Appliance
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
Anonymous user
Not applicable

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
8
1958
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Change the name of your PNS Virtual Appliance

Hi ,

I have deployed a Virtual Appliance with PNS in it.
As soon as i use the plugin to configure the PNS in VCenter,the name of the appliance is displayed as localhost.

how can i change this?

See attached screenshot

2554_APC Powerchut.png

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
0
1954
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Hi,

Sorry for the delay in responding. You should have been able to edit /etc/hosts and /etc/sysconfig/network adding the required host name and that would resolve the issue. However, as you see when rebooting the OS the host name reverts back to localhost. I found VMware Kbase 2051759 that explains how to change the host name so that is remains after a reboot.

The steps are

1 - Power down the OS

2 - Using vSphere Client double click on the Appliance and select Edit virtual machine settings.

3 - Select the options tab

4 - Select Advanced that is under vApp Option and click on the Properties button on the right

2603_pastedImage_4.png

5 - The Advanced Property configuration window will appear. Select New at the bottom of the window.

2604_pastedImage_5.png

6 - In the Edit Property Settings window change

     Category = Networking Properties

     Label = Hostname

     Class ID = vami

     ID = hostname (this is case sensitive)

     Default value = desired hostname

2605_pastedImage_6.png

7 - Click OK on all of the windows to close each of them

8 - Click on Edit virtual machine settings (again)

9 - Select the Options tab

10 - Select Properties that is under the vApp Options

11 - On the right side of the window there will be the vApp Property Configuration, using the scroll bar scroll down to Hostname and enter the desired hostname then click OK

2606_pastedImage_7.png

Power on the PCNS Appliance and the desired host name will now be permanent.

Log into the appliance and you will see the prompt has changed from localhost the the new name and you can test by running the hostname command at the prompt. The new host name will appear.

2607_pastedImage_8.png

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 8
BillP
Administrator BillP Administrator
Administrator

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
0
1954
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Hi,

Are you using static IP address or DHCP. If using static address you can go to https://system ip:5480 and enter a host name.

2561_pastedImage_6.png

If using DHCP you need to edit /etc/hosts and add the assigned ip address and the host name

2560_pastedImage_5.png

2562_pastedImage_7.png

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
0
1954
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Hi Bill,

Thanks that looks the place where it should be ๐Ÿ™‚ Although i am running in a problem there when i try to logon: " unable to authenticate user : Please try again "
No matter which account i use... any other suggestions?

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
0
1953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Hi,

Another way to do this, is to go to the PCNS console and type the following command as shown in the below screenshot and press option 3 to type the hostname:

2564_Untitled.png

You may have to restart the PowerChute service before it shows up the hostname. To stop and start the PowerChute service the commands are below:

sudo etc/init.d/PowerChute stop

sudo etc/init.d/PowerChute start

Regards,

B

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
0
1953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Hi QueenB,

When i do it like that, i get the same message as you : Hostname has been set to ****
But as soon as i re-start the VM , it is been set back to LocalHost

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
0
1951
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Hi,

Where were you logging in when seeing the error? Through the web interface to port 5480 or logging into the console? From reading your reply to QueenB I assume you can log into the console. If that is the case you can add the host name to /etc/hosts. I tested using both static and DHCP and the below entries worked for either setting both.

NOTE: you should make a copy of the hosts file just in case while editing the file something goes wrong. That way you have a copy of the original settings to revert to.

2567_pastedImage_0.png

As

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
0
1953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Hi,

Yes, i am able to login the console, and the steps discribed by QueenB gave me the option to re-name the appliance. But as soon as i reboot the VM, the name is set back to the original :"localhost" Should there be a step in the console where i need to specify to save that config?

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
0
1953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Nobody who can tell me how to safe the change which has been made to the name of the Appliance?

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

0 Likes
0
1955
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-07-01 06:30 AM . Last Modified: โ€Ž2024-03-04 11:09 PM

Hi,

Sorry for the delay in responding. You should have been able to edit /etc/hosts and /etc/sysconfig/network adding the required host name and that would resolve the issue. However, as you see when rebooting the OS the host name reverts back to localhost. I found VMware Kbase 2051759 that explains how to change the host name so that is remains after a reboot.

The steps are

1 - Power down the OS

2 - Using vSphere Client double click on the Appliance and select Edit virtual machine settings.

3 - Select the options tab

4 - Select Advanced that is under vApp Option and click on the Properties button on the right

2603_pastedImage_4.png

5 - The Advanced Property configuration window will appear. Select New at the bottom of the window.

2604_pastedImage_5.png

6 - In the Edit Property Settings window change

     Category = Networking Properties

     Label = Hostname

     Class ID = vami

     ID = hostname (this is case sensitive)

     Default value = desired hostname

2605_pastedImage_6.png

7 - Click OK on all of the windows to close each of them

8 - Click on Edit virtual machine settings (again)

9 - Select the Options tab

10 - Select Properties that is under the vApp Options

11 - On the right side of the window there will be the vApp Property Configuration, using the scroll bar scroll down to Hostname and enter the desired hostname then click OK

2606_pastedImage_7.png

Power on the PCNS Appliance and the desired host name will now be permanent.

Log into the appliance and you will see the prompt has changed from localhost the the new name and you can test by running the hostname command at the prompt. The new host name will appear.

2607_pastedImage_8.png

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

ย 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings ยฉ 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of