IBM supervessel power云平台 之 linux系统下VPN 登录篇

来源:互联网 发布:吉翔数据 编辑:程序博客网 时间:2024/06/11 06:36

声明:此文档只做学习交流使用,请勿用作其他商业用途

author:朝阳_tony
E-mail : linzhaolover@163.com
Create Date: 2015-3-8 16:00:02 Sunday
Last Change: 2015-3-8 16:28:08 Sunday
转载请注明出处:http://blog.csdn.net/linzhaolover

摘要

好不容易找到一个免费的基于power架构的云平台,还是有很多不方便使用的地方,下面咱就说一说怎么通过VPN登录到 IBM power 云虚拟机

注意:下面的内容,在ubuntu 14.04-LTS x86 64 bit 系统中测试通过

安装VPN

很简单,一条命令搞定,

sudo apt-get install vpnc

配置VPN

vim /etc/vpnc/Power_vpn.conf#################################IPSec secret Gemini1bmvpnIPSec gateway 202.108.130.35IPSec ID Gemini#IKE Authmode psk     ### Must comment Xauth username your_vpn_nameXauth password your_vpn_password#################################

password可以登录到你的云控制平台去找
https://crl.ptopenlab.com:8800/dashboard/project/
查看vpn信息

连接登录VPN

vpnc-connect Power_vpn.confVPNC started in background (pid: 21964)...

登录远程的power 虚拟机

查看ip, 我的ip是 10.10.1.29 (Private) 172.16.10.110 (Public) ,想登录上去ping一下我吗,O(∩_∩)O~
public ip

ping测试

 ping -w 5 -c 2 172.16.10.110PING 172.16.10.110 (172.16.10.110) 56(84) bytes of data.64 bytes from 172.16.10.110: icmp_seq=1 ttl=62 time=9.32 ms64 bytes from 172.16.10.110: icmp_seq=2 ttl=62 time=7.54 ms--- 172.16.10.110 ping statistics ---2 packets transmitted, 2 received, 0% packet loss, time 1001msrtt min/avg/max/mdev = 7.543/8.432/9.321/0.889 ms

登录

ssh opuser@172.16.10.110opuser@172.16.10.110's password:Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.10.42+ ppc64) * Documentation:  https://help.ubuntu.com/  System information as of Fri Mar  6 16:08:57 CST 2015  System load:  2.37               Processes:           26  Usage of /:   10.7% of 19.56GB   Users logged in:     0  Memory usage: 5%                 IP address for eth0: 10.10.1.29  Swap usage:   0%  Graph this data and manage this system at:    https://landscape.canonical.com/IBM's internal systems must only be used for conducting IBM's business or for purposes authorized by IBM managementUse is subject to audit at any time by IBM managementLast login: Fri Mar  6 16:08:58 2015 from 10.0.0.172opuser@gto:~$ lscpuArchitecture:          ppc64Byte Order:            Big EndianCPU(s):                120On-line CPU(s) list:   0-119Thread(s) per core:    4Core(s) per socket:    1Socket(s):             30NUMA node(s):          8Model:                 IBM,8408-E8DL1d cache:             32KL1i cache:             32KL2 cache:              256KL3 cache:              10240KNUMA node0 CPU(s):     0-15NUMA node1 CPU(s):     16-31NUMA node2 CPU(s):     32-47NUMA node3 CPU(s):     48-63NUMA node4 CPU(s):     64-75NUMA node5 CPU(s):     76-91NUMA node6 CPU(s):     92-107NUMA node7 CPU(s):     108-119

断开VPN

vpnc-disconnectTerminating vpnc daemon (pid: 21964)

总结

说实话,采用vpn登录,可能是IBM公司有自己的安全考虑,但感觉这样对于用户体验有点差,希望他们尽快推出公网ip方便大家登录使用吧!

遇到问题不怕,动动脑筋,办法总是比问题多

参考文档

vpn 登录 https://services.ptopenlab.com/mediawiki/index.php/VPN%E7%9A%84%E4%BD%BF%E7%94%A8
power 虚拟机申请及应用 http://my.oschina.net/u/1431433/blog/383540

0 0