Editing
VPS Management
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Ganeti VPS = This is how to create a VPS on the Lamphost ganeti cluster. I have created scripts for creating a FreeBSD VPS and one for creating a Linux VPS. == Ganeti Install a Linux VPS == To create a linux VPS use <pre> /root/new <name> <disk size> <memory> <IP Addr> [<OS>] ( for example /root/new vps.example.com 30 2 69.55.238.10 centos-8 ) </pre> You need to customize the install by adding a "jci" account and a customer account (col0XXXX) as well. Make sure the customer acct (col0XXXX) is in a group to allow sudo. == Ganeti Install a FreeBSD VPS == To create a FreeBSD VPS, we have to do a full install. This will create a new VPS. on gn1, do <pre> /root/newfreebsd12 <name> <disk size> <memory> <IP Addr> [<OS>] </pre> You will then have to do the install via VNC. <pre> gnt-instance info <name> | grep -i connection </pre> Use your favorite VNC client (I use Tiger VNC). to connect <br> You need to customize the install by adding a "jci" account and a customer account (col0XXXX) as well. <br> Make sure the customer acct (col0XXXX) is in a group to allow sudo (wheel). <br> You will need to install sudo. <pre> pkg install sudo # install sudo package visudo # to add wheel account to sudoers vi /etc/group # add jci and user acct to wheel </pre> <br> You will also have to set up a console in /etc/ttys. <pre> vi /etc/ttys (change onifconsole to on for ttyu0). </pre> == Ganeti restart a VPS == To shutdown a ganeti VPS <pre> gnt-instance reboot <VPSname> </pre> == Ganeti shutdown a VPS == To shutdown a ganeti VPS <pre> gnt-instance shutdown <VPSname> </pre> To permanently delete a ganeti VPS <pre> gnt-instance remove <VPSname> </pre> == Ganeti Re-Intsall a VPS == Re-installing the OS will destroy all data on the VPS. Login to the Ganeti master node (currently gn1). To reinstall the OS on a VPS the VPS must be shutdown. <pre> gnt-instance shutdown <VPSname> </pre> Do the reinstall. <pre> gnt-instance reinstall <VPSname> </pre> Restart the VPS. <pre> gnt-instance startup <VPSname> </pre> Now you need to do the customization for the VPS. This is basically the same as the Dedicated server customization. https://69.55.229.8/index.php/New_Signups#Dedicated_Server_Install_Checklist == Ganeti login to a VPS == To login to a ganeti VPS <pre> gnt-instance console <VPSname> <carriage return> <carriage return> <carriage return> </pre> Use jci and appropriate Ganeti jci password. or you can ssh to the VPS name or IP address.
Summary:
Please note that all contributions to JCWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JCWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information