• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

problem after switching VPS

P

PersianC

Guest
Hello,

I used plesk migration tools to switch to my new VPS. it works fine but for some reason I want to use my old IPs on new VPS so I changed IPs. now, problem is

1. that 'Server IP' in plesk don't change. I could not change server IP in plesk.
2. I could not delete old IPs. still get `ip used in DNS settings` message but no DNS use those IPs.

please help me slove problems especial first issue (Server IP).

thanks.
 
Did you try to use ifmng utility?

# /usr/local/psa/admin/sbin/ifmng --help
Usage: ifmng [OPTIONS]...

-l, --list list all addresses
-a, --add <interface> <ipaddress> <netmask> add IP on <interface>
-d, --del <ipaddress> delete IP
-h, --help display this help and exit
-v, --vz-assigned-ip <ipaddress> determine if <ipaddress> was assigned to this VE
 
/usr/local/psa/admin/sbin/ifmng -l

show me just two new IPs and not that one I wish to remove.
2.2.2.2 255.255.255.128 eth0 1
3.3.3.3 255.255.255.128 eth0 0


let me tell you more:
currently I have three IP in plesk IP address management:
1.1.1.1
2.2.2.2
3.3.3.3

IP 1.1.1.1 is old VPS IP I wish to remove it but plesk show this as Server IP everywhere in panel.

2.2.2.2 and 3.3.3.3 two new IPs I added to VPS and wish to use 2.2.2.2 as Server IP.
 
Last edited by a moderator:
What sort of output following SQL query in psa database?

select * from IP_Addresses;
 
+----+---------------+-----------------+-----------------+-------+--------------------+-------------------+-------+-------+--------+
| id | serviceNodeId | ip_address | mask | iface | ssl_certificate_id | default_domain_id | ftps | main | status |
+----+---------------+-----------------+-----------------+-------+--------------------+-------------------+-------+-------+--------+
| 1 | 1 | 1.1.1.1 | 255.255.255.0 | eth0 | 2 | 0 | false | false | 0 |
| 3 | 1 | 2.2.2.2 | 255.255.255.128 | eth0 | 5 | 4 | false | false | 0 |
| 4 | 1 | 3.3.3.3 | 255.255.255.128 | eth0 | 2 | 10 | false | true | 0 |
+----+---------------+-----------------+-----------------+-------+--------------------+-------------------+-------+-------+--------+
3 rows in set (0.00 sec)

/
note: I changed real IPs.
 
Back
Top