4.1. Redeploy all Clusters

When making gateway-wide changes, such implementing Kerberos or SSL, or if you change the system clock, you must redeploy all the Cluster Topologies.

To redeploy all Cluster Topologies:

  1. Verify the timestamp on the currently deployed clusters.

    cd $gateway_home
    dir data\deployments
    
    Directory of C:\hdp\knox-0.4.0.2.1.1.0-1557\data\deployments
    
    04/17/2014  05:30 PM    <DIR>          .
    04/17/2014  05:30 PM    <DIR>          ..
    04/17/2014  05:30 PM    <DIR>          cluster.war.145514f4dc8
    04/17/2014  05:30 PM    <DIR>          myCluster.war.145514f4dc8
    04/11/2014  08:35 AM    <DIR>          sandbox.war.145514f4dc8
                   0 File(s)              0 bytes
                   5 Dir(s)   9,730,977,792 bytes free

  2. Redeploy all clusters.

    bin\knoxcli.cmd redeploy

  3. Verify that a new cluster WAR was created.

    cd $gateway_home
    dir data\deployments
    
     Directory of C:\hdp\knox-0.4.0.2.1.1.0-1557\data\deployments
    
    04/17/2014  05:34 PM    <DIR>          .
    04/17/2014  05:34 PM    <DIR>          ..
    04/17/2014  05:30 PM    <DIR>          cluster.war.145514f4dc8
    04/17/2014  05:34 PM    <DIR>          cluster.war.1457241b5dc
    04/17/2014  05:30 PM    <DIR>          myCluster.war.145514f4dc8
    04/17/2014  05:34 PM    <DIR>          myCluster.war.1457241b5dc
    04/11/2014  08:35 AM    <DIR>          sandbox.war.145514f4dc8
    04/17/2014  05:34 PM    <DIR>          sandbox.war.1457241b5dc
                   0 File(s)              0 bytes
                   8 Dir(s)   9,730,850,816 bytes free

    A new file for each with the current timestamp is created.


loading table of contents...