Difference between revisions of "VFoglight"

Jump to navigation Jump to search
303 bytes added ,  07:38, 25 June 2012
Removed VMware category
m (Added "Database Backup Scheduling")
(Removed VMware category)
 
(11 intermediate revisions by the same user not shown)
Line 7: Line 7:
# Add the names of the regional servers to the Federative's config file
# Add the names of the regional servers to the Federative's config file
#* Open <code> S:\Program Files\vizioncore\vFoglight\config\federation.config </code>
#* Open <code> S:\Program Files\vizioncore\vFoglight\config\federation.config </code>
#* Add to <code> JndiURLs </code> section, eg <code> "jnp://DTCP-VIRFOGV01.GMI.DTC.REUINT.COM:1099" </code>
#* Add to <code> JndiURLs </code> section, eg <code> "jnp://server.domain.com:1099" </code>
#* Restart Foglight services
#* Restart Foglight services
# Check status of new connection
# Check status of new connection
Line 40: Line 40:


== Dashboard Creation ==
== Dashboard Creation ==
This procedure assumes the VM's you want to view via a dashboard are contained within a resource group, in this instance called DTCP-S-NGTXRSP.
This procedure assumes the VM's you want to view via a dashboard are contained within a resource group, in this instance called ''WEB-SERVICE'' (based on the resource pool that the servers are contained within).


# '''Locate the resource pool...'''
#* From the left hand menu, navigate to '''Dashboards | Virtual | VMware | vmExplorer''', then find the resource pool in the Virtual Infrastructure topology.
# '''Create Dashboard...'''
# '''Create Dashboard...'''
#* From the right hand menu, on the '''General''' tab, select '''Create new dashboard'''
#* From the right hand menu, on the '''General''' tab, select '''Create new dashboard'''
#* Give the dashboard a sensible name, eg "RSP VM dashboard for NGTx team"
#* Give the dashboard a sensible name, eg "WEB-SERVICE dashboard for 2nd line team"
#* Set the Relevant Role(s) to be the intended audience groups
#* Set the Relevant Role(s) to be the intended audience groups
#* Set the Allowed Role(s) to include all groups that should be allowed to see the dashboard (always include Administrators)
#* Set the Allowed Role(s) to include all groups that should be allowed to see the dashboard (always include Administrators)
Line 53: Line 51:
#* On the '''General''' tab select 1 column
#* On the '''General''' tab select 1 column
#* On '''Data''' tab, navigate to '''Data | Virtual | VMware | Resource Pools'''
#* On '''Data''' tab, navigate to '''Data | Virtual | VMware | Resource Pools'''
#* Drag and drop the '''DTCP-S-NGTXRSP (VMWResourcePool)''' object into the central pane
#* Drag and drop the '''WEB-SERVICE (VMWResourcePool)''' object into the central pane
#* Select the '''Utilizations: Resource Pool''' view
#* Select the '''Utilizations: Resource Pool''' view
#* Add further object views as per complete table below (ie you've already done the 1st)
#* Add further object views as per complete table below (ie you've already done the 1st)
Line 61: Line 59:
! Object            !! View  
! Object            !! View  
|-
|-
| DTCP-S-NGTXRSP (VMWResourcePool)  || Utilizations: Resource Pool
| WEB-SERVICE (VMWResourcePool)  || Utilizations: Resource Pool
|-
|-
| DTCP-S-NGTXRSP (VMWResourcePool)  || Reportlet: Advanced Alarm History
| WEB-SERVICE (VMWResourcePool)  || Reportlet: Advanced Alarm History
|-
|-
| DTCP-S-NGTXRSP (VMWResourcePool)  || Alarm List with Filter (TopologyObject)
| WEB-SERVICE (VMWResourcePool)  || Alarm List with Filter (TopologyObject)
|-
|-
| Data (VMWResourcePool: DTCP-S-NGTXRSP (VMWResourcePool)/virtualMachines || vmExplorer: VMCPUdetails (used/ready)
| virtualMachines (under "WEB-SERVICE (VMWResourcePool)") || vmExplorer: VMCPUdetails (used/ready)
|-
|-
|}
|}


== Active Directory Integration ==
== Active Directory Integration ==
Line 81: Line 78:
|}
|}


