Quantcast
Channel: All Data Protection posts
Viewing all 3468 articles
Browse latest View live

scAgent SuSe Linux systemd service

$
0
0

We are using SuSe Linux 12.1 which uses systemd for service daemons.

We need to start scAgent with the OS (reboot, auto restart on scAgent error)

 

For scAgent 4.3.0 there is only info available for sysvinit which doesn't match for systemd.

 

 

We have created the following script/usr/lib/systemd/system/ScAgent.service

 

[Unit]
Description=Snapcreator Agent

[Service]
ExecStart=/opt/snapcreator/scAgent4.3.0/bin/scAgent start
ExecStop=/opt/snapcreator/scAgent4.3.0/bin/scAgent stop

[Install]
WantedBy=multi-user.target

When we run the service it stops automatically:

 

Running:

scAgent.service - Snapcreator Agent
   Loaded: loaded (/usr/lib/systemd/system/scAgent.service; enabled)
   Active: active (running) since Mo 2017-09-11 08:25:17 CEST; 1s ago
  Process: 26190 ExecStop=/opt/snapcreator/scAgent4.3.0/bin/scAgent stop (code=exited, status=0/SUCCESS)
 Main PID: 26282 (scAgent)
   CGroup: /system.slice/scAgent.service├─26282 /bin/sh /opt/snapcreator/scAgent4.3.0/bin/scAgent start
           ├─26312 java -Xms32m -Xmx128m -XX:MaxPermSize=64m -classpath /opt/snapcreator/scAgent4.3.0/lib/scAgent-4.3-core.jar com.netapp.snapcreator.agent.nextgen.watchdog.external.ExternalWatchdogStarter start
           ├─26313 sleep 10
           └─26343 java -Xms64m -Xmx256m -XX:MaxPermSize=128m -DINSTALL_PATH=/opt/snapcreator/scAgent4.3.0 -classpath /opt/snapcreator/scAgent4.3.0/lib/scAgent-4.3-core.jar:/opt/snapcreator/scAgent4.3.0/lib/cxf-rt-tr...

Sep 11 08:25:17  systemd[1]: Started Snapcreator Agent.
Sep 11 08:25:17  scAgent[26282]: Starting scAgent:

Stopped (see timestamps):

scAgent.service - Snapcreator Agent
   Loaded: loaded (/usr/lib/systemd/system/scAgent.service; enabled)
   Active: inactive (dead) since Mo 2017-09-11 08:25:28 CEST; 6s ago
  Process: 26403 ExecStop=/opt/snapcreator/scAgent4.3.0/bin/scAgent stop (code=exited, status=0/SUCCESS)
  Process: 26282 ExecStart=/opt/snapcreator/scAgent4.3.0/bin/scAgent start (code=exited, status=0/SUCCESS)
 Main PID: 26282 (code=exited, status=0/SUCCESS)

Sep 11 08:25:17  systemd[1]: Started Snapcreator Agent.
Sep 11 08:25:17  scAgent[26282]: Starting scAgent:
Sep 11 08:25:27  scAgent[26282]: Watchdog: Running
Sep 11 08:25:27  scAgent[26282]: Agent: Running
Sep 11 08:25:27  scAgent[26403]: Shutting down scAgent:
Sep 11 08:25:28  scAgent[26403]: Watchdog: Stopped
Sep 11 08:25:28  scAgent[26403]: Agent: Stopped

When we check the scAgent script directly with

scAgent status

it seems to run as long as the service ist running and then is stopped after the systemd service stops.

 

 

running:

 

#systemctl start scAgent.service
#./scAgent status Checking Status of scAgent: Watchdog: Running Agent: Running

after a few seconds:

 

#./scAgent status

Checking Status of scAgent:
    Watchdog: Stopped
       Agent: Stopped

 

As long as we run 'scAgent start' dircectly/without systemd it is running fine...

 

Does anybody have a solution to this?

Are the scripts at /bin not intended to be used with s systemd script?


Re: SC 4.3 and SC PowerShell Toolkit

$
0
0

 Currently use the SC PSTK v4.1 to dump details that provide the foundation for a DBA-generated report. The following cmdlets: Get-ScWorkflowHistory, Get-ScProfile, Get-ScConfig, get-scsnapshot. The reports fail when we upgrade to SC 4.3+ withSC PSTK 4.1.

 

Does the non-SC PSTK v4.4 include these SC-specific cmdlets?

 

Problem connecting SnapCreator 4.3.1 with OCUM 7.2

$
0
0

