Direct admin to new SSDs on same server.

silvatech

Verified User
Joined
Sep 21, 2019
Messages
34
Background To help explain current situation.

the server facility I am in. My direct admin when they installed it for their license discount as they required they installed the license at the time.
So partition is an LVM :O which still to this day I cannot figure out a logical reason for this. I at one time did clone the drives with clonezilla to newer SSDs. I did it disk to disk and it worked, but wrote over the whole 1000 GB even though the older drives with 480GB. The new SSDS this go around are 960GB though =(. So cloning it same way wont work. Not sure if their is an option on clonezilla for this or not.

So here is how the current partition looks that direct admin is on.
Selection_999(1478).png


So I was considering using the LVM commands to mirror it over, but not 100% sure if I cand with the other drive being smaller or not or how exactly that works as I have not read the finer details yet. As I am wondering if I should get it off of LVM and do a fresh install on the new SSDs and then restore a direct admin backup or jetbackup. Add to complications though, does the backup have my license and settings information or just hosting data? If not I wrote down all license information displayed, but not 100% sure if that is enough or more needed from server facility. As I contact them they probably do same image on the new drives and then I would have more to do to update OS again and that.

Thanks and if anythings confusing please let me know and ill clarify. I had a dozen interruptions as I was trying to write this up and even when I was trying to reread it lol.
 
If your datacenter set the license if you do reinstall with auto it should get the license on the same ip automatically if you do not change IP

Code:
bash <(curl -Ss https://www.directadmin.com/setup.sh || wget -O - https://www.directadmin.com/setup.sh) auto


In weird case when it do not get the license from during install (happens once 2 me at over 20 + installation)

License ID, Client ID visible as Admin > Licensing/Updaiting

Code:
cp -f license.key license.key.old wget -O license.key --no-check-certificate 'https://license.directadmin.com/licenseupdate.php?uid= 123 &lid= 1234 ' chown diradmin:diradmin license.key chmod 600 license.key

Help DirectAdmin is down for you so I copied the command search cache so there are some spaces in addition

P.S You got to use same OS ! or DC got to change to what OS the license is set
P.S.S If you have VNC / KVM why do not shrink partitions with Gparted ISO.
 
P.S You got to use same OS ! or DC got to change to what OS the license is set
P.S.S If you have VNC / KVM why do not shrink partitions with Gparted ISO.
Ok interesting so if I upgrade it to alma linux later it would break the current license? Or if I install same os and then upgrade would it work? Good I am finding this out now as I would need to ahead of time talk with DC. As I do plan changing the server off of Centos for obvious reasons.

Yes it would be on the same IP so this is all interesting to know and appreciate the information.

Its an LVM partition on a dedicated server. Technically your suppose to be able to even shrink them in terminal without data loss. I would just want to make sure to have time late at night incase anything happened and I had to rebuild it. Although I have always personally loved using Gparted its an excellent tool.

Paul
 
If you run Centos, Cloud Linux , Oracle Enterprise, rocky.. etc they all claim that are 100% percent binary compatible with RedHat so that is one family....

From Alma website:
AlmaLinux OS is a 1:1 binary compatible fork of RHEL® so it is no problem to switch to any of them (same version), but if you want to switch to Debian or Ubuntu your Datacenter got to do some minor changes in the license...

BTW I see nothing wrong to run on Centos Stream for the newer packages... I run CloudLinux for the hosting tools (but now slowly starting to run servers with DA propack (Ubuntu) and I run Oracle VMs for the newer UEK kernel (5.4)... If I want something 1:1 compatible and as IBM maked up to 16 non support licenses of RHEL I will run the original out of nostalgia as RH was my first linux https://www.cyberciti.biz/linux-news/red-hat-introduces-new-no-cost-rhel-option/


You can shrink volume starting with shrinking file system, but as I work mainly on VMs I just boot in Gparted + noVNC and do the job in not time with couple of clicks .... if I got to deal with some outdated IPMI to do it, maybe I will go to command line...

I wish you clean migration...
Daniel
 
If you run Centos, Cloud Linux , Oracle Enterprise, rocky.. etc they all claim that are 100% percent binary compatible with RedHat so that is one family....

RHEL I will run the original out of nostalgia as RH was my first linux https://www.cyberciti.biz/linux-news/red-hat-introduces-new-no-cost-rhel-option/

You can shrink volume starting with shrinking file system, but as I work mainly on VMs I just boot in Gparted + noVNC and do the job in not time with couple of clicks .... if I got to deal with some outdated IPMI to do it, maybe I will go to command line...

I wish you clean migration...
Daniel
Ok, I figured must be same family, but always smart to ask and not assume.
Really good to know on RH. I am small and just have 2 servers even though been in business for over 10 years.
I really like that their adding the addon idea DA has come up with. I am hoping they will allow an option to add it on current license at some point.
Although once I get hosting large enough ill pay either way. Monthly right now still low, but want to support DA
 
Back
Top