# Create service account on GMI domain
# Create service account on PROD domain
#* EG for DTCP-VIRFOGV01 create <code> -sVFOGDTCP-VIRFOGV01 </code> using something like
#* EG Create account <code> svc-vFog </code> using something like
#* <code> dsadd user "cn=-sVFOGDTCP-VIRFOGV01, cn=Users, dc=gmi, dc=dtc, dc=reuint, dc=com" - pwd "password-here" -pwdneverexpires yes -disabled no </code>
#* <code> dsadd user "cn=svc-vFog, cn=Users, dc=prod, dc=domain, dc=com" - pwd "password-here" -pwdneverexpires yes -disabled no </code>
#* and make a member of the "SQL Service Accounts" group
#* and make a member of the "SQL Service Accounts" group
# Log into vFoglight (as foglight/foglight), and navigate to '''Dashboards | Users & Security | Configure Directory Services'''
# Log into vFoglight (as foglight/foglight), and navigate to '''Dashboards | Users & Security | Configure Directory Services'''
# Configure AD integration using the table below, leave all other fields as is
# Configure AD integration using the table below, leave all other fields as is
# Kick start AD integration
# Kick start AD integration
#* Log out of the vFoglight interface, then log in as a GMI domain user (ie yourself).  The login should partially succeed, and you should receive a error message like  
#* Log out of the vFoglight interface, then log in as a CORP domain user (ie yourself).  The login should partially succeed, and you should receive a error message like  
#* ''You logged in as user 123456 and do not have access to the application.''
#* ''You logged in as user 123456 and do not have access to the application.''
#* If not, check the latest ManagementServer log at <code> .\Program Files\vizioncore\vFoglight\logs\ </code> and attempt to resolve.
#* If not, check the latest ManagementServer log at <code> .\Program Files\vizioncore\vFoglight\logs\ </code> and attempt to resolve.
Line 103: Line 100:
! Field                                    !! Description                          !! Example  
! Field                                    !! Description                          !! Example  
|-
|-
| Nearest LDAP server                      || Primary Domain Controller            || <code> ldap://dtcp-gmiadsc01.gmi.dtc.reuint.com:389/ </code>
| Nearest LDAP server                      || Primary Domain Controller            || <code> ldap://dcsvr01.corp.domain.com:389/ </code>
|-
|-
| Secondary LDAP server URL                || Secondary Domain Controller          || <code> ldap://dtcp-gmiadsc02.gmi.dtc.reuint.com:389/ </code>
| Secondary LDAP server URL                || Secondary Domain Controller          || <code> ldap://dcsvr02.corp.domain.com:389/ </code>
|-
|-
| Distinguished name of the service account || vFoglight server's Service Account  || <code> CN=-sVFOGDTCP-VIRFOGV01,CN=Users,DC=gmi,DC=dtc,DC=reuint,DC=com </code>
| Distinguished name of the service account || vFoglight server's Service Account  || <code> CN=svc-vFog,CN=Users,DC=corp,DC=domain,DC=com </code>
|-
|-
| Password                                  || vFoglight Service Account password  || ''Password for -sVFOGDTCP-VIRFOGV01''
| Password                                  || vFoglight Service Account password  || ''Password for svc-vFog''
|-
|-
| LDAP query prefix                        || Query prefix for user a/c finding    || <code> CN= </code>
| LDAP query prefix                        || Query prefix for user a/c finding    || <code> CN= </code>
|-
|-
| LDAP query suffix                        || Query suffix for user a/c finding, note the leading ''','''  || <code> ,DC=gmi,DC=dtc,DC=reuint,DC=com </code>
| LDAP query suffix                        || Query suffix for user a/c finding, note the leading ''','''  || <code> ,DC=corp,DC=domain,DC=com </code>
|-
|-
| The scope(s) to search for groups        || Where to look for domain user groups || <code> DC=gmi,DC=dtc,DC=reuint,DC=com </code>
| The scope(s) to search for groups        || Where to look for domain user groups || <code> DC=corp,DC=domain,DC=com </code>
|-
|-
| The LDAP context for user searching      || Where to look for domain users      || <code> DC=gmi,DC=dtc,DC=reuint,DC=com </code>
| The LDAP context for user searching      || Where to look for domain users      || <code> DC=corp,DC=domain,DC=com </code>
|-
|-
|}
|}


== Database Backup Scheduling ==
== Database Backup Scheduling ==
Procedure to set-up backup of vFoglight MySQL database to local disk
Procedure to set-up backup of vFoglight MySQL database to local disk