Hi!

 

We have installed SnapCreator FrameWork 4.3.1P1 and OnCommand Unified Manager 7.2 (as VM-appliance). When I add the data in the SnapCreator - Configuration and start a backup, an error message is logged.

 

When I set option ENABLE_SECURITY_PROTOCOL_TLS_V1 to Y than this message is logged:

 

[2017-09-12 11:20:51,455] INFO: STORAGE-05016: Creating a Operations Manager console event [script:information-event] on [ocunifiedmgr.oeamtc.at]
[2017-09-12 11:20:51,455] DEBUG: com.netapp.snapcreator.storage.executor.ZapiExecutorException: java.net.ConnectException: Connection refused (Connection refused)
	at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:50)
	at com.netapp.snapcreator.storage.executor.DfmExecutor.run(DfmExecutor.java:77)
	at com.netapp.snapcreator.storage.api.dfm.DfmImpl.executeRequest(DfmImpl.java:723)
	at com.netapp.snapcreator.storage.api.dfm.DfmImpl.createOMEvent(DfmImpl.java:640)
	at com.netapp.snapcreator.storage.StorageCoreImpl.omCreateEvent(StorageCoreImpl.java:1954)
	at com.netapp.snapcreator.workflow.task.ZAPITask.OMEventGenerate(ZAPITask.java:2127)
	at com.netapp.snapcreator.workflow.task.Success.successMessage(Success.java:103)
	at com.netapp.snapcreator.workflow.task.Success.execute(Success.java:55)
	at com.netapp.snapcreator.workflow.impl.SCTaskCallableBlocking.call(SCTaskCallableBlocking.java:49)
	at com.netapp.snapcreator.workflow.impl.SCTaskCallableBlocking.call(SCTaskCallableBlocking.java:18)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:701)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
	at java.net.Socket.connect(Socket.java:543)
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:614)
	at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:430)
	at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:125)
	at netapp.manage.http.HTTPClient.<init>(HTTPClient.java:597)
	at netapp.manage.NaServer.getSession(NaServer.java:353)
	at netapp.manage.NaServer.invokeHTTP(NaServer.java:950)
	at netapp.manage.NaServer.invokeElemForXML(NaServer.java:780)
	at netapp.manage.NaServer.invokeElem(NaServer.java:696)
	at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:45)
	... 14 more

 

If I set this option to N than this is logged:

[2017-09-12 13:05:25,957] INFO: STORAGE-05016: Creating a Operations Manager console event [script:information-event] on [ocunifiedmgr.oeamtc.at]
[2017-09-12 13:05:25,957] DEBUG: com.netapp.snapcreator.storage.executor.ZapiExecutorException: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
	at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:50)
	at com.netapp.snapcreator.storage.executor.DfmExecutor.run(DfmExecutor.java:77)
	at com.netapp.snapcreator.storage.api.dfm.DfmImpl.executeRequest(DfmImpl.java:723)
	at com.netapp.snapcreator.storage.api.dfm.DfmImpl.createOMEvent(DfmImpl.java:640)
	at com.netapp.snapcreator.storage.StorageCoreImpl.omCreateEvent(StorageCoreImpl.java:1954)
	at com.netapp.snapcreator.workflow.task.ZAPITask.OMEventGenerate(ZAPITask.java:2127)
	at com.netapp.snapcreator.workflow.task.Success.successMessage(Success.java:103)
	at com.netapp.snapcreator.workflow.task.Success.execute(Success.java:55)
	at com.netapp.snapcreator.workflow.impl.SCTaskCallableBlocking.call(SCTaskCallableBlocking.java:49)
	at com.netapp.snapcreator.workflow.impl.SCTaskCallableBlocking.call(SCTaskCallableBlocking.java:18)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:701)
Caused by: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
	at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1484)
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:84)
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:69)
	at netapp.manage.http.HTTPMessage.readLine(HTTPMessage.java:245)
	at netapp.manage.http.HTTPResponse.read(HTTPResponse.java:74)
	at netapp.manage.http.HTTPClient.doRequest(HTTPClient.java:827)
	at netapp.manage.NaServer.invokeHTTP(NaServer.java:962)
	at netapp.manage.NaServer.invokeElemForXML(NaServer.java:780)
	at netapp.manage.NaServer.invokeElem(NaServer.java:696)
	at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:45)
	... 14 more
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
	at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1902)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1320)
	at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:698)
	at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:119)
	at java.io.OutputStream.write(OutputStream.java:75)
	at netapp.manage.http.HTTPMessage.write(HTTPMessage.java:345)
	at netapp.manage.http.HTTPClient.doRequest(HTTPClient.java:826)
	... 18 more

 

