Common operations at DCLIPv6OnlyHosting » History » Revision 2
« Previous |
Revision 2/5
(diff)
| Next »
ll nu, 03/10/2020 06:13 PM
Common operations at DCLIPv6OnlyHosting¶
- Table of contents
- Common operations at DCLIPv6OnlyHosting
- How to check if a customer VM is alive?
- A. Add a new VPN manually
- B. add a new rDNS manually
- C. upgrade RAM or CPU manually
- D. add a new extra hdd or sdd manually
- E. resize sdd manually
- F. create a customer own network manually
- G. change a customer ssh pub-key manually
- H. customer's question where is his ssh-key
How to check if a customer VM is alive?¶
There are many ways to check if a DCL VM is running/reachable. Here's the standard workflow:
- First check: try to 'ping' the VM to see if it is up and reachable from the global Internet.
- IPv6:
ping -6 $IPV6_ADDR
and (if available) IPv4:ping -4 $IPV4_ADDR
- The VM is up and running if you get an answer, but ICMP requests (= ping) might be blocked by a firewall on the target or the target's networking might be broken: you'll have to switch to the next check.
- IPv6:
- Second check: find the VM on OpenNebula SunStone (= OpenNebula Web interface) under the Instances > VM tab and check its LCM State, which should be
RUNNING
if everything's alright. Try to open the VNC display (top-left VNC button once you have selected the VM) to see what's currently on screen (likely TTY login, which means the VM is up but does not say anything on networking).- If state is not
RUNNING
and VNC is unavailable/does not show anything, assume VM is down/blocked and requires (re)boot.
- If state is not
- If the VM is up but does not answer to ICMP requests (= ping), try to see if there is any other open port with
nmap
.nmap -6 $IPV6_ADDR
(might take some time) will try to find open ports on the target. Try IPv6 and IPv4 (replace-6
by-4
) if available, since some software/firewall default to IPv4-only. See the example below for a healthy service.- You can try to SSH if available, or to curl HTTP ports (
curl http://$ADDR
).
- You can try to SSH if available, or to curl HTTP ports (
- If
ping
does not work andnmap
does not return anything, assume network is broken.
NMAP example¶
I ~ » nmap -6 redmine.ungleich.ch Starting Nmap 7.80 ( https://nmap.org ) at 2020-02-24 11:16 CET Nmap scan report for redmine.ungleich.ch (2a0a:e5c0:0:2:400:b3ff:fe39:7ba3) Host is up (0.048s latency). Other addresses for redmine.ungleich.ch (not scanned): 185.203.112.9 rDNS record for 2a0a:e5c0:0:2:400:b3ff:fe39:7ba3: 2a0a-e5c0-0000-0002-0400-b3ff-fe39-7ba3.loves.ipv6.at.ungleich.ch Not shown: 996 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 80/tcp open http 443/tcp open https Nmap done: 1 IP address (1 host up) scanned in 13.58 seconds
A. Add a new VPN manually¶
setup
https://redmine.ungleich.ch/issues/7040
communicate with customer
https://support.ungleich.ch/Ticket/Display.html?id=1318
B. add a new rDNS manually¶
setup
https://redmine.ungleich.ch/issues/7039
communicate with customer
https://support.ungleich.ch/Ticket/Display.html?id=2201
C. upgrade RAM or CPU manually¶
setup
1.inform to customer about rebooting VM 2.poweroff VM 3.resize RAM or VCPU (opeenebula web --> select VM --> capacity --> resize button) 4.resume VM 5.inform to customer
communicate with customer
https://support.ungleich.ch/Ticket/Display.html?id=2066
https://support.ungleich.ch/Ticket/Display.html?id=2121
D. add a new extra hdd or sdd manually¶
setup
opeenebula web --> select VM --> storage --> attach disk --> select disk image --> advance option --> Size on instantiate ex) 300GB HDD, VM on place6 select "datadisk-100GB-place6" --> advance option --> Size on instantiate (put in 300) --> attach
communicate with customer
https://support.ungleich.ch/Ticket/Display.html?id=2335
E. resize sdd manually¶
setup
opeenebula web --> select VM --> storage --> resize button(X shape) --> put in size
communicate with customer
https://support.ungleich.ch/Ticket/Display.html?id=1247
F. create a customer own network manually¶
setup
https://redmine.ungleich.ch/issues/7028
communicate with customer
https://support.ungleich.ch/Ticket/Display.html?id=2044
G. change a customer ssh pub-key manually¶
setup
1.inform to customer about rebooting VM 2.poweroff VM 3.change ssh-key (opeenebula web --> select VM --> conf--> updated configuration --> Context --> configuration tab --> change key) 4.resume VM 5.inform to customer
communicate with customer
https://support.ungleich.ch/Ticket/Display.html?id=2444
H. customer's question where is his ssh-key¶
communicate with customer
https://support.ungleich.ch/Ticket/Display.html?id=2418
Updated by ll nu over 4 years ago · 2 revisions