Unsolved

This post is more than 5 years old

1 Rookie

 • 

11 Posts

3997

December 2nd, 2016 02:00

Registering ScaleIO to ESRS gateway

--register_esrs_gateway --scaleio_gateway_ip --scaleio_gateway_user --scaleio_gateway_password --esrs_gateway_ip --esrs_gateway_user --esrs_gateway_password --

connect_in_ip

I am trying to register the ScaleIO to ESRS GW. I could not find what IP address to the replaced for connect_in_ip. I don’t find any information in the documents. Any help would be greatly appreciated.

1 Rookie

 • 

11 Posts

December 9th, 2016 04:00

If I register with Primary MDM and due to some network issue If the slave become Primary, Will ESRS lose access to ScaleIO?

5 Posts

December 14th, 2016 03:00

is anybody finished ESRS and SIO configuration?
i faced with problem at step set the connect-in IP address,

--set_connectin_ip --scaleio_gateway_ip xxxxx --scaleio_gateway_user admin --scaleio_gateway_password xxxxxx --connect_in_ip xxxxxxx

Exception in thread "main" org.springframework.web.client.HttpClientErrorException: 401 Unauthorized

        at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)

        at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:557)

        at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:515)

        at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:473)

        at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:421)

        at com.emc.s3g.scaleio.installation.cli.SioGWTool.loginToRestGateway(SioGWTool.java:1373)

        at com.emc.s3g.scaleio.installation.cli.SioGWTool.main(SioGWTool.java:1055)

5 Posts

December 18th, 2016 23:00

Hi Alaa,

Thanks for your reply.

Yes, it is helped) main problem was, i used wrong username for ESRS.

One more question. After this command on SIO Gateway i received

ESRS gateway has been registered successfully

Now it is enough? System configuration done? or i should also run this command?

SioGWTool --set_connectin_ip --scaleio_gateway_ip

--scaleio_gateway_user
--scaleio_gateway_password
--connect_in_ip

Then i run it, received error.

Exception in thread "main" org.springframework.web.client.HttpClientErrorException: 401 Unauthorized

        at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:88)

        at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:557)

        at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:515)

        at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:473)

        at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:421)

        at com.emc.s3g.scaleio.installation.cli.SioGWTool.loginToRestGateway(SioGWTool.java:1373)

        at com.emc.s3g.scaleio.installation.cli.SioGWTool.main(SioGWTool.java:1055)

Thanks!

5 Posts

December 19th, 2016 04:00

Now ESRS successfully configured.

/opt/emc/scaleio/gateway/bin/SioGWTool.sh --check_esrs_connectivity --scaleio_gateway_ip xxxxxx --scaleio_gateway_password xxxxxx --scaleio_gateway_user admin

Esrs connected

/opt/emc/scaleio/gateway/bin/SioGWTool.sh --start_esrs --scaleio_gateway_ip xxxxxx --scaleio_gateway_password xxxxxx --scaleio_gateway_user admin

ESRS started successfully

1.png

But now, appear new problem.

ESRS send emails, but this emails don't contain information about SIO alerts.

5 Posts

December 20th, 2016 02:00

Hi,

XML file located on ESRS server and include:

    xsi:schemaLocation="/opt/connectemc/schema/ema_ConnectHome108.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    10

    EventXML

    0

   

       

            2

            1

            XXXXXXXXX

           

            EMC

            ScaleIO

           

            XXXXXXXXX

            None available

            Unknown

            Unknown

            Unknown

            R2_0.7536.0

            2

            51200

           

       

       

            Unknown

            Symmremote

            Unknown

           

           

           

   

           

           

           

           

           

           

           

           

            Unknown

       

       

           

           

       

       

           

           

               

                    SIO03.01.1000014

                    Status

                    ALERT_LOW

                    Unknown

                   

                   

                   

                   

                    No

                    1

                    Affected Object TypeSdsAffected Object IDe0d6325500000006]]>

                   

               

           

       

       

   

From SIO User guide, i found what SIO 03.01.1000014 mean SDS is in Maintenance Mode.

It is not very easy way to know, what happens))

About account for registration on ESRS, i used my EMS account for web portal.

5 Posts

December 21st, 2016 03:00

how it was easy and simply when was callhome))

12 Posts

August 17th, 2017 09:00

How do you test callhome on scaleio when connecting to esrs? I'm a technical PM on the esrs team.

2 Posts

October 23rd, 2017 17:00

Hello Guys,

had the similar issues and didn't find a complete set of instructions to add the ScaleIO to ESRS after working with people in EMC got some details and had to add some more stuff to make it work. here is the complete step for adding scaleIO to ESRS:

1-

Make sure the ESRS feature is enabled in the ScaleIO user property file :

ScaleIO-10-200-201-120-GW:/opt/emc/scaleio/gateway # grep esrs webapps/ROOT/WEB-INF/classes/gatewayUser.properties

features.enable_esrs=true

2- update the cipher in server.xml file :

Open the file "/opt/emc/scaleio/gateway/conf/server.xml" and add the follwoing line after 'server=ScaleIO Gateway" :