Hostname and user-credentials are correct. As protocol HTTPS is chosen and port 443 is set.

 

SnapCreator is installed on a host with RHEL 6.8 64bit, Java version is 1.8.0.45-b14

 

Both SnapCreator and OCUM have installed HTTPS-certificates signed by our CA... And both hosts are VMs on the same ESX-cluster an are connected to the same network...

 

What am I missing?

 

Thanks in advance for every hint!

 

BTW: all other things like backup, and so on are all working correctly. OCUM is connected to WFA - so it should be accessible...

HANA 2.0 tenant database backup

$
0
0

Hello.

 

We are using snapcreator Version 4.3.1 tool

 

currently we have installaed new HANA 2.0 sps 02, when i tried configre the backup in snapcreator i have an error tenant database not supported 

 

how can i schedule a backup for MDC database? 

 

 

Thanks

SAPDB

Remove Snap Centre from VSC integration procedure

$
0
0

My user have ESX environment, he install the VSC plug-in for snapshot backup purpose. Later he install and integrated with Snap Center. After few months usage, he want to drop the Snap Center at this moment and decide to use VSC for backup. Is there any detail procedure on how to remove the integration between Snap Center & VSC? Also the backup record is store in the MySQL in Snap Center. Is there any way to get those backup record from Snap Center and update in VSC? He try to stop the VSC MySQL and find VSC will lost all snapshot backup record. Anyone know how to solve this?

 

 

 

Re: Snapcenter Unable to retrieve backups

$
0
0

The Root  User is using the Bash.

 

If i try to start the Indexservice is get these Error:

 

Waiting up to 30 seconds to see Solr running on port 8983 [-]  Still not seeing Solr listening on 8983 after 30 seconds!
2017-09-18 12:07:13.469 WARN  (main-SendThread(172.16.77.35:2181)) [   ] o.a.z.ClientCnxn Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-09-18 12:07:14.570 WARN  (main-SendThread(172.16.77.16:2181)) [   ] o.a.z.ClientCnxn Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-09-18 12:07:14.671 WARN  (main-SendThread(172.16.77.35:2181)) [   ] o.a.z.ClientCnxn Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-09-18 12:07:15.772 WARN  (main-SendThread(172.16.77.16:2181)) [   ] o.a.z.ClientCnxn Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-09-18 12:07:15.873 WARN  (main-SendThread(172.16.77.35:2181)) [   ] o.a.z.ClientCnxn Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) 

SnapCenter 3.0 fresh install fails

$
0
0

Trying to install SnapCenter 3.0 on fresh install of Windows 2012R2 and Win 2016 fails (see attachement)

 

Installing SnapCenter 2.0 first and then upgrade to 3.0 works fine.

 

Wanting a fresh install of SnapCenter, what can i do?

Re: SnapCenter 3.0 fresh install fails

$
0
0

I had the same issue and NetApp Support advised me to change the date, time or number format of the SnapCenter host server to English.  This solved the issue for us.


Re: SnapCenter 3.0 fresh install fails

$
0
0

Correct!

With this error you have to set the Regional Settings to English (US)

 

Re: SnapCenter with SQL - Would like a solution for TempDB failed

$
0
0

We are facing exactly the same issue. Is there a possibility to exclude tempdb from Instance Selection?

 

Re: SnapCenter 3.0 Having issue adding Altavault or NetApp

$
0
0

I'm having the same issue.  Catalog failed when job first run because it was using the wrong Storage LIF. I corrected the issue and now I get this error.  How can we re-catalog a volume when this happenS. Do we have to un-protect and re-protect?

Re: Remove Snap Centre from VSC integration procedure

Re: Remove Snap Centre from VSC integration procedure

$
0
0

HI Yaoguang,

 

Yes, I did read that post. I try follow the steps to remove file content of scbr.properties. I notice that then I go VSC create backup job seems it can show all original setup tasks under VSC. But when I go through the steps, it seems it still follow what under SnapCenter. The main difference is it skip the mail alert setting. For VSC, it has several option to select include send when error occur but no this option under SnapCenter. And this is what user what to get. He don't want to select only either all or nothing under SanpCenter. In this method, do I need to stop the SnapCenter service first? Also I can't remove the information in VSC configuration option "Configure Snapcneter Server", it still there can't be remove and once press OK, it will save and update the scbr.properties content again. 

 

For another suggestion to issue command on Snap Center, since it need end user login and I need to schedule with user and not yet confirm its effect.

 

So do I need to perform both method or either one can be enough?

 

 

 

Thanks,

KK

 

Clone_database created database with wrong name.

$
0
0

Hi All,

 

We regularly create database snapshots using SMSQL. We have recently found one strange issue with database creation. We use below command to create db clone.

 

clone-database –svr 'servername' –inst 'servername' -d 'PROD_DB' -tgInst 'SERVERNAME' -tgDb 'PROD_DB_01' -tgmpdir 'DirectoryDetails' -ForceTerminateConnection -RetainBackups 1 -trunclog $false –mgmt standard

 

 

So instead of creating database PROD_DB_01 the snap manager restored database with name PROD_DB__Clone on it's own.

 

The command mentioned above is scheduled through sql agent job to avoid any manual intervention. 

 

Can somebody help with the same to resolve the issue of wrong database creation with completely different name even when we pass the name of database through command only.

Snapdrive install as local system.

$
0
0

Does anyone know how to install snapdrive as the localsystem account? The executable run normally appears to create directories in the currentuser appdata temp folder. I want to run the install through dsc and it just hangs after supplying the arguments below.

 

Also, any idea how to execute this with powershell? 

 

SnapDrive7-1x64.exe /s /v"/qn 
SILENT_MODE=1 
/Li SDInstall.log 
LPSM_SERIALNUMBER=serialnumber 
INSTALLDIR=\"c:\Program Files\NetApp\SnapDrive\" 
SVCUSERNAME=domain\username 
SVCUSERPASSWORD=password 
SVCCONFIRMUSERPASSWORD=password
SDW_WEBSRV_TCP_PORT=808 
SDW_WEBSRV_HTTP_PORT=4098 
TRANSPORT_PRT_SELECTION=2 
TRANSPORT_PRT_PORT=80 
TRANSPORT_PROTOCOL_LOGON_USERNAME=username 
TRANSPORT_PROTOCOL_LOGON_PASSWORD=password 
ESXIPADDRESS=IPaddress 
ESXUSERNAME=username 
ESXUSERPASSWORD=password 
ESXCONFIRMUSERPASSWORD=password
ADD_WINDOWS_FIREWALL=1"

 


SnapCenter 3.0 installation MySql server down

$
0
0

Hi,

I'm new at SnapCenter and so I installed SnapCenter 3.0 on a brand new installed windows 2012 R2 Server.

Before I start, I installed Java and -as far as I know- fullfilled all system-requirements.

All SnapCenter installation steps went fine, no errors, no complains.

After SnapCenter installation was finished I followed the given link to loginto the SnapCenter Server,
put in the domain\user and password and press "sign In"

Now i got the error Message 

 

"SnapCenter repository is not accessible. The MySQL server mytestlabserver could be down. Bring up the MySQL server."

 

I'm neither a windows 2012 nor a MySql expert, can someone quide me ho to ensure that all is running fine?

If not all is fine, where can I see whats wrong? I'm not even sure to know how to stop/start the sql-server itselfe...

Re: SnapCenter 3.0 installation MySql server down

$
0
0

Check if mysql is really down or not, maybe the error you get is not "true"

 

to to that open a command prompt and run

 

mysql -u root -p

 

then insert the root password and check if you get some error here

Re: HANA 2.0 tenant database backup

$
0
0

Hi SAPDB,

 

I've the same situation...

Here's what I got told by NetApp support:

 

SAP does not support Snapcreator Snapshot Backup for HANA 2.0 SP02.

 

As far as I understand, You have to use SnapCenter 3.0 instead of snapcreator. 

 

Even SnapCenter 3.0 based HANA snapshots are only supported for HANA 2.0 SP02, MDC singletenant.

Actually there is no SAP supported way to use (at least NetApp-based) Snapshot backup on HANA 2.0 SP02 MDC multiple tenant systems.

 

 

Regards 

Spaceball

Re: SnapCenter 3.0 installation MySql server down

$
0
0

Here's the result:

c:\Program Files\MySQL\MySQL Server 5.7\bin>mysql -u root -p 

Enter password: *******

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Re: SnapCenter 3.0 installation MySql server down

$
0
0

is this a complete new installation of snapcenter and mysql or you already have mysql installed?

 

did you specify a valid mysql password during the SC installation? (please avoid special char like " in it)

check also if the myslq service is up and running

 

Viewing all 3468 articles
Browse latest View live