<!-- COMMENTED OUT, AS DOMAIN ACCOUNTS DON'T SEEM TO WORK
# Create scheduled task account on GMI domain
# Create scheduled task account on GMI domain
#* EG for DTCP-VIRFOGV01 create <code> -jVFOGDTCP-VIRFOGV01 </code> using something like
#* EG create <code> svc-vFog </code> using something like
#* <code> dsadd user "cn=-jVFOGDTCP-VIRFOGV01, cn=Users, dc=gmi, dc=dtc, dc=reuint, dc=com" -pwd "password-here" -pwdneverexpires yes -disabled no </code>
#* <code> dsadd user "cn=svc-vFog, cn=Users, dc=gmi, dc=dtc, dc=reuint, dc=com" -pwd "password-here" -pwdneverexpires yes -disabled no </code>
#* and make a member of the "Scheduling Clients" group
#* and make a member of the "Scheduling Clients" group -->
# Create directory structure on the backup drive...
# Create directory structure on the backup drive...
#* <code> T:\backup\config </code>
#* <code> T:\backup\config </code>
#* <code> T:\backup\data </code>
#* <code> T:\backup\data </code>
# Within the config directory create two config files and one batch script; backup.conf, my.conf and DoBackup.bat; with contents as shown at bottom of procedure.
# Within the config directory create two config files and one batch script; backup.conf, my.conf and DoBackup.bat; with contents as shown at bottom of procedure.
#* As long as S: is your software/database drive, and T: is your backup drive there should be no reason to edit these files
#* As long as S: is your software/database drive, and T: is your backup drive there should be no reason to edit the conf or batch files
# From a command prompt, run the DoBackup.bat script and check that the following files are created
# From a command prompt, run the DoBackup.bat script and check that the following files are created
#* <code> T:\backup\data\ibdata1 </code>
#* <code> T:\backup\data\ibdata1 </code>
#* <code> T:\backup\data\ibbackup_logfile </code>
#* <code> T:\backup\data\ibbackup_logfile </code>
# Schedule the batch script to run at 07:00 and 19:00 hrs ''local'' time, using a command similar to (edit as suggested)...
# Schedule the batch script to run at 07:00 and 19:00 hrs ''local'' time, using a command similar to (edit as suggested)...
#* <code> schtasks /create /tn "vFoglight MySQL backup" /ru GMI\-jVFOGDTCP-VIRFOGV01 /rp Password /tr T:\backup\config\DoBackup.bat /sc hourly /mo 12 /st 07:00:00 </code>
#* <code> schtasks /create /tn "vFoglight MySQL backup" /ru <user> /rp <password> /tr T:\backup\config\DoBackup.bat /sc hourly /mo 12 /st 07:00:00 </code>
#* /ru - ''Service account username''
#* /ru - ''Service account username''
#* /rp - ''Service account password''
#* /rp - ''Service account password'' – edit as required
#* /st - ''First run start time''
#* /st - ''First run start time'' – change to be GMT representation of 7am local time
#* Note that due to the GMI lock-down policy, this command must be run as a local admin
#* Note that due to the GMI lock-down policy, this command must be run as a local admin


Line 181: Line 178:
"S:\Program Files\vizioncore\vFoglight\mysql\bin\ibbackup" T:\backup\config\my.conf T:\backup\config\backup.conf </pre>
"S:\Program Files\vizioncore\vFoglight\mysql\bin\ibbackup" T:\backup\config\my.conf T:\backup\config\backup.conf </pre>
|}
|}


= Troubleshooting =
= Troubleshooting =
Line 194: Line 190:
On the Federation vFoglight server, the problem is caused by a lack of data to the source FMS/local vFoglight server, or a problem between that server and the master Federation server.
On the Federation vFoglight server, the problem is caused by a lack of data to the source FMS/local vFoglight server, or a problem between that server and the master Federation server.


[[Category:VMware]]
== Duplicate / Unwanted vCentre ==
To remove a vCentre server instance that's not required from vFoglight...
# In the left-hand '''Dashboards''' menu
# Browse to '''Management Server | Servers | Data Management'''
# Then expand '''VMware Model | virtualCenters'''
# Locate the vCentre you want to remove, and click the '''delete''' icon
 
...if the vCentre comes back, then there's probably a vFoglight VMware agent still sending data to the server
 
[[Category:Applications]]
[[Category:Virtualisation]]

Navigation menu