This post is more than 5 years old
3 Posts
0
1596
March 22nd, 2016 11:00
I'm unable to deploy ScaleIO v2.0 on XenServer 6.5
Hi, I'm having troubles in the installation of ScaleIO version 2.0 over XenServer 6.5.0 SP1. I found that scaleio-gateway is trying to start over systemctl, but in xenserver systemctl is not possible to be used because is CentOS 5. Here are the install messages:
~$ GATEWAY_ADMIN_PASSWORD=mypassword rpm -i EMC-ScaleIO-gateway-2.0-5014.0.x86_64.rpm --nodeps
validating java version
/usr/bin/java
found the Java executable in PATH
applying pattern "java version"
version 18
java platform that was found : Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
Running pre installation verifications
/usr/bin/keytool
found the keytool executable in PATH
advertencia:no se pudo obtener bloquear compartido en /var/lib/rpm/Packages
found suffice RAM memory : 3959672
Running post install operations (rpm,install)
WARNING: The state match is obsolete. Use conntrack instead.
WARNING: The state match is obsolete. Use conntrack instead.
iptables: Saving firewall rules to /etc/sysconfig/iptables: [ OK ]
/usr/bin/java
/usr/bin/keytool
hostname: `Host' desconocido
Certificado almacenado en el archivo
Installing the web server service/process to run as root(default).
To run as a different user, define the variable GATEWAY_RUN_USER.
find: predicado inválido `-executable'
find: predicado inválido `-executable'
Running post-run install operations
3
Creating service file /opt/emc/scaleio/gateway/bin/scaleio-gateway-wd.bash
gateway user : root
Updating file /etc/inittab
Creating service file /etc/init.d/scaleio-gateway
5
/etc/init.d/scaleio-gateway: line 94: systemctl: command not found
The EMC ScaleIO Gateway is running. PID=16948.
Then I checked the listening ports and I dont find the ScaleIO Gateway listening on 8443 port:
~$ netstat -pluton
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name Timer
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 4398/sshd off (0.00/0/0)
tcp 0 0 0.0.0.0:600 0.0.0.0:* LISTEN 3615/rpc.statd off (0.00/0/0)
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 4718/stunnel off (0.00/0/0)
tcp 0 0 127.0.0.1:9501 0.0.0.0:* LISTEN 5042/vncterm off (0.00/0/0)
tcp 0 0 127.0.0.1:4094 0.0.0.0:* LISTEN 3367/xcp-networkd off (0.00/0/0)
tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 8128/nrpe off (0.00/0/0)
tcp 0 0 127.0.0.1:5901 0.0.0.0:* LISTEN 5042/vncterm off (0.00/0/0)
tcp 0 0 127.0.0.1:111 0.0.0.0:* LISTEN 3346/portmap off (0.00/0/0)
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 4128/xapi off (0.00/0/0)
udp 0 0 127.0.0.1:111 0.0.0.0:* 3346/portmap off (0.00/0/0)
udp 0 0 10.0.13.108:123 0.0.0.0:* 8203/ntpd off (0.00/0/0)
udp 0 0 127.0.0.1:123 0.0.0.0:* 8203/ntpd off (0.00/0/0)
udp 0 0 0.0.0.0:123 0.0.0.0:* 8203/ntpd off (0.00/0/0)
udp 0 0 0.0.0.0:600 0.0.0.0:* 3615/rpc.statd off (0.00/0/0)
udp 0 0 0.0.0.0:601 0.0.0.0:* 3615/rpc.statd off (0.00/0/0)
But if I restart the service, I see that the PID is running:
~$ /etc/init.d/scaleio-gateway start
/etc/init.d/scaleio-gateway: line 94: systemctl: command not found
The EMC ScaleIO Gateway is running. PID=20644.
~$ ps aux | grep scale
root 16866 0.1 0.0 10840 1276 ? Ss 16:17 0:01 /bin/bash /opt/emc/scaleio/gateway/bin/scaleio-gateway-wd.bash
root 20644 198 13.9 2764768 551860 ? Sl 16:26 0:41 /usr/bin/java -Djava.util.logging.config.file=/opt/emc/scaleio/gateway/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms128m -Xmx1024m -Djava.endorsed.dirs=/opt/emc/scaleio/gateway/endorsed -classpath /opt/emc/scaleio/gateway/bin/jul-to-slf4j-1.7.5.jar:/opt/emc/scaleio/gateway/bin/slf4j-api-1.7.5.jar:/opt/emc/scaleio/gateway/bin/logback-config:/opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/lib/logback-classic-1.0.13.jar:/opt/emc/scaleio/gateway/lib/*:/opt/emc/scaleio/gateway/bin/bootstrap.jar:/opt/emc/scaleio/gateway/bin/tomcat-juli.jar -Dcatalina.base=/opt/emc/scaleio/gateway -Dcatalina.home=/opt/emc/scaleio/gateway -Djava.io.tmpdir=/opt/emc/scaleio/gateway/temp org.apache.catalina.startup.Bootstrap start
How can I install ScaleIO v2.0 on XenServer 6.5.0?
tomer__engineer
155 Posts
0
March 23rd, 2016 08:00
in v2.0 XEN 6.5 doesn't support our secure Authentication feature (which is the default installation mode).
In order to deploy your system in non-secure mode (same as it was in 1.32.X), please remove all installed pkgs and repeat the installation, but this time in Install view -> after you upload the CSV -> select 'Set Advanced Options' check-box -> security options: select the 3 check-boxes (See below screenshot).
Secure Authentication feature will be supported on XEN 6.5 in v2.0.0.1 (v2.0 Patch1) to be released in ~1.5 months
tomer__engineer
155 Posts
1
March 23rd, 2016 04:00
I don't see that you change the default port which is 443 (not 8443) and it seems all the installation went well and GW is up and running. Did you try to access it via IM-web?
The systemctl error is a known minor issue, which has no effect on the functionality and can be ignored
FYI, In order to deploy ScaleIO on XEN 6.5 you don't have to install the GW on XEN 6.5, it can run on Win7/2008/2012, or any RHEL/Centos 6/7 (pre-requisite are: JAVA 8 and binutils installed) as long as the server it runs on can access the nodes on which you are deploying ScaleIO.
candres
3 Posts
0
March 23rd, 2016 06:00
Hi @tomer_(engineering_qa)
I changed the port from 443 to 8443 on files:
- /opt/emc/scaleio/gateway/conf/server_clientcert.xml
- /opt/emc/scaleio/gateway/conf/server.xml
However, I managed to start the GW on XenServer 6.5 by modifying the file /etc/init.d/scaleio-gateway and changing all "systemctl" by "service" (adapting to the "service" syntax). It throws an error anyway, but it start the service and I'm able to access via https://IP:8443
All worked fine until I reached the configuration phase, where the wizard can't set up the cluster because an error says "authentication not supported for XenServer 6.5". Can I do something to avoid the error? or Is it impossible to continue the installation?
candres
3 Posts
0
March 23rd, 2016 09:00
Hi @tomer_(engineering_qa),
Thank you for your help. I was not able to see the advanced options due I was using the installation wizard, so I uploaded a csv configuration file and checked the options you pointed me.
In my other response, I said that modifying the /etc/init.d/scaleio-gateway file, I was able to run the gateway on XenServer 6.5; I was wrong, the correct way that I found is upgrading from the previous version, doing nothing more.
Thank you for helping me.
Best regards,
Christian Andres