2017-03-06 66 views

回答

0

假設core存在於代理的用戶,你會做這樣的:

$ cat options.json 
{ 
    "service": { 
    "user": "core" 
    } 
} 

$ dcos package install --options=options.json cassandra 
DC/OS Cassandra Service default configuration requires 3 nodes each with 1.5 CPU shares, 5376MB of memory and 11264MB of disk for running Cassandra Nodes. And, 1 node with 0.5 CPU shares, 2048MB of  memory for running the service scheduler. 
Continue installing? [yes/no] yes 
Installing Marathon app for package [cassandra] version [1.0.25-3.0.10] 
Installing CLI subcommand for package [cassandra] version [1.0.25-3.0.10] 
New command available: dcos cassandra 
DC/OS Apache Cassandra has been successfully installed! 

    Documentation: https://docs.mesosphere.com/current/usage/service-guides/cassandra/ 
    Issues: https://dcosjira.atlassian.net/projects/CASSANDRA/issues 
相關問題