I’ll wait for @Andy_Wismer’s How to. I hope that will help solve the problems.
Unfortunately, the dummy interface cannot be created after installing the Nethserver ISO because both interfaces (Red and Green) are required during installation. In the case of VPS, the service provider only secures one (WAN, Red) interface, so a dummy interface is required, which can only be installed on the CentOS minimum.
The advantage of the dummy interface is that the VPS does not have a LAN-side (Green) interface, so no one can connect to it on site. And the console and WAN interface can be properly protected. I think these are important things for a Nethserver run by a service provider.
@mrmarkuz I got another network card and installed Nethserver on another PC. So Netserver now has two physical network interfaces and so we can rule out the dummy interface problem. I configured the WAN and the LAN interface but did not create Active Directory and users. I upgraded the system but did not install any applications.
I then restored the configuration save of the working Nethserver again. I selected network recovery and the appropriate WAN and LAN interfaces.
After restoring, the LAN interface does not work, Active Directory is not installed, and there are no users. Applications running on the LAN interface indicate an error. Understandable.
I don’t understand the whole thing. How do I reset the config to restore the server?
What if I need to restore my system on a VPS?
The source server
WAN (RED) IP:192.168.1.150
LAN (GREEN) IP: 192.168.10.2
NSDC IP: 192.168.10.151
I’m still in the process of restoring the config save. I configured and downloaded the config backup under System / Backup using the built-in backup features. Then I loaded it from a USB flash drive to the target server.
I did another try this morning. I created a new target Nethserver with two physical NIC (reinstalled from the Nethserver ISO) and with the same network and NSDC settings as the source server but I did not create the group and user on the source server. I did not install the applications on the source server, but I did update the packages on the target server.
I created a config backup on the source server and restored it on the destination server and selected to restore the network configuration.
After rebooting, apparently everything is restored on the target server from the config backup but the DC group and users are missing.
Also, I don’t see any other errors, NSDC is running and the network interfaces are up.
The next step would be to restore the data backup but I can’t start it until the config restore works properly. And it’s not a VPS with a virtual interface yet.
If I restore the data backup then it will not be able to restore the backup to set the owner of the files.
According to the documentation:
Disaster recovery
Other restored configurations:
Users and groups
SSL certificates
According to this, config restore restores users and groups. But there is no Admin or Administrator here either.
It seems to me that all the packages that were on the source server were installed.
Since I upgraded the system before restoring the config backup I don’t think there would be a network problem. I tested it and it works towards name resolution and the internet.
The password same as in dunp and /var/lib/nethserver/secrets/ldapservice file.
The list below is very long but includes users.
[root@nethserver ~]# ldapsearch -Z -x -D ldapservice@ad.mydomain.eu -w ‘password’ -b CN=Users,DC=ad,DC=mydomain,DC=eu -h 192.168.10.151 # extended LDIF # # LDAPv3 # base <CN=Users,DC=ad,DC=mydomain,DC=eu> with scope subtree # filter: (objectclass=*) # requesting: ALL # … # search result search: 3 result: 0 Success
OK, so listing of users doesn’t work. AD is ok, groups are ok.
Do you see the groups “account” and “domain admins” in the server manager?
Do you have usernames including special characters?