Cisco Cisco Prime Central 1.1 Guia Da Instalação

Página de 36
17
   
Note
You run the PrimeCentral.sh script by adding the preceding command-line parameters. If you do not add the 
command-line parameters, you are prompted for the required data.
Step 5
In another terminal window, check the installation process:
tail -f /tmp/primecentral_install.log
Step 6
After the installation succeeds, start Prime Central:
# /usr/local/bin/pc.sh start
Step 7
Verify that Prime Central is running correctly; then, stop it: 
/usr/local/bin/pc.sh stop
Step 8
Remove the virtual IP addresses:
ip addr del 192.168.1.130 dev eth0
Step 9
Unmount the shared partitions:
umount /opt/pc
Setting Up the Prime Central Cluster Service
To set up and manage a cluster, you can use the CLI or the GUI. This section explains how to use the CLI. To use the GUI, see 
the 
, sections 3 and 4.
To set up the Prime Central cluster service, complete the following steps in parallel on both nodes, except where noted:
Step 1
Modify the /etc/cluster/cluster.conf file by setting unique values for the parameters listed in 
.
Step 2
Copy the edited cluster.conf file to the /etc/cluster/ directory.
Whenever you modify the cluster.conf file, increment the config_version value so the cluster.conf file propagates 
correctly to the nodes. To propagate the cluster.conf file manually:
a.
Shut down the cluster:
rsync -av /etc/cluster/cluster.conf root@prime-ha-node2.cisco.com:/etc/cluster/
b.
Restart the cluster.
Step 3
Start the cluster services:
service cman start
# service rgmanager start
Enter each command on one node and then immediately enter the same command on the other node.
For example, when cman starts on a node, it waits for the other node to start cman. If the other node takes too long to 
start cman, cman times out on the first node.
Step 4
(For the RHCS luci GUI only) Using the username admin, start the RHCS ricci service:
service ricci start
Step 5
(For the RHCS luci GUI only) On the first node only, start the RHCS luci services:
luci_admin init
service luci start
Step 6
To test failover, relocate the service to another node:
clusvcadm -r vmpcservice -m prime-ha-node2.cisco.com