ciphers="TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,TLS_DHE_DSS_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_A"

file before adding the ciphers ::

.....

                port="${http.port}"

                protocol="HTTP/1.1"

                connectionTimeout="20000"

                redirectPort="${ssl.port}"

                compression="force"

                compressableMimeType="application/json,application/octet-stream"

               server="ScaleIO Gateway"

                />

The file will look like this after adding the cipher::

......

                port="${http.port}"

                protocol="HTTP/1.1"

                connectionTimeout="20000"

                redirectPort="${ssl.port}"

                compression="force"

                compressableMimeType="application/json,application/octet-stream"

               server="ScaleIO Gateway"

                ciphers="TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,TLS_DHE_DSS_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_A"

                />

  1. Restart the scaleio GW services

  ScaleIO-10-200-201-120 GW:~ # service scaleio-gateway restart

The EMC ScaleIO Gateway is not running.

The EMC ScaleIO Gateway is running. PID=13547.

  1. Create Lockbox credentials

# ./SioGWTool.sh --change_lb_passphrase --new_passphrase

Creating new lockbox

ScaleIO-10-200-201-120 GW:/opt/emc/scaleio/gateway/bin#

Add the MDM Credentials ::

ScaleIO-10-200-201-120 GW:/opt/emc/scaleio/gateway/bin # ./SioGWTool.sh --set_mdm_credentials --mdm_user admin --mdm_password

MDM user credentials successfully saved

  1. Copy the certificates from ESRS browser and save it in a file on scaleio gateway or you could try registering the scaleio to ESRS and it will give you the error along with the certificate it received from the esrs app.

   

ScaleIO-10-200-201-120 GW:/opt/emc/scaleio/gateway/bin # cat /root/root.crt

-----BEGIN CERTIFICATE-----

MIIEADCCAuigAwIBAgIJAPcU7MfTTlh5MA0GCSqGSIb3DQEBCwUAMF0xCzAJBgNV

BAYTAlVTMQswCQYDVQQIEwJNQTELMAkGA1UEBxMCU08xDDAKBgNVBAoTA0VNQzEN

MAsGA1UECxMERVNSUzEXMBUGA1UEAxMObnJ1c2NhLXNscDAzODEwHhcNMTcwNzEw

MDk1MTQ4WhcNMTgwNzEwMDk1MTQ4WjBdMQswCQYDVQQGEwJVUzELMAkGA1UECBMC

TUExCzAJBgNVBAcTAlNPMQwwCgYDVQQKEwNFTUMxDTALBgNVBAsTBEVTUlMxFzAV

MIIEADCCAuigAwIBAgIJAPcU7MfTTlh5MA0GCSqGSIb3DQEBCwUAMF0xCzAJBgNV

BAYTAlVTMQswCQYDVQQIEwJNQTELMAkGA1UEBxMCU08xDDAKBgNVBAoTA0VNQzEN

MAsGA1UECxMERVNSUzEXMBUGA1UEAxMObnJ1c2NhLXNscDAzODEwHhcNMTcwNzEw

MDk1MTQ4WhcNMTgwNzEwMDk1MTQ4WjBdMQswCQYDVQQGEwJVUzELMAkGA1UECBMC

TUExCzAJBgNVBAcTAlNPMQwwCgYDVQQKEwNFTUMxDTALBgNVBAsTBEVTUlMxFzAV

-----END CERTIFICATE-----

6 - create authentication token to add the certificate

      ScaleIO-10-200-201-120 GW:~ # curl -k -v --basic --user admin:   https://10.200.201.120/api/login

Copy the last line of the command output and save it as we will need that token to add the certificates.

  1. Import the certificates of ESRS to scaleio :

ScaleIO-10-200-201-120 GW:~ # curl -k -v --basic -uadmin:YWRtaW46MTUwODgwNTk3NTM3OTo3M2YyYzU4NjA3ZmEyNzcxNmZjYzkxNmJkZjU3ZTY2Mg --form "file=@/root/root.crt"

Restart the ScaleIO gateway servics :

ScaleIO-10-200-201-120 GW:~ # service scaleio-gateway restart

The EMC ScaleIO Gateway is not running.

The EMC ScaleIO Gateway is running. PID=13547.

  1. Register the scaleIO cluster to ESRS  :

ScaleIO-10-210-21-150-GW:/opt/emc/scaleio/gateway/bin # ./SioGWTool.sh --register_esrs_gateway --scaleio_gateway_ip 10.200.201.120 --scaleio_gateway_user admin --scaleio_gateway_password --esrs_gateway_ip 10.155.162.200 --esrs_gateway_user --esrs_gateway_password --connect_in_ip 10.200.201.121

ESRS gateway has been registered successfully

Note ::

connect_in_ip 10.200.201.121 === > MDM server

esrs_gateway_user === > NT login of EMC support employee (work with support to get one)

esrs_gateway_password === > password from RSA key of the employee

Login credentials of ESRS we use to login to vApp will not work and we have to work with EMC support or Resident to get this.

after this login to ESRS and you will see the scaleIO .. you might need to work with support to accept the device from their end to complete the registration.

No Events found!

Top