Tag Archives: hostname

Home »  Tag: hostname

Doing some cleanup and had to rename a nodename of an existing standalone Proxmox Server. Found that it wasn’t too straight forward because it detected the old nodename and placed the vz underneath it. So here is a simple way to rename the Proxmox Node. Firstly the normal steps: vi /etc/hosts vi /etc/hostname Replace the entries with your intended hostname. You will now need to restart pve in order to create the new hostname in the system. service pve-cluster restart This should now create a new host entry in Proxmox and a new folder under /etc/pve/nodes/[newhostname] You now need to copy your old openvz data from the old folder to the new. mv /etc/pve/nodes/[oldhostname]/openvz/* /etc/pve/nodes/[oldhostname]/openvz/ Example: mv /etc/pve/nodes/proxmox-portable/openvz/* /etc/pve/nodes/proxmox-Xen/openvz/ I would advise to restart the Proxmox host in order to finish the renaming. Related posts: Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) Debian / Kanotix / […]

In relation to rename a server which was acting as a Satellite server. Howto change the Hostname of a RHN Satellite server (Spacewalk Server) 1) you need to change the server to the new IP adress / hostname. I advise to do this in single user mode from the currently running state. Note: Don’t use UPPERCASE in the hostname. Satellite doesn’t like that !!! telinit 1 hostname NEW_HOSTNAME vi /etc/sysconfig/network #change to the new hostname If you need to change the IP Adress then do so here now. vi /etc/sysconfig/network-scripts/ifcfg.[interface] restart networking service network restart  2) DO NOT REBOOT continue here …. spacewalk-hostname-rename CURRENT(NEW_OR_OLD)_IPADRESS Follow the instruction on the screen to reset the hostname. It will do the rest for you Related posts: RedHat 6.x/CentOS 6.x: Rename or change the hostname temporarily or permanently RedHat / RHN Satellite: usefull commands Centos 6.x: How to install Spacewalk Linux: Howto show the Servers IP address at the login console CentOS / […]

Fairly easy task I want to rename my RedHat host. Temporarily change the hostname: hostname NEW-HOSTNAME If you like to change it permanently: vi /etc/sysconfig/network And change the host details in there. Then restart the network service network restart Related posts: RedHat 6.x/CentOS 6.x: Rename RHN Satellite (Spacewalk) Server Linux / VMware: Howto Increase a / (Root) LVM partition on a single vmdk without adding another partition Linux: Howto show the Servers IP address at the login console RedHat / Ubuntu / Solaris / Linux: Slow SSH logins (5 second delay) RedHat 6.x / Centos 6.x: How to install in WordPress in less than 10 minutes Centos / Debian / LVM: Add a new disk as a LVM volume

%d bloggers like this: