General Administration
This section describes how to execute common administration tasks such as changing your password, stopping and starting services, generating log and report data, as well as other common system administration tasks.
Changing ShellAdmin Password
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Change ShellAdmin Password and press Enter.
|
Step 2 |
Enter the password and press Enter. |
Displaying the Status of Your Services
The Display Services option displays all executed services. The Display Services option also displays the status of any associated databases and disks.
-
Broker - An ActiveMQ JMS broker used for inter-process communication using JMS messages. All infra services use the broker to communicate between them.
-
Controller
-
Eventmgr
-
Idaccessmgr - Provides authentication service for Cisco IMC Supervisor users (local, AD imported through LDAP). When you log in through the GUI, tomcat receives the login request and queries idaccessmgr to authenticate the user.
-
Inframgr - The back-end server that proves APIs over JMS and REST. Tomcat (GUI) uses these back-end APIs.
-
Websock (VNC interface) - VNC proxy. Cisco UCS Director provides browser based VNC access to the VM console. The websock service acts as a VNC proxy to the VM console.
-
Tomcat - Hosts Cisco UCS Director GUI web app.
-
Flashpolicyd
-
Mysqld
Note |
Ensure that all of the above services are up and operating. If a service is not executed on Cisco IMC Supervisor, restart the service through the shell client. |
Procedure
From the Cisco IMC Supervisor Shell Menu, choose Display Services Status. The following list of services appears:
|
Stopping Cisco Services
You can stop all Cisco services that are part of the Cisco IMC Supervisor appliance by choosing Stop Services. You can verify that all services are stopped by choosing Display Services Status.
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Stop Services. |
Step 2 |
Press Enter.
|
Step 3 |
Press Enter to complete the procedure. |
Starting Cisco Services
You can execute all services that are part of Cisco IMC Supervisor by choosing Start Services.
After using this option, you can choose Display Services Status to verify that all services have started and are running.Note |
Services started in the background are not displayed. |
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Start Services.
|
Step 2 |
Press Enter to complete the process. |
Step 3 |
Choose Display Service Status to verify that the services are executed. |
Synchronizing the System Time
You can synchronize the system time to the hardware time as well as the NTP server by choosing Time Sync.
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Time Sync. |
Step 2 |
Press Enter.
|
Step 3 |
Press y and press Enter to synchronize to system time. |
Step 4 |
Press y and press Enter to synchronize to the NTP server. |
Step 5 |
Press Enter to complete the process. |
Pinging the Hostname and IP Address
You can ping a hostname or IP address to test your connectivity by choosing Ping Hostname/IP address.
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Ping Hostname/IP addres and press Enter. |
Step 2 |
Enter the IP address to ping and press Enter.
|
Step 3 |
Press Enter to exit out of the operation. |
Examining the Version Information
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Show Version and press Enter.
|
Step 2 |
Press Enter to complete the process. |
Configuring a Network Interface
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Configure Network Interface and press Enter.
|
Step 2 |
Choose one of the following configuration selections:
|
Step 3 |
Enter s to configure a static IP address and press Enter. Information similar to the following is displayed:
|
Step 4 |
Enter the Ethernet interface to configure (for example, eth1) and press Enter. Information similar to the following is displayed:
|
Step 5 |
Enter n to discontinue the configuration process. |
Step 6 |
Press y to return to complete the process. |
Displaying Appliance Network Details
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose option Display Network Details and press Enter.
|
Step 2 |
Press Enter to complete the process. |
Viewing Tail Inframgr Logs
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Tail Inframgr Logs and press Enter.
|
Step 2 |
To exit from the log file display, type Ctrl + C, then press Enter. |
Applying a Patch to Cisco IMC Supervisor
Choose this option to apply a patch to the appliance.
Note |
The patch file (zip file) is provided by Cisco IMC Supervisor. Before applying a patch:
|
Before you begin
-
Download the patch file.
-
Place the file in a web server or an FTP server.
-
Choose Apply Patch from the Cisco IMC Supervisor Shell menu.
-
Provide patch URL (http://WebServer/TestPkg.zip)
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Apply Patch and press Enter.
|
||
Step 2 |
If you entered y, enter the requested FTP server IP address and login data, then press Enter.
|
||
Step 3 |
If you entered n, enter the mode of transfer, and press Enter and provide the required information, as follows:
|
||
Step 4 |
If you are prompted to confirm that you want to apply the patch, enter y, then press Enter. |
||
Step 5 |
Follow the onscreen prompts to complete the process. |
What to do next
After the patch is applied, choose Stop Services and Start Services.
Note |
Refer to the Cisco IMC Supervisor Installation and Upgrade on VMware vSphere Guide for additional information on upgrading to a patch. |
Applying a Signed Patch to Cisco IMC Supervisor
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell menu, choose Apply Signed Patch and press Enter.
|
||
Step 2 |
Enter y and press Enter.
|
||
Step 3 |
If you entered Y and press Enter the backup process starts. Enter the transfer mode and press Enter.
|
||
Step 4 |
If you entered n, enter the desired patch file download protocol and press Enter and provide the required information, as follows:
|
||
Step 5 |
If you are prompted to confirm that you want to apply the patch, enter y, then press Enter.
|
Shutting Down the Appliance
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Shutdown Appliance and press the Enter key.
|
Step 2 |
Enter y to shutdown the appliance. Information similar to the following is displayed:
|
Step 3 |
Press Enter to return to the main menu. |
Rebooting the Appliance
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Reboot Appliance and press Enter.
|
Step 2 |
Enter y to reboot the appliance. Information similar to the following is displayed:
|
Step 3 |
Press Enter to return to the main menu. |
Cleaning Patch Files
Choose Clean-up Patch Files to delete patch files from the appliance.
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Clean-up Patch Files and press Enter.
|
Step 2 |
If you enter y, select a directory that you want to delete and then press Enter.
|
Step 3 |
Enter n and press Enter to go back to the main menu. |
Collecting Diagnostics
The Collect Diagnostics option generates a summary report (SummaryReport.txt) and a detail report (DiagOutput.txt) and stores these files under /opt/diagnostics.
Procedure
From the Cisco IMC Supervisor Shell Menu, choose Collect Diagnostics.
|
Enabling or Disabling Debug Logging
You can enable or disable the debug logging information by choosing Enable/Disable Debug Logging.
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Enable/Disable Debug Logging. |
Step 2 |
Press Enter.
|
Step 3 |
Press e to enable or press d to disable debug logging. |
Step 4 |
Press Enter
|
Step 5 |
Press Enter to complete the process. |
Quitting the Shell
Procedure
From the Cisco IMC Supervisor Shell Menu, choose Quit and press Enter. The client application closes. |
Resetting MySQL User Password
You can reset your MySQL admin and root password by choosing the Reset MySQL User Password option.
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Reset MySQL User Password. |
||
Step 2 |
Press Enter. |
||
Step 3 |
Enter y to confirm if you want to continue with changing the MySQL password.
|
||
Step 4 |
Press Enter. |
||
Step 5 |
Enter y to confirm if you want to change the password for MySQL admin user. |
||
Step 6 |
Press Enter. |
||
Step 7 |
Enter y to confirm if you want the system to generate a random password or n to specify a new admin password. |
||
Step 8 |
Press Enter. |
||
Step 9 |
Specify the new admin password and confirm the password again. |
||
Step 10 |
Press Enter. |
||
Step 11 |
Enter y to confirm if you want to change the password for MySQL root user. |
||
Step 12 |
Press Enter. |
||
Step 13 |
Enter y to confirm if you want the system to generate a random password or n to specify a new root password. |
||
Step 14 |
Specify the new root password and confirm the password again. |
||
Step 15 |
Press Enter to complete the procedure. |
Terminating Active GUI Sesisons
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Terminate active GUI session(s) for user and press Enter.
|
Step 2 |
Enter y and press Enter to terminate the active GUI sessions. |
Granting Client Access to MySQL Port
Choose this option to allow the external clients to access the MYSQL port.
Procedure
Step 1 |
From the Shell menu, choose the Grant/Deny client access to MySQL port 3306 option and press Enter.
|
||
Step 2 |
Enter g and press Enter.
|
||
Step 3 |
Enter the IP address and press Enter.
|
||
Step 4 |
Press Enter to return to complete the process. |
Denying Client Access to MySQL Port
Procedure
Step 1 |
From the Shell menu, choose the Grant/Deny client access to MySQL port 3306 option and press Enter.
|
Step 2 |
Enter d and press Enter.
|
Step 3 |
Enter the IP address and press Enter.
|
Step 4 |
Press Enter to return to complete the process. |
Enabling or Disabling HTTP
Procedure
Step 1 |
From the Cisco IMC Supervisor Shell Menu, choose Enable/Disable HTTP. |
Step 2 |
Press Enter.
|
Step 3 |
Press e to enable or press d to disable HTTP. |
Step 4 |
Press Enter. The Shell menu will indicate if HTTP is enabled or disabled. |
Step 5 |
Press Enter to complete the process. |