Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 1010

Re: Migration ASE CE 15.7 SP122 to SP136 gone wrong

$
0
0

First of all, thank you verry much for your help and support.  Everything I know about Sybase ASE I have learn by myself, by reading and with help from people like you.

 

Thanks Jack for you patience and for answering all my silly questions.

 

I now use RUN_files to start cluster nodes.

 

Today though, I stumble, completely out of pure luck, on a document about redeploying SCC agents.  Couldn't help myself but to try ... again!

 

So, here are all the steps I've gone through to recreate SCC Cluster Agent, and it is working.  The only thing I don't know how important it is, when I check the agent-conifg.xml file of SCC-3_2 compared to the new one, there were more options before than now but it is working.

 

1. Enable shared-disk mode

   sccinstance -enable

2. Create instances

   Server1 : sccinstance -create -server -instance Server1

   Server2 : sccinstance -create -server -instance Server2

3. Generate HASH password

   passencrypt -csi

   {SHA-256:NS1D/fhdfghwdfsdf-QiuXr5CI5y2xZb4dMcnUZvBVkJeDJxblWcZSsgHU9nc=

4. Edit /opt/sybase/SCC-3_3/conf/csi_config.xml to change uafadmin and sccadmin password

5. Start Agent on each node

   nohup ./scc.sh 2>&1 > scc-console.`hostname`.out &

6. Deploy Agents

Server1:sybase$ sybcluster

> deploy plugin agent "Server1,Server2"

Enter the name of the cluster: mycluster

Enter a username: sccadmin

Enter a password:      

Verifying the supplied agent specifications...

        1) Server1 9999 3.3.0 Linux

        2) Server2 9999 3.3.0 Linux

Enter the number corresponding to the cluster node in the above list :  [ 2 ] 1

Enter the full path to the quorum disk: /dev/sybase/sybase_ase_qa_quorum

Enter the SYBASE home directory:  [ /opt/sybase ]            

Enter the environment shell script path:  [ /opt/sybase/SYBASE.sh ]

Enter the ASE home directory:  [ /opt/sybase/ASE-15_0 ]

Will this cluster be configured using private SYBASE installations? (Y/N) :   [ N ]

Deploying the cluster management agent plugin...

Agent plugin deployed successfully.

> deploy plugin agent "Server1,Server2"

Enter the name of the cluster: mycluster

Verifying the supplied agent specifications...

        1) Server1 9999 3.3.0 Linux

        2) Server2 9999 3.3.0 Linux

Enter the number corresponding to the cluster node in the above list :  [ 2 ] 2

Enter the full path to the quorum disk: /dev/sybase/sybase_ase_qa_quorum

Enter the SYBASE home directory:  [ /opt/sybase ]

Enter the environment shell script path:  [ /opt/sybase/SYBASE.sh ]

Enter the ASE home directory:  [ /opt/sybase/ASE-15_0 ]

Will this cluster be configured using private SYBASE installations? (Y/N) :   [ N ] 

Deploying the cluster management agent plugin...

Agent plugin deployed successfully.

7. Stop agents

8. Generate ASE sa password

   /opt/sybase/SCC-3_3/bin/passencrypt

8. Edit /opt/sybase/SCC-3_3/instances/`hostname`/plugins/sybqa_grp/agent-plugin.xml

   Add

        <set-property property="ase.password" value="password" />

9. Start Agents


Viewing all articles
Browse latest Browse all 1